#5A181B

Closest named color: Claret (#680018). oklch(31.9% 0.096 22), rgb(90, 24, 27).

Aa

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

About this color

#5A181B is a dark, moderately saturated red. In OKLCH its lightness is 32%, its chroma 0.096 and its hue 22°. Its hue sits on the warm side of the wheel. The nearest named color is Claret (#680018), ΔE 0.036 away. White text reads best on it, at 13.28:1.

Hue familyReds
Lightnessdark (32%)
Chromamoderately saturated (0.096)
Temperaturewarm
Nearest nameClaret (#680018)
Black text1.58:1
White text13.28:1

Values

HEX#5A181B
RGBrgb(90, 24, 27)
HSLhsl(357, 58%, 22%)
OKLCHoklch(31.9% 0.096 22)

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 #5A181B 13.28:1 AAA Lc -102.2 Preferred for body text
Black text on #5A181B 1.58:1 Fails Lc 0.0 Not readable
#5A181B text on white 13.28:1 AAA Lc 98.9 Preferred for body text
#5A181B text on black 1.58: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 950.

  1. Step 50

    50

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FFE2E0

    oklch(93.6% 0.032 22.5)

  3. Step 200

    200

    #FFCAC7

    oklch(88.5% 0.061 22.1)

  4. Step 300

    300

    #FFA4A1

    oklch(80.8% 0.109 21.8)

  5. Step 400

    400

    #FE696B

    oklch(70.8% 0.182 22.2)

  6. Step 500

    500

    #F72A43

    oklch(63.1% 0.234 22)

  7. Step 600

    600

    #D70030

    oklch(55.5% 0.224 22)

  8. Step 700

    700

    #B60027

    oklch(49% 0.197 22)

  9. Step 800

    800

    #97001F

    oklch(42.7% 0.172 21.9)

  10. Step 900

    900

    #7F0018

    oklch(37.7% 0.152 22.1)

  11. Step 950

    950 (this color)

    #5A181B

    oklch(31.9% 0.096 22)

Export this scale for Tailwind in the Tailwind colors tool

#5A181B 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)#2A271B0.104
Deuteranopia (no green cones)#3A35190.097
Tritanopia (no blue cones)#63071A0.026
Achromatopsia (no color)#3030300.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A181B

    #5A181B

    oklch(31.9% 0.096 22)

  • #003B3E

    #003B3E

    oklch(32% 0.054 200.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A181B

    #5A181B

    oklch(31.9% 0.096 22)

  • #551838

    #551838

    oklch(31.9% 0.097 351.6)

  • #522400

    #522400

    oklch(32% 0.082 52.2)

Open the analogous palette in the generator

Split complementary

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

  • #5A181B

    #5A181B

    oklch(31.9% 0.096 22)

  • #003D2F

    #003D2F

    oklch(32.1% 0.062 171.6)

  • #00384E

    #00384E

    oklch(32% 0.065 231.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A181B

    #5A181B

    oklch(31.9% 0.096 22)

  • #0C3E08

    #0C3E08

    oklch(31.9% 0.097 142)

  • #153063

    #153063

    oklch(32% 0.096 261.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A181B

    #5A181B

    oklch(31.9% 0.096 22)

  • #343600

    #343600

    oklch(32% 0.071 112.1)

  • #003B3E

    #003B3E

    oklch(32% 0.054 200.4)

  • #35265F

    #35265F

    oklch(31.9% 0.097 292.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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