HSL(317, 50%, 23%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(317,50%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(317, 50%, 23%) color: hsl(317, 50%, 23%)
HEX #581D47 color: #581D47
RGB rgb(88, 29, 71) color: rgb(88, 29, 71)
CMYK cmyk(0%, 67%, 19%, 65%)
HSV hsv(317, 67%, 35%)
HWB hwb(317 12% 65%) color: hwb(317 12% 65%)
OKLCH oklch(0.3376 0.1022 340.66) color: oklch(0.3376 0.1022 340.66)
Lab lab(21.61 32.45 -12.6) color: lab(21.61 32.45 -12.6)
LCH lch(21.61 34.81 338.78) color: lch(21.61 34.81 338.78)

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 12.49:1
vs Black 1.68: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)

#3E3E3D — rgb(62, 62, 61)

Deuteranopia (Green-blind)

#42463A — rgb(66, 70, 58)

Tritanopia (Blue-blind)

#553533 — rgb(85, 53, 51)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(317, 50%, 23%);

text

color: hsl(317, 50%, 23%);

border

border: 2px solid hsl(317, 50%, 23%);

gradient light

background: linear-gradient(to right, hsl(317, 50%, 43%), hsl(317, 50%, 23%));

gradient dark

background: linear-gradient(to right, hsl(317, 50%, 23%), hsl(317, 50%, 3%))

hex

background-color: #581D47;

tailwind

bg-[hsl(317,50%,23%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(317, 50%, 23%, 0.4);

css variable

--color-primary: hsl(317, 50%, 23%);

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(317, 50%, 23%)?

HEX: #581D47 | RGB: rgb(88, 29, 71) | CMYK: 0%, 67%, 19%, 65% | HSV: 317°, 67%, 35%. Copy any format from the conversion table above.

What colors go well with #581D47?

The complementary color is HSL(137, 50%, 23%). For a triadic harmony, use hues 317°, 77°, and 197°. For analogous combinations, try hues 287° and 347°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(317, 50%, 23%) in CSS?

As HSL: color: hsl(317, 50%, 23%); — As HEX: color: #581D47; — As RGB: color: rgb(88, 29, 71); — Tailwind CSS: bg-[hsl(317,50%,23%)] — CSS variable: --color-primary: hsl(317, 50%, 23%);