#5F172E

Closest named color: Burgundy (#610023). oklch(33.2% 0.105 5.7), rgb(95, 23, 46).

Aa

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

About this color

#5F172E is a dark, moderately saturated red. In OKLCH its lightness is 33%, its chroma 0.105 and its hue 6°. Its hue sits on the warm side of the wheel. The nearest named color is Burgundy (#610023), ΔE 0.029 away. White text reads best on it, at 12.73:1.

Hue familyReds
Lightnessdark (33%)
Chromamoderately saturated (0.105)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.64:1
White text12.73:1

Values

HEX#5F172E
RGBrgb(95, 23, 46)
HSLhsl(341, 61%, 23%)
OKLCHoklch(33.2% 0.105 5.7)

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 #5F172E 12.73:1 AAA Lc -101.4 Preferred for body text
Black text on #5F172E 1.64:1 Fails Lc 0.0 Not readable
#5F172E text on white 12.73:1 AAA Lc 97.9 Preferred for body text
#5F172E text on black 1.64: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

    #FCF3F4

    oklch(97.1% 0.01 9.5)

  2. Step 100

    100

    #F8E4E7

    oklch(93.6% 0.022 7.2)

  3. Step 200

    200

    #F4CED5

    oklch(88.6% 0.044 5.5)

  4. Step 300

    300

    #EDACB9

    oklch(80.9% 0.078 5.7)

  5. Step 400

    400

    #E17D95

    oklch(70.6% 0.126 5.4)

  6. Step 500

    500

    #D6587B

    oklch(63.1% 0.161 5.7)

  7. Step 600

    600

    #C13964

    oklch(55.6% 0.174 5.8)

  8. Step 700

    700

    #A62A53

    oklch(49.1% 0.162 5.7)

  9. Step 800

    800

    #872544

    oklch(42.7% 0.134 5.8)

  10. Step 900

    900 (this color)

    #5F172E

    oklch(33.2% 0.105 5.7)

  11. Step 950

    950

    #401622

    oklch(27% 0.067 4.8)

Export this scale for Tailwind in the Tailwind colors tool

#5F172E 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)#28292F0.116
Deuteranopia (no green cones)#3B382C0.107
Tritanopia (no blue cones)#680A200.028
Achromatopsia (no color)#3232320.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F172E

    #5F172E

    oklch(33.2% 0.105 5.7)

  • #00403A

    #00403A

    oklch(33.4% 0.059 184.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F172E

    #5F172E

    oklch(33.2% 0.105 5.7)

  • #551C4A

    #551C4A

    oklch(33.3% 0.104 336)

  • #601B07

    #601B07

    oklch(33.2% 0.104 36)

Open the analogous palette in the generator

Split complementary

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

  • #5F172E

    #5F172E

    oklch(33.2% 0.105 5.7)

  • #004223

    #004223

    oklch(33.3% 0.082 155.5)

  • #003D49

    #003D49

    oklch(33.2% 0.059 216)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F172E

    #5F172E

    oklch(33.2% 0.105 5.7)

  • #2B3D00

    #2B3D00

    oklch(33.2% 0.085 126)

  • #00395E

    #00395E

    oklch(33.3% 0.084 245.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F172E

    #5F172E

    oklch(33.2% 0.105 5.7)

  • #413500

    #413500

    oklch(33.2% 0.068 95)

  • #00403A

    #00403A

    oklch(33.4% 0.059 184.5)

  • #292E6B

    #292E6B

    oklch(33.4% 0.105 275.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5F172E 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.