#5A172E

Closest named color: Burgundy (#610023). oklch(32.3% 0.099 3.7), rgb(90, 23, 46).

Aa

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

About this color

#5A172E is a dark, moderately saturated red. In OKLCH its lightness is 32%, its chroma 0.099 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Burgundy (#610023), ΔE 0.030 away. White text reads best on it, at 13.15:1.

Hue familyReds
Lightnessdark (32%)
Chromamoderately saturated (0.099)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.59:1
White text13.15:1

Values

HEX#5A172E
RGBrgb(90, 23, 46)
HSLhsl(339, 59%, 22%)
OKLCHoklch(32.3% 0.099 3.7)

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 #5A172E 13.15:1 AAA Lc -102.1 Preferred for body text
Black text on #5A172E 1.59:1 Fails Lc 0.0 Not readable
#5A172E text on white 13.15:1 AAA Lc 98.7 Preferred for body text
#5A172E text on black 1.59: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

    #FFF2F4

    oklch(97.2% 0.014 6.7)

  2. Step 100

    100

    #FFE1E7

    oklch(93.6% 0.034 4.1)

  3. Step 200

    200

    #FFC8D4

    oklch(88.5% 0.064 3.9)

  4. Step 300

    300

    #FFA1B8

    oklch(80.9% 0.114 4.1)

  5. Step 400

    400

    #FB6494

    oklch(70.7% 0.188 3.5)

  6. Step 500

    500

    #F3207A

    oklch(63.1% 0.241 3.4)

  7. Step 600

    600

    #D20065

    oklch(55.6% 0.224 3.7)

  8. Step 700

    700

    #B20054

    oklch(49.2% 0.198 3.9)

  9. Step 800

    800

    #930045

    oklch(42.7% 0.172 3.5)

  10. Step 900

    900

    #7C0039

    oklch(37.8% 0.152 3.6)

  11. Step 950

    950 (this color)

    #5A172E

    oklch(32.3% 0.099 3.7)

Export this scale for Tailwind in the Tailwind colors tool

#5A172E 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)#26282F0.110
Deuteranopia (no green cones)#37352C0.102
Tritanopia (no blue cones)#620D200.027
Achromatopsia (no color)#3030300.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A172E

    #5A172E

    oklch(32.3% 0.099 3.7)

  • #003D37

    #003D37

    oklch(32.3% 0.057 184.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A172E

    #5A172E

    oklch(32.3% 0.099 3.7)

  • #501C48

    #501C48

    oklch(32.4% 0.098 334)

  • #5C1A0C

    #5C1A0C

    oklch(32.3% 0.099 33.6)

Open the analogous palette in the generator

Split complementary

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

  • #5A172E

    #5A172E

    oklch(32.3% 0.099 3.7)

  • #003F1F

    #003F1F

    oklch(32.3% 0.082 153.9)

  • #003B45

    #003B45

    oklch(32.4% 0.057 213.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A172E

    #5A172E

    oklch(32.3% 0.099 3.7)

  • #2C3A00

    #2C3A00

    oklch(32.4% 0.08 123.4)

  • #003759

    #003759

    oklch(32.4% 0.079 243.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A172E

    #5A172E

    oklch(32.3% 0.099 3.7)

  • #3F3200

    #3F3200

    oklch(32.2% 0.066 92.9)

  • #003D37

    #003D37

    oklch(32.3% 0.057 184.1)

  • #252D65

    #252D65

    oklch(32.4% 0.098 273.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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