#5B1F27

Closest named color: Burgundy (#610023). oklch(33.3% 0.088 15.3), rgb(91, 31, 39).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (33%)
Chromamoderately saturated (0.088)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.67:1
White text12.57:1

Values

HEX#5B1F27
RGBrgb(91, 31, 39)
HSLhsl(352, 49%, 24%)
OKLCHoklch(33.3% 0.088 15.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 #5B1F27 12.57:1 AAA Lc -101.4 Preferred for body text
Black text on #5B1F27 1.67:1 Fails Lc 0.0 Not readable
#5B1F27 text on white 12.57:1 AAA Lc 97.9 Preferred for body text
#5B1F27 text on black 1.67: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

    #FBF3F3

    oklch(97% 0.009 17.3)

  2. Step 100

    100

    #F6E5E6

    oklch(93.6% 0.019 13.4)

  3. Step 200

    200

    #F1D0D1

    oklch(88.6% 0.037 15.8)

  4. Step 300

    300

    #E8B0B3

    oklch(80.9% 0.066 15)

  5. Step 400

    400

    #DA848B

    oklch(70.6% 0.106 14.9)

  6. Step 500

    500

    #CE636E

    oklch(63.1% 0.136 15.4)

  7. Step 600

    600

    #B94756

    oklch(55.5% 0.147 15.4)

  8. Step 700

    700

    #9F3847

    oklch(49.1% 0.137 15.1)

  9. Step 800

    800

    #812F3A

    oklch(42.6% 0.113 15.3)

  10. Step 900

    900 (this color)

    #5B1F27

    oklch(33.3% 0.088 15.3)

  11. Step 950

    950

    #3D1A1D

    oklch(27% 0.055 16.1)

Export this scale for Tailwind in the Tailwind colors tool

#5B1F27 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)#2D2C270.097
Deuteranopia (no green cones)#3C38260.089
Tritanopia (no blue cones)#6415220.023
Achromatopsia (no color)#3333330.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B1F27

    #5B1F27

    oklch(33.3% 0.088 15.3)

  • #003F3F

    #003F3F

    oklch(33.3% 0.057 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B1F27

    #5B1F27

    oklch(33.3% 0.088 15.3)

  • #552040

    #552040

    oklch(33.4% 0.089 345.8)

  • #5A2406

    #5A2406

    oklch(33.4% 0.089 45.1)

Open the analogous palette in the generator

Split complementary

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

  • #5B1F27

    #5B1F27

    oklch(33.3% 0.088 15.3)

  • #00412D

    #00412D

    oklch(33.3% 0.07 165.2)

  • #003D4F

    #003D4F

    oklch(33.5% 0.063 224.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B1F27

    #5B1F27

    oklch(33.3% 0.088 15.3)

  • #204009

    #204009

    oklch(33.4% 0.089 135.4)

  • #123662

    #123662

    oklch(33.3% 0.088 255.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B1F27

    #5B1F27

    oklch(33.3% 0.088 15.3)

  • #3C3800

    #3C3800

    oklch(33.4% 0.071 105.2)

  • #003F3F

    #003F3F

    oklch(33.3% 0.057 194.8)

  • #332E61

    #332E61

    oklch(33.5% 0.087 285.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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