#5B172B

Closest named color: Burgundy (#610023). oklch(32.4% 0.1 7), rgb(91, 23, 43).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (32%)
Chromamoderately saturated (0.100)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.60:1
White text13.10:1

Values

HEX#5B172B
RGBrgb(91, 23, 43)
HSLhsl(342, 60%, 22%)
OKLCHoklch(32.4% 0.1 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 #5B172B 13.10:1 AAA Lc -102.0 Preferred for body text
Black text on #5B172B 1.60:1 Fails Lc 0.0 Not readable
#5B172B text on white 13.10:1 AAA Lc 98.6 Preferred for body text
#5B172B text on black 1.60: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

    #FCF3F4

    oklch(97.1% 0.01 9.5)

  2. Step 100

    100

    #F8E4E7

    oklch(93.6% 0.022 7.2)

  3. Step 200

    200

    #F3CED4

    oklch(88.4% 0.042 7)

  4. Step 300

    300

    #ECADB8

    oklch(80.9% 0.075 7.3)

  5. Step 400

    400

    #DF7F94

    oklch(70.6% 0.12 6.6)

  6. Step 500

    500

    #D35C79

    oklch(63.1% 0.152 7.3)

  7. Step 600

    600

    #BE3D62

    oklch(55.5% 0.166 7)

  8. Step 700

    700

    #A42E52

    oklch(49.1% 0.155 6.7)

  9. Step 800

    800

    #852843

    oklch(42.7% 0.128 6.8)

  10. Step 900

    900 (this color)

    #5B172B

    oklch(32.4% 0.1 7)

  11. Step 950

    950

    #3F1721

    oklch(26.9% 0.063 6.7)

Export this scale for Tailwind in the Tailwind colors tool

#5B172B 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)#27282B0.111
Deuteranopia (no green cones)#3935290.100
Tritanopia (no blue cones)#640B1F0.027
Achromatopsia (no color)#3030300.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B172B

    #5B172B

    oklch(32.4% 0.1 7)

  • #003D39

    #003D39

    oklch(32.4% 0.056 187.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B172B

    #5B172B

    oklch(32.4% 0.1 7)

  • #521B46

    #521B46

    oklch(32.4% 0.1 337.2)

  • #5C1B06

    #5C1B06

    oklch(32.4% 0.1 37.2)

Open the analogous palette in the generator

Split complementary

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

  • #5B172B

    #5B172B

    oklch(32.4% 0.1 7)

  • #003F23

    #003F23

    oklch(32.4% 0.077 156.9)

  • #003B47

    #003B47

    oklch(32.5% 0.058 216.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B172B

    #5B172B

    oklch(32.4% 0.1 7)

  • #283B00

    #283B00

    oklch(32.4% 0.084 127.1)

  • #00365C

    #00365C

    oklch(32.4% 0.085 246.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B172B

    #5B172B

    oklch(32.4% 0.1 7)

  • #3E3300

    #3E3300

    oklch(32.3% 0.067 95.8)

  • #003D39

    #003D39

    oklch(32.4% 0.056 187.6)

  • #292C65

    #292C65

    oklch(32.5% 0.099 277.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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