#5B2228

Closest named color: Claret (#680018). oklch(33.8% 0.084 16.4), rgb(91, 34, 40).

Aa

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

About this color

#5B2228 is a dark, moderately saturated red. In OKLCH its lightness is 34%, its chroma 0.084 and its hue 16°. Its hue sits on the warm side of the wheel. The nearest named color is Claret (#680018), ΔE 0.049 away. White text reads best on it, at 12.32:1.

Hue familyReds
Lightnessdark (34%)
Chromamoderately saturated (0.084)
Temperaturewarm
Nearest nameClaret (#680018)
Black text1.70:1
White text12.32:1

Values

HEX#5B2228
RGBrgb(91, 34, 40)
HSLhsl(354, 46%, 25%)
OKLCHoklch(33.8% 0.084 16.4)

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 #5B2228 12.32:1 AAA Lc -101.1 Preferred for body text
Black text on #5B2228 1.70:1 Fails Lc 0.0 Not readable
#5B2228 text on white 12.32:1 AAA Lc 97.5 Preferred for body text
#5B2228 text on black 1.70: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

    #EFD0D1

    oklch(88.4% 0.035 15.6)

  4. Step 300

    300

    #E6B1B2

    oklch(80.9% 0.062 17.3)

  5. Step 400

    400

    #D8868B

    oklch(70.7% 0.101 16)

  6. Step 500

    500

    #CB666E

    oklch(63.1% 0.128 16.5)

  7. Step 600

    600

    #B64B56

    oklch(55.6% 0.139 16.6)

  8. Step 700

    700

    #9D3B46

    oklch(49.2% 0.131 16.6)

  9. Step 800

    800

    #7F323A

    oklch(42.7% 0.107 16.5)

  10. Step 900

    900 (this color)

    #5B2228

    oklch(33.8% 0.084 16.4)

  11. Step 950

    950

    #3C1B1D

    oklch(27% 0.052 17.3)

Export this scale for Tailwind in the Tailwind colors tool

#5B2228 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)#2F2D280.091
Deuteranopia (no green cones)#3D39270.085
Tritanopia (no blue cones)#6419240.023
Achromatopsia (no color)#3535350.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B2228

    #5B2228

    oklch(33.8% 0.084 16.4)

  • #004041

    #004041

    oklch(33.7% 0.057 196.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B2228

    #5B2228

    oklch(33.8% 0.084 16.4)

  • #552340

    #552340

    oklch(33.8% 0.084 346.6)

  • #59270A

    #59270A

    oklch(33.8% 0.083 46.8)

Open the analogous palette in the generator

Split complementary

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

  • #5B2228

    #5B2228

    oklch(33.8% 0.084 16.4)

  • #00432F

    #00432F

    oklch(33.9% 0.071 165.7)

  • #003E51

    #003E51

    oklch(33.9% 0.065 225.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B2228

    #5B2228

    oklch(33.8% 0.084 16.4)

  • #214110

    #214110

    oklch(33.9% 0.084 136.6)

  • #173762

    #173762

    oklch(33.7% 0.085 256.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B2228

    #5B2228

    oklch(33.8% 0.084 16.4)

  • #3C3900

    #3C3900

    oklch(33.7% 0.072 106.4)

  • #004041

    #004041

    oklch(33.7% 0.057 196.5)

  • #352F60

    #352F60

    oklch(33.8% 0.084 286.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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