#5B2238

Closest named color: Burgundy (#610023). oklch(34.3% 0.087 358.6), rgb(91, 34, 56).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (34%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.73:1
White text12.13:1

Values

HEX#5B2238
RGBrgb(91, 34, 56)
HSLhsl(337, 46%, 25%)
OKLCHoklch(34.3% 0.087 358.6)

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 #5B2238 12.13:1 AAA Lc -100.8 Preferred for body text
Black text on #5B2238 1.73:1 Fails Lc 0.0 Not readable
#5B2238 text on white 12.13:1 AAA Lc 97.2 Preferred for body text
#5B2238 text on black 1.73: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

    #F5E5E9

    oklch(93.6% 0.018 0.4)

  3. Step 200

    200

    #EFD0D9

    oklch(88.6% 0.037 358.4)

  4. Step 300

    300

    #E5B0C0

    oklch(81% 0.065 358.8)

  5. Step 400

    400

    #D6849F

    oklch(70.7% 0.106 358.9)

  6. Step 500

    500

    #C86388

    oklch(63% 0.134 358.5)

  7. Step 600

    600

    #B34872

    oklch(55.5% 0.145 358.4)

  8. Step 700

    700

    #9A395F

    oklch(49.1% 0.135 359)

  9. Step 800

    800

    #7D304E

    oklch(42.7% 0.111 358.6)

  10. Step 900

    900 (this color)

    #5B2238

    oklch(34.3% 0.087 358.6)

  11. Step 950

    950

    #3C1A26

    oklch(27.1% 0.056 359.1)

Export this scale for Tailwind in the Tailwind colors tool

#5B2238 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)#2B2F390.097
Deuteranopia (no green cones)#3B3A370.088
Tritanopia (no blue cones)#621D2A0.026
Achromatopsia (no color)#3636360.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B2238

    #5B2238

    oklch(34.3% 0.087 358.6)

  • #004339

    #004339

    oklch(34.3% 0.063 178.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B2238

    #5B2238

    oklch(34.3% 0.087 358.6)

  • #50264F

    #50264F

    oklch(34.3% 0.087 328.1)

  • #5E231D

    #5E231D

    oklch(34.2% 0.088 28.3)

Open the analogous palette in the generator

Split complementary

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

  • #5B2238

    #5B2238

    oklch(34.3% 0.087 358.6)

  • #0D451D

    #0D451D

    oklch(34.4% 0.088 148.5)

  • #004149

    #004149

    oklch(34.3% 0.059 208.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B2238

    #5B2238

    oklch(34.3% 0.087 358.6)

  • #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.

  • #5B2238

    #5B2238

    oklch(34.3% 0.087 358.6)

  • #483600

    #483600

    oklch(34.3% 0.07 87.9)

  • #004339

    #004339

    oklch(34.3% 0.063 178.7)

  • #263566

    #263566

    oklch(34.3% 0.088 268.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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