#5F1938

Closest named color: Burgundy (#610023). oklch(33.8% 0.106 357.2), rgb(95, 25, 56).

Aa

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

About this color

#5F1938 is a dark, moderately saturated red. In OKLCH its lightness is 34%, its chroma 0.106 and its hue 357°. Its hue sits on the warm side of the wheel. The nearest named color is Burgundy (#610023), ΔE 0.040 away. White text reads best on it, at 12.47:1.

Hue familyReds
Lightnessdark (34%)
Chromamoderately saturated (0.106)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.68:1
White text12.47:1

Values

HEX#5F1938
RGBrgb(95, 25, 56)
HSLhsl(333, 58%, 24%)
OKLCHoklch(33.8% 0.106 357.2)

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 #5F1938 12.47:1 AAA Lc -101.1 Preferred for body text
Black text on #5F1938 1.68:1 Fails Lc 0.0 Not readable
#5F1938 text on white 12.47:1 AAA Lc 97.5 Preferred for body text
#5F1938 text on black 1.68: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

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F8E4EA

    oklch(93.7% 0.023 357.4)

  3. Step 200

    200

    #F3CED9

    oklch(88.6% 0.044 358.2)

  4. Step 300

    300

    #EBACC1

    oklch(80.9% 0.078 357.2)

  5. Step 400

    400

    #DF7DA1

    oklch(70.7% 0.127 357.4)

  6. Step 500

    500

    #D3588A

    oklch(63.1% 0.163 357.4)

  7. Step 600

    600

    #BE3974

    oklch(55.6% 0.176 357.4)

  8. Step 700

    700

    #A32A62

    oklch(49.1% 0.164 356.9)

  9. Step 800

    800

    #852550

    oklch(42.8% 0.136 357.1)

  10. Step 900

    900 (this color)

    #5F1938

    oklch(33.8% 0.106 357.2)

  11. Step 950

    950

    #3F1627

    oklch(27% 0.068 356.6)

Export this scale for Tailwind in the Tailwind colors tool

#5F1938 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)#262C390.118
Deuteranopia (no green cones)#3939360.108
Tritanopia (no blue cones)#6712260.033
Achromatopsia (no color)#3434340.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F1938

    #5F1938

    oklch(33.8% 0.106 357.2)

  • #004237

    #004237

    oklch(33.9% 0.063 177)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F1938

    #5F1938

    oklch(33.8% 0.106 357.2)

  • #531F53

    #531F53

    oklch(33.9% 0.106 327.6)

  • #631A16

    #631A16

    oklch(33.8% 0.106 27.4)

Open the analogous palette in the generator

Split complementary

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

  • #5F1938

    #5F1938

    oklch(33.8% 0.106 357.2)

  • #004414

    #004414

    oklch(33.7% 0.1 147.2)

  • #004047

    #004047

    oklch(34% 0.058 207)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F1938

    #5F1938

    oklch(33.8% 0.106 357.2)

  • #353C00

    #353C00

    oklch(33.8% 0.078 116.9)

  • #003C59

    #003C59

    oklch(33.8% 0.075 237.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F1938

    #5F1938

    oklch(33.8% 0.106 357.2)

  • #473500

    #473500

    oklch(34% 0.069 87.5)

  • #004237

    #004237

    oklch(33.9% 0.063 177)

  • #1F326D

    #1F326D

    oklch(33.8% 0.105 267.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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