#5B1D3B

Closest named color: Grape Purple (#5D1451). oklch(33.7% 0.097 353.6), rgb(91, 29, 59).

Aa

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

About this color

#5B1D3B is a dark, moderately saturated red. In OKLCH its lightness is 34%, its chroma 0.097 and its hue 354°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.046 away. White text reads best on it, at 12.47:1.

Hue familyReds
Lightnessdark (34%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.68:1
White text12.47:1

Values

HEX#5B1D3B
RGBrgb(91, 29, 59)
HSLhsl(331, 52%, 24%)
OKLCHoklch(33.7% 0.097 353.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 #5B1D3B 12.47:1 AAA Lc -101.2 Preferred for body text
Black text on #5B1D3B 1.68:1 Fails Lc 0.0 Not readable
#5B1D3B text on white 12.47:1 AAA Lc 97.7 Preferred for body text
#5B1D3B text on black 1.68: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

    #FBF3F6

    oklch(97.1% 0.009 352.4)

  2. Step 100

    100

    #F6E4EB

    oklch(93.5% 0.022 351.9)

  3. Step 200

    200

    #F0CFDB

    oklch(88.6% 0.04 354)

  4. Step 300

    300

    #E7AEC4

    oklch(81% 0.072 353.8)

  5. Step 400

    400

    #D981A6

    oklch(70.8% 0.117 353.8)

  6. Step 500

    500

    #CC5E90

    oklch(63.1% 0.149 353.7)

  7. Step 600

    600

    #B7417A

    oklch(55.6% 0.162 353.8)

  8. Step 700

    700

    #9D3267

    oklch(49.1% 0.151 353.6)

  9. Step 800

    800

    #802B54

    oklch(42.8% 0.125 353.8)

  10. Step 900

    900 (this color)

    #5B1D3B

    oklch(33.7% 0.097 353.6)

  11. Step 950

    950

    #3D1829

    oklch(27% 0.062 353.3)

Export this scale for Tailwind in the Tailwind colors tool

#5B1D3B 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)#272D3C0.107
Deuteranopia (no green cones)#38383A0.096
Tritanopia (no blue cones)#6219290.033
Achromatopsia (no color)#3434340.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B1D3B

    #5B1D3B

    oklch(33.7% 0.097 353.6)

  • #004234

    #004234

    oklch(33.8% 0.065 172.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B1D3B

    #5B1D3B

    oklch(33.7% 0.097 353.6)

  • #4E2253

    #4E2253

    oklch(33.6% 0.097 323.4)

  • #601D1E

    #601D1E

    oklch(33.8% 0.097 23.1)

Open the analogous palette in the generator

Split complementary

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

  • #5B1D3B

    #5B1D3B

    oklch(33.7% 0.097 353.6)

  • #0E4310

    #0E4310

    oklch(33.7% 0.097 143.5)

  • #004045

    #004045

    oklch(33.9% 0.058 203.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B1D3B

    #5B1D3B

    oklch(33.7% 0.097 353.6)

  • #373B00

    #373B00

    oklch(33.7% 0.076 114)

  • #003D56

    #003D56

    oklch(33.9% 0.07 233.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B1D3B

    #5B1D3B

    oklch(33.7% 0.097 353.6)

  • #483300

    #483300

    oklch(33.6% 0.069 83.2)

  • #004234

    #004234

    oklch(33.8% 0.065 172.8)

  • #1C3469

    #1C3469

    oklch(33.8% 0.098 263.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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