#5A1F1E

Closest named color: Claret (#680018). oklch(32.9% 0.087 24.1), rgb(90, 31, 30).

Aa

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

About this color

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

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

Values

HEX#5A1F1E
RGBrgb(90, 31, 30)
HSLhsl(1, 50%, 24%)
OKLCHoklch(32.9% 0.087 24.1)

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 #5A1F1E 12.73:1 AAA Lc -101.6 Preferred for body text
Black text on #5A1F1E 1.64:1 Fails Lc 0.0 Not readable
#5A1F1E text on white 12.73:1 AAA Lc 98.2 Preferred for body text
#5A1F1E 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

    #FBF3F2

    oklch(97% 0.009 26)

  2. Step 100

    100

    #F6E5E4

    oklch(93.5% 0.019 21.6)

  3. Step 200

    200

    #F1D0CD

    oklch(88.5% 0.037 24)

  4. Step 300

    300

    #E8B1AC

    oklch(80.9% 0.065 24.5)

  5. Step 400

    400

    #DA8680

    oklch(70.7% 0.104 24.4)

  6. Step 500

    500

    #CE6561

    oklch(63.1% 0.134 23.9)

  7. Step 600

    600

    #B94947

    oklch(55.5% 0.146 24.1)

  8. Step 700

    700

    #9F3A39

    oklch(49.1% 0.135 24)

  9. Step 800

    800

    #81312F

    oklch(42.7% 0.111 24.4)

  10. Step 900

    900 (this color)

    #5A1F1E

    oklch(32.9% 0.087 24.1)

  11. Step 950

    950

    #3D1A19

    oklch(26.9% 0.055 23.1)

Export this scale for Tailwind in the Tailwind colors tool

#5A1F1E 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)#2E2B1D0.094
Deuteranopia (no green cones)#3D371D0.085
Tritanopia (no blue cones)#63131F0.027
Achromatopsia (no color)#3232320.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A1F1E

    #5A1F1E

    oklch(32.9% 0.087 24.1)

  • #003D42

    #003D42

    oklch(32.8% 0.056 203.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A1F1E

    #5A1F1E

    oklch(32.9% 0.087 24.1)

  • #561F38

    #561F38

    oklch(33% 0.087 354.6)

  • #542700

    #542700

    oklch(32.9% 0.082 54.5)

Open the analogous palette in the generator

Split complementary

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

  • #5A1F1E

    #5A1F1E

    oklch(32.9% 0.087 24.1)

  • #003F33

    #003F33

    oklch(32.8% 0.062 174.9)

  • #003A53

    #003A53

    oklch(32.9% 0.069 234.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A1F1E

    #5A1F1E

    oklch(32.9% 0.087 24.1)

  • #124014

    #124014

    oklch(32.9% 0.088 143.9)

  • #1E3362

    #1E3362

    oklch(33.1% 0.087 264.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A1F1E

    #5A1F1E

    oklch(32.9% 0.087 24.1)

  • #353900

    #353900

    oklch(32.9% 0.074 114.1)

  • #003D42

    #003D42

    oklch(32.8% 0.056 203.9)

  • #392A5D

    #392A5D

    oklch(33% 0.088 294.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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