HSL(315, 83%, 20%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(315,83%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(315, 83%, 20%) color: hsl(315, 83%, 20%)
HEX #5D0948 color: #5D0948
RGB rgb(93, 9, 72) color: rgb(93, 9, 72)
CMYK cmyk(0%, 90%, 23%, 64%)
HSV hsv(315, 90%, 36%)
HWB hwb(315 4% 64%) color: hwb(315 4% 64%)
OKLCH oklch(0.328 0.1315 341.24) color: oklch(0.328 0.1315 341.24)
Lab lab(20.01 41.44 -15.69) color: lab(20.01 41.44 -15.69)
LCH lch(20.01 44.31 339.26) color: lch(20.01 44.31 339.26)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 13.14:1
vs Black 1.6:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#393839 — rgb(57, 56, 57)

Deuteranopia (Green-blind)

#3E4435 — rgb(62, 68, 53)

Tritanopia (Blue-blind)

#592D2A — rgb(89, 45, 42)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(315, 83%, 20%);

text

color: hsl(315, 83%, 20%);

border

border: 2px solid hsl(315, 83%, 20%);

gradient light

background: linear-gradient(to right, hsl(315, 83%, 40%), hsl(315, 83%, 20%));

gradient dark

background: linear-gradient(to right, hsl(315, 83%, 20%), hsl(315, 83%, 0%))

hex

background-color: #5D0948;

tailwind

bg-[hsl(315,83%,20%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(315, 83%, 20%, 0.4);

css variable

--color-primary: hsl(315, 83%, 20%);

Related Colors

Use Cases for Pink

Beauty & cosmetics Fashion brands Romantic themes Valentine campaigns Playful UI

Frequently Asked Questions

What are all the color codes for HSL(315, 83%, 20%)?

HEX: #5D0948 | RGB: rgb(93, 9, 72) | CMYK: 0%, 90%, 23%, 64% | HSV: 315°, 90%, 36%. Copy any format from the conversion table above.

What colors go well with #5D0948?

The complementary color is HSL(135, 83%, 20%). For a triadic harmony, use hues 315°, 75°, and 195°. For analogous combinations, try hues 285° and 345°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(315, 83%, 20%) in CSS?

As HSL: color: hsl(315, 83%, 20%); — As HEX: color: #5D0948; — As RGB: color: rgb(93, 9, 72); — Tailwind CSS: bg-[hsl(315,83%,20%)] — CSS variable: --color-primary: hsl(315, 83%, 20%);