#5F173D

Closest named color: Grape Purple (#5D1451). oklch(33.8% 0.111 352.3), rgb(95, 23, 61).

Aa

White text reads best on this color (12.52:1).

About this color

#5F173D is a dark, moderately saturated red. In OKLCH its lightness is 34%, its chroma 0.111 and its hue 352°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.038 away. White text reads best on it, at 12.52:1.

Hue familyReds
Lightnessdark (34%)
Chromamoderately saturated (0.111)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.67:1
White text12.52:1

Values

HEX#5F173D
RGBrgb(95, 23, 61)
HSLhsl(328, 61%, 23%)
OKLCHoklch(33.8% 0.111 352.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #5F173D 12.52:1 AAA Lc -101.1 Preferred for body text
Black text on #5F173D 1.67:1 Fails Lc 0.0 Not readable
#5F173D text on white 12.52:1 AAA Lc 97.6 Preferred for body text
#5F173D text on black 1.67:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F8E4EB

    oklch(93.7% 0.024 354.3)

  3. Step 200

    200

    #F3CDDC

    oklch(88.5% 0.047 352.4)

  4. Step 300

    300

    #ECABC6

    oklch(81% 0.083 352.5)

  5. Step 400

    400

    #DF7CA9

    oklch(70.8% 0.133 352.3)

  6. Step 500

    500

    #D35694

    oklch(63.2% 0.17 352.2)

  7. Step 600

    600

    #BE357E

    oklch(55.6% 0.185 352.2)

  8. Step 700

    700

    #A3266A

    oklch(49% 0.172 352.3)

  9. Step 800

    800

    #852257

    oklch(42.7% 0.143 352.1)

  10. Step 900

    900 (this color)

    #5F173D

    oklch(33.8% 0.111 352.3)

  11. Step 950

    950

    #3F152A

    oklch(26.9% 0.071 351.8)

Export this scale for Tailwind in the Tailwind colors tool

#5F173D with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#232B3E0.124
Deuteranopia (no green cones)#37383B0.110
Tritanopia (no blue cones)#6712270.041
Achromatopsia (no color)#3434340.112

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #5F173D

    #5F173D

    oklch(33.8% 0.111 352.3)

  • #004234

    #004234

    oklch(33.8% 0.065 172.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F173D

    #5F173D

    oklch(33.8% 0.111 352.3)

  • #511E58

    #511E58

    oklch(33.8% 0.111 322.7)

  • #65161B

    #65161B

    oklch(33.8% 0.111 22.3)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #5F173D

    #5F173D

    oklch(33.8% 0.111 352.3)

  • #054403

    #054403

    oklch(33.6% 0.11 142.3)

  • #004044

    #004044

    oklch(33.8% 0.058 201.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F173D

    #5F173D

    oklch(33.8% 0.111 352.3)

  • #383B00

    #383B00

    oklch(33.8% 0.075 112.9)

  • #003D55

    #003D55

    oklch(33.8% 0.069 232.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F173D

    #5F173D

    oklch(33.8% 0.111 352.3)

  • #493300

    #493300

    oklch(33.8% 0.07 82.1)

  • #004234

    #004234

    oklch(33.8% 0.065 172.8)

  • #153370

    #153370

    oklch(33.8% 0.112 262.4)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #5F173D, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #5F173D in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.