#5B0239

Closest named color: Burgundy (#610023). oklch(31.2% 0.127 350.5), rgb(91, 2, 57).

Aa

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

About this color

#5B0239 is a dark, moderately saturated red. In OKLCH its lightness is 31%, its chroma 0.127 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Burgundy (#610023), ΔE 0.042 away. White text reads best on it, at 13.88:1.

Hue familyReds
Lightnessdark (31%)
Chromamoderately saturated (0.127)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.51:1
White text13.88:1

Values

HEX#5B0239
RGBrgb(91, 2, 57)
HSLhsl(323, 96%, 18%)
OKLCHoklch(31.2% 0.127 350.5)

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 #5B0239 13.88:1 AAA Lc -102.3 Preferred for body text
Black text on #5B0239 1.51:1 Fails Lc 0.0 Not readable
#5B0239 text on white 13.88:1 AAA Lc 99.0 Preferred for body text
#5B0239 text on black 1.51: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 950.

  1. Step 50

    50

    #FFF1F7

    oklch(97.1% 0.017 349.5)

  2. Step 100

    100

    #FFE0ED

    oklch(93.6% 0.038 350.6)

  3. Step 200

    200

    #FFC6DF

    oklch(88.4% 0.072 350.6)

  4. Step 300

    300

    #FF9DCB

    oklch(80.9% 0.128 350.7)

  5. Step 400

    400

    #FF56B2

    oklch(70.7% 0.221 350.7)

  6. Step 500

    500

    #F1009E

    oklch(63.1% 0.263 350.4)

  7. Step 600

    600

    #CC0085

    oklch(55.7% 0.232 350.5)

  8. Step 700

    700

    #AC0070

    oklch(49.1% 0.205 350.2)

  9. Step 800

    800

    #8F005B

    oklch(42.8% 0.178 350.9)

  10. Step 900

    900

    #78004C

    oklch(37.7% 0.157 350.7)

  11. Step 950

    950 (this color)

    #5B0239

    oklch(31.2% 0.127 350.5)

Export this scale for Tailwind in the Tailwind colors tool

#5B0239 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)#16233A0.146
Deuteranopia (no green cones)#3032370.127
Tritanopia (no blue cones)#63001F0.050
Achromatopsia (no color)#2C2C2C0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B0239

    #5B0239

    oklch(31.2% 0.127 350.5)

  • #003B2C

    #003B2C

    oklch(31.3% 0.062 169.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B0239

    #5B0239

    oklch(31.2% 0.127 350.5)

  • #4B1057

    #4B1057

    oklch(31.1% 0.127 320.2)

  • #610013

    #610013

    oklch(31.2% 0.125 20.4)

Open the analogous palette in the generator

Split complementary

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

  • #5B0239

    #5B0239

    oklch(31.2% 0.127 350.5)

  • #0A3C00

    #0A3C00

    oklch(31.1% 0.101 140.5)

  • #00393C

    #00393C

    oklch(31.3% 0.053 200.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B0239

    #5B0239

    oklch(31.2% 0.127 350.5)

  • #333300

    #333300

    oklch(31.1% 0.068 109.8)

  • #00364A

    #00364A

    oklch(31.2% 0.062 230.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B0239

    #5B0239

    oklch(31.2% 0.127 350.5)

  • #412C00

    #412C00

    oklch(31% 0.064 80.3)

  • #003B2C

    #003B2C

    oklch(31.3% 0.062 169.7)

  • #022A70

    #022A70

    oklch(31.1% 0.129 260.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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