#5E1F38

Closest named color: Burgundy (#610023). oklch(34.4% 0.096 358.8), rgb(94, 31, 56).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (34%)
Chromamoderately saturated (0.096)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.72:1
White text12.14:1

Values

HEX#5E1F38
RGBrgb(94, 31, 56)
HSLhsl(336, 50%, 25%)
OKLCHoklch(34.4% 0.096 358.8)

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 #5E1F38 12.14:1 AAA Lc -100.7 Preferred for body text
Black text on #5E1F38 1.72:1 Fails Lc 0.0 Not readable
#5E1F38 text on white 12.14:1 AAA Lc 97.1 Preferred for body text
#5E1F38 text on black 1.72: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

    #FBF3F5

    oklch(97.1% 0.009 0.1)

  2. Step 100

    100

    #F6E4E9

    oklch(93.5% 0.021 358.7)

  3. Step 200

    200

    #F1CFD8

    oklch(88.6% 0.04 0.2)

  4. Step 300

    300

    #E8AEC0

    oklch(80.9% 0.071 358.4)

  5. Step 400

    400

    #DA819F

    oklch(70.7% 0.115 358.8)

  6. Step 500

    500

    #CD5F88

    oklch(63.1% 0.146 358.6)

  7. Step 600

    600

    #B94272

    oklch(55.7% 0.16 358.7)

  8. Step 700

    700

    #9F335F

    oklch(49.2% 0.148 359)

  9. Step 800

    800

    #812B4E

    oklch(42.7% 0.123 358.5)

  10. Step 900

    900 (this color)

    #5E1F38

    oklch(34.4% 0.096 358.8)

  11. Step 950

    950

    #3D1826

    oklch(26.9% 0.061 358.1)

Export this scale for Tailwind in the Tailwind colors tool

#5E1F38 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)#2A2E390.106
Deuteranopia (no green cones)#3B3A370.096
Tritanopia (no blue cones)#6619290.029
Achromatopsia (no color)#3636360.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #5E1F38

    #5E1F38

    oklch(34.4% 0.096 358.8)

  • #004339

    #004339

    oklch(34.3% 0.063 178.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5E1F38

    #5E1F38

    oklch(34.4% 0.096 358.8)

  • #532451

    #532451

    oklch(34.5% 0.095 329)

  • #61211A

    #61211A

    oklch(34.4% 0.095 29.1)

Open the analogous palette in the generator

Split complementary

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

  • #5E1F38

    #5E1F38

    oklch(34.4% 0.096 358.8)

  • #03461A

    #03461A

    oklch(34.5% 0.096 148.7)

  • #004149

    #004149

    oklch(34.3% 0.059 208.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5E1F38

    #5E1F38

    oklch(34.4% 0.096 358.8)

  • #353E00

    #353E00

    oklch(34.3% 0.08 118.5)

  • #003D5C

    #003D5C

    oklch(34.3% 0.077 239.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5E1F38

    #5E1F38

    oklch(34.4% 0.096 358.8)

  • #483600

    #483600

    oklch(34.3% 0.07 87.9)

  • #004339

    #004339

    oklch(34.3% 0.063 178.7)

  • #25346A

    #25346A

    oklch(34.3% 0.096 269.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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