#5A2138

Closest named color: Burgundy (#610023). oklch(34% 0.088 357.6), rgb(90, 33, 56).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (34%)
Chromamoderately saturated (0.088)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.70:1
White text12.28:1

Values

HEX#5A2138
RGBrgb(90, 33, 56)
HSLhsl(336, 46%, 24%)
OKLCHoklch(34% 0.088 357.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 #5A2138 12.28:1 AAA Lc -101.0 Preferred for body text
Black text on #5A2138 1.70:1 Fails Lc 0.0 Not readable
#5A2138 text on white 12.28:1 AAA Lc 97.5 Preferred for body text
#5A2138 text on black 1.70: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

    #F5E5EA

    oklch(93.6% 0.019 356.4)

  3. Step 200

    200

    #EFD0D9

    oklch(88.6% 0.037 358.4)

  4. Step 300

    300

    #E5AFC1

    oklch(80.8% 0.067 356.9)

  5. Step 400

    400

    #D684A1

    oklch(70.7% 0.106 357.4)

  6. Step 500

    500

    #C8638A

    oklch(63.1% 0.135 357.3)

  7. Step 600

    600

    #B34873

    oklch(55.6% 0.146 357.9)

  8. Step 700

    700

    #9A3861

    oklch(49.1% 0.137 357.4)

  9. Step 800

    800

    #7D304F

    oklch(42.7% 0.112 357.8)

  10. Step 900

    900 (this color)

    #5A2138

    oklch(34% 0.088 357.6)

  11. Step 950

    950

    #3B1A26

    oklch(27% 0.054 358.3)

Export this scale for Tailwind in the Tailwind colors tool

#5A2138 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.097
Deuteranopia (no green cones)#3A39370.088
Tritanopia (no blue cones)#611D2A0.027
Achromatopsia (no color)#3535350.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A2138

    #5A2138

    oklch(34% 0.088 357.6)

  • #004238

    #004238

    oklch(33.9% 0.062 178.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A2138

    #5A2138

    oklch(34% 0.088 357.6)

  • #4F254F

    #4F254F

    oklch(34% 0.088 327.3)

  • #5D221D

    #5D221D

    oklch(33.9% 0.088 27.5)

Open the analogous palette in the generator

Split complementary

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

  • #5A2138

    #5A2138

    oklch(34% 0.088 357.6)

  • #0E441B

    #0E441B

    oklch(34.1% 0.088 147.5)

  • #004047

    #004047

    oklch(34% 0.058 207)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A2138

    #5A2138

    oklch(34% 0.088 357.6)

  • #353D00

    #353D00

    oklch(34.1% 0.079 117.7)

  • #003D5A

    #003D5A

    oklch(34.1% 0.075 237.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A2138

    #5A2138

    oklch(34% 0.088 357.6)

  • #473500

    #473500

    oklch(34% 0.069 87.5)

  • #004238

    #004238

    oklch(33.9% 0.062 178.5)

  • #243465

    #243465

    oklch(33.9% 0.088 267.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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