#5A1E21

Closest named color: Claret (#680018). oklch(32.9% 0.088 20.5), rgb(90, 30, 33).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (33%)
Chromamoderately saturated (0.088)
Temperaturewarm
Nearest nameClaret (#680018)
Black text1.64:1
White text12.78:1

Values

HEX#5A1E21
RGBrgb(90, 30, 33)
HSLhsl(357, 50%, 24%)
OKLCHoklch(32.9% 0.088 20.5)

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 #5A1E21 12.78:1 AAA Lc -101.7 Preferred for body text
Black text on #5A1E21 1.64:1 Fails Lc 0.0 Not readable
#5A1E21 text on white 12.78:1 AAA Lc 98.3 Preferred for body text
#5A1E21 text on black 1.64: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

    #F7E5E4

    oklch(93.6% 0.02 21.4)

  3. Step 200

    200

    #F1D0CF

    oklch(88.5% 0.037 19.9)

  4. Step 300

    300

    #E9B0AF

    oklch(80.9% 0.067 19.8)

  5. Step 400

    400

    #DB8584

    oklch(70.7% 0.106 20.8)

  6. Step 500

    500

    #CF6466

    oklch(63.2% 0.136 20.6)

  7. Step 600

    600

    #BA484D

    oklch(55.6% 0.147 20.7)

  8. Step 700

    700

    #A0383E

    oklch(49.1% 0.138 20.5)

  9. Step 800

    800

    #823034

    oklch(42.8% 0.113 20.4)

  10. Step 900

    900 (this color)

    #5A1E21

    oklch(32.9% 0.088 20.5)

  11. Step 950

    950

    #3E1A1B

    oklch(27.1% 0.056 19.8)

Export this scale for Tailwind in the Tailwind colors tool

#5A1E21 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)#2D2A210.095
Deuteranopia (no green cones)#3C37200.088
Tritanopia (no blue cones)#6313200.025
Achromatopsia (no color)#3232320.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A1E21

    #5A1E21

    oklch(32.9% 0.088 20.5)

  • #003D40

    #003D40

    oklch(32.7% 0.056 200.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A1E21

    #5A1E21

    oklch(32.9% 0.088 20.5)

  • #551E3B

    #551E3B

    oklch(32.8% 0.089 350.4)

  • #562500

    #562500

    oklch(32.8% 0.086 51)

Open the analogous palette in the generator

Split complementary

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

  • #5A1E21

    #5A1E21

    oklch(32.9% 0.088 20.5)

  • #003F30

    #003F30

    oklch(32.7% 0.064 170.7)

  • #003B50

    #003B50

    oklch(33% 0.065 229.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A1E21

    #5A1E21

    oklch(32.9% 0.088 20.5)

  • #173F0F

    #173F0F

    oklch(32.7% 0.088 140.5)

  • #183362

    #183362

    oklch(32.8% 0.09 260.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A1E21

    #5A1E21

    oklch(32.9% 0.088 20.5)

  • #373800

    #373800

    oklch(32.9% 0.072 110.9)

  • #003D40

    #003D40

    oklch(32.7% 0.056 200.3)

  • #362B5E

    #362B5E

    oklch(32.9% 0.087 290.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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