#5A172D

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

Aa

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

About this color

#5A172D is a dark, moderately saturated red. In OKLCH its lightness is 32%, its chroma 0.099 and its hue 5°. 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.16:1.

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

Values

HEX#5A172D
RGBrgb(90, 23, 45)
HSLhsl(340, 59%, 22%)
OKLCHoklch(32.3% 0.099 4.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 #5A172D 13.16:1 AAA Lc -102.1 Preferred for body text
Black text on #5A172D 1.59:1 Fails Lc 0.0 Not readable
#5A172D text on white 13.16:1 AAA Lc 98.7 Preferred for body text
#5A172D 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

    #FFA1B7

    oklch(80.9% 0.114 4.7)

  5. Step 400

    400

    #FB6492

    oklch(70.6% 0.188 4.3)

  6. Step 500

    500

    #F42177

    oklch(63.2% 0.24 4.7)

  7. Step 600

    600

    #D20063

    oklch(55.6% 0.224 4.4)

  8. Step 700

    700

    #B20052

    oklch(49.1% 0.197 4.8)

  9. Step 800

    800

    #930043

    oklch(42.7% 0.172 4.5)

  10. Step 900

    900

    #7C0037

    oklch(37.7% 0.152 4.8)

  11. Step 950

    950 (this color)

    #5A172D

    oklch(32.3% 0.099 4.6)

Export this scale for Tailwind in the Tailwind colors tool

#5A172D 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)#26282E0.110
Deuteranopia (no green cones)#38352B0.100
Tritanopia (no blue cones)#620C200.026
Achromatopsia (no color)#3030300.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A172D

    #5A172D

    oklch(32.3% 0.099 4.6)

  • #003D37

    #003D37

    oklch(32.3% 0.057 184.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A172D

    #5A172D

    oklch(32.3% 0.099 4.6)

  • #501B47

    #501B47

    oklch(32.2% 0.099 334.8)

  • #5C1A0A

    #5C1A0A

    oklch(32.3% 0.1 34.6)

Open the analogous palette in the generator

Split complementary

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

  • #5A172D

    #5A172D

    oklch(32.3% 0.099 4.6)

  • #003F20

    #003F20

    oklch(32.3% 0.08 154.6)

  • #003B45

    #003B45

    oklch(32.4% 0.057 213.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A172D

    #5A172D

    oklch(32.3% 0.099 4.6)

  • #2A3A00

    #2A3A00

    oklch(32.2% 0.081 125)

  • #003659

    #003659

    oklch(32.1% 0.081 244.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A172D

    #5A172D

    oklch(32.3% 0.099 4.6)

  • #3E3300

    #3E3300

    oklch(32.3% 0.067 95.8)

  • #003D37

    #003D37

    oklch(32.3% 0.057 184.1)

  • #262C65

    #262C65

    oklch(32.2% 0.099 274.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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