#5A1B38

Closest named color: Burgundy (#610023). oklch(33.2% 0.098 355.3), rgb(90, 27, 56).

Aa

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

About this color

#5A1B38 is a dark, moderately saturated red. In OKLCH its lightness is 33%, its chroma 0.098 and its hue 355°. Its hue sits on the warm side of the wheel. The nearest named color is Burgundy (#610023), ΔE 0.043 away. White text reads best on it, at 12.73:1.

Hue familyReds
Lightnessdark (33%)
Chromamoderately saturated (0.098)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.64:1
White text12.73:1

Values

HEX#5A1B38
RGBrgb(90, 27, 56)
HSLhsl(332, 54%, 23%)
OKLCHoklch(33.2% 0.098 355.3)

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 #5A1B38 12.73:1 AAA Lc -101.6 Preferred for body text
Black text on #5A1B38 1.64:1 Fails Lc 0.0 Not readable
#5A1B38 text on white 12.73:1 AAA Lc 98.1 Preferred for body text
#5A1B38 text on black 1.64: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

    #FBF3F6

    oklch(97.1% 0.009 352.4)

  2. Step 100

    100

    #F6E4EA

    oklch(93.5% 0.021 355.2)

  3. Step 200

    200

    #F0CFDA

    oklch(88.5% 0.04 355.8)

  4. Step 300

    300

    #E8ADC3

    oklch(80.8% 0.074 354.7)

  5. Step 400

    400

    #DA81A4

    oklch(70.8% 0.117 355.4)

  6. Step 500

    500

    #CD5E8D

    oklch(63.1% 0.149 355.6)

  7. Step 600

    600

    #B84177

    oklch(55.6% 0.162 355.6)

  8. Step 700

    700

    #9E3264

    oklch(49.1% 0.15 355.6)

  9. Step 800

    800

    #802A52

    oklch(42.6% 0.125 355)

  10. Step 900

    900 (this color)

    #5A1B38

    oklch(33.2% 0.098 355.3)

  11. Step 950

    950

    #3D1828

    oklch(27% 0.062 354.9)

Export this scale for Tailwind in the Tailwind colors tool

#5A1B38 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)#262B390.108
Deuteranopia (no green cones)#3737370.098
Tritanopia (no blue cones)#6116270.031
Achromatopsia (no color)#3232320.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A1B38

    #5A1B38

    oklch(33.2% 0.098 355.3)

  • #004034

    #004034

    oklch(33.2% 0.062 175.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A1B38

    #5A1B38

    oklch(33.2% 0.098 355.3)

  • #4E2051

    #4E2051

    oklch(33.1% 0.099 325.1)

  • #5E1C1A

    #5E1C1A

    oklch(33.2% 0.097 25.6)

Open the analogous palette in the generator

Split complementary

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

  • #5A1B38

    #5A1B38

    oklch(33.2% 0.098 355.3)

  • #064211

    #064211

    oklch(33.1% 0.098 145.4)

  • #003E44

    #003E44

    oklch(33.2% 0.057 205.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A1B38

    #5A1B38

    oklch(33.2% 0.098 355.3)

  • #353A00

    #353A00

    oklch(33.2% 0.075 115)

  • #003B55

    #003B55

    oklch(33.3% 0.071 235.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A1B38

    #5A1B38

    oklch(33.2% 0.098 355.3)

  • #463200

    #463200

    oklch(33.1% 0.068 84.1)

  • #004034

    #004034

    oklch(33.2% 0.062 175.1)

  • #1D3267

    #1D3267

    oklch(33.2% 0.097 265.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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