#5B172F

Closest named color: Burgundy (#610023). oklch(32.5% 0.101 3.1), rgb(91, 23, 47).

Aa

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

About this color

#5B172F is a dark, moderately saturated red. In OKLCH its lightness is 33%, its chroma 0.101 and its hue 3°. 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.05:1.

Hue familyReds
Lightnessdark (33%)
Chromamoderately saturated (0.101)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.60:1
White text13.05:1

Values

HEX#5B172F
RGBrgb(91, 23, 47)
HSLhsl(339, 60%, 22%)
OKLCHoklch(32.5% 0.101 3.1)

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 #5B172F 13.05:1 AAA Lc -101.9 Preferred for body text
Black text on #5B172F 1.60:1 Fails Lc 0.0 Not readable
#5B172F text on white 13.05:1 AAA Lc 98.5 Preferred for body text
#5B172F 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

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F8E4E8

    oklch(93.6% 0.022 3.8)

  3. Step 200

    200

    #F3CED6

    oklch(88.5% 0.043 3.4)

  4. Step 300

    300

    #EBADBC

    oklch(80.9% 0.075 2.9)

  5. Step 400

    400

    #DE7F99

    oklch(70.7% 0.12 3.1)

  6. Step 500

    500

    #D25B80

    oklch(63% 0.154 3.1)

  7. Step 600

    600

    #BE3D69

    oklch(55.7% 0.168 3.5)

  8. Step 700

    700

    #A32E58

    oklch(49.1% 0.156 3.1)

  9. Step 800

    800

    #852848

    oklch(42.8% 0.129 3.3)

  10. Step 900

    900 (this color)

    #5B172F

    oklch(32.5% 0.101 3.1)

  11. Step 950

    950

    #3F1723

    oklch(27% 0.064 3.5)

Export this scale for Tailwind in the Tailwind colors tool

#5B172F 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)#2628300.112
Deuteranopia (no green cones)#38362D0.103
Tritanopia (no blue cones)#630D210.027
Achromatopsia (no color)#3131310.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B172F

    #5B172F

    oklch(32.5% 0.101 3.1)

  • #003E37

    #003E37

    oklch(32.7% 0.058 182.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B172F

    #5B172F

    oklch(32.5% 0.101 3.1)

  • #511C4A

    #511C4A

    oklch(32.6% 0.101 333.1)

  • #5D1A0C

    #5D1A0C

    oklch(32.5% 0.101 33.5)

Open the analogous palette in the generator

Split complementary

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

  • #5B172F

    #5B172F

    oklch(32.5% 0.101 3.1)

  • #00401E

    #00401E

    oklch(32.6% 0.084 152.9)

  • #003B46

    #003B46

    oklch(32.4% 0.057 214.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B172F

    #5B172F

    oklch(32.5% 0.101 3.1)

  • #2D3A00

    #2D3A00

    oklch(32.5% 0.079 122.5)

  • #003759

    #003759

    oklch(32.4% 0.079 243.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B172F

    #5B172F

    oklch(32.5% 0.101 3.1)

  • #403300

    #403300

    oklch(32.6% 0.067 93.2)

  • #003E37

    #003E37

    oklch(32.7% 0.058 182.5)

  • #252D67

    #252D67

    oklch(32.5% 0.101 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 #5B172F, closest first.

Similar named colors

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

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