#5A1B33

Closest named color: Burgundy (#610023). oklch(33% 0.095 0.3), rgb(90, 27, 51).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (33%)
Chromamoderately saturated (0.095)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.63:1
White text12.81:1

Values

HEX#5A1B33
RGBrgb(90, 27, 51)
HSLhsl(337, 54%, 23%)
OKLCHoklch(33% 0.095 0.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 #5A1B33 12.81:1 AAA Lc -101.7 Preferred for body text
Black text on #5A1B33 1.63:1 Fails Lc 0.0 Not readable
#5A1B33 text on white 12.81:1 AAA Lc 98.3 Preferred for body text
#5A1B33 text on black 1.63: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

    #F7E4E9

    oklch(93.5% 0.022 359.7)

  3. Step 200

    200

    #F1CFD8

    oklch(88.6% 0.04 0.2)

  4. Step 300

    300

    #E8AEBE

    oklch(80.9% 0.071 0.6)

  5. Step 400

    400

    #DB819D

    oklch(70.7% 0.115 0.5)

  6. Step 500

    500

    #CE5F85

    oklch(63.2% 0.146 0.6)

  7. Step 600

    600

    #B9426F

    oklch(55.6% 0.158 0.3)

  8. Step 700

    700

    #9F335D

    oklch(49.1% 0.147 0.2)

  9. Step 800

    800

    #812B4C

    oklch(42.6% 0.122 0)

  10. Step 900

    900 (this color)

    #5A1B33

    oklch(33% 0.095 0.3)

  11. Step 950

    950

    #3D1825

    oklch(26.9% 0.06 359.8)

Export this scale for Tailwind in the Tailwind colors tool

#5A1B33 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)#272A340.106
Deuteranopia (no green cones)#3837320.097
Tritanopia (no blue cones)#6214250.028
Achromatopsia (no color)#3232320.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A1B33

    #5A1B33

    oklch(33% 0.095 0.3)

  • #003F37

    #003F37

    oklch(33% 0.059 181.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A1B33

    #5A1B33

    oklch(33% 0.095 0.3)

  • #4F1F4C

    #4F1F4C

    oklch(32.9% 0.096 329.9)

  • #5D1D15

    #5D1D15

    oklch(33% 0.095 30.1)

Open the analogous palette in the generator

Split complementary

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

  • #5A1B33

    #5A1B33

    oklch(33% 0.095 0.3)

  • #00421A

    #00421A

    oklch(33.1% 0.091 150)

  • #003D46

    #003D46

    oklch(33% 0.057 211)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A1B33

    #5A1B33

    oklch(33% 0.095 0.3)

  • #303B00

    #303B00

    oklch(33% 0.079 120.6)

  • #003958

    #003958

    oklch(32.9% 0.076 240.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A1B33

    #5A1B33

    oklch(33% 0.095 0.3)

  • #433300

    #433300

    oklch(33% 0.067 89.4)

  • #003F37

    #003F37

    oklch(33% 0.059 181.1)

  • #233066

    #233066

    oklch(33% 0.096 270.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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