#5F181C

Closest named color: Claret (#680018). oklch(32.9% 0.102 21.8), rgb(95, 24, 28).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (33%)
Chromamoderately saturated (0.102)
Temperaturewarm
Nearest nameClaret (#680018)
Black text1.63:1
White text12.85:1

Values

HEX#5F181C
RGBrgb(95, 24, 28)
HSLhsl(357, 60%, 23%)
OKLCHoklch(32.9% 0.102 21.8)

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 #5F181C 12.85:1 AAA Lc -101.6 Preferred for body text
Black text on #5F181C 1.63:1 Fails Lc 0.0 Not readable
#5F181C text on white 12.85:1 AAA Lc 98.1 Preferred for body text
#5F181C text on black 1.63: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

    #FCF3F2

    oklch(97.1% 0.01 25.1)

  2. Step 100

    100

    #F9E4E3

    oklch(93.5% 0.023 20.9)

  3. Step 200

    200

    #F4CFCD

    oklch(88.5% 0.042 21.6)

  4. Step 300

    300

    #EEADAB

    oklch(80.8% 0.077 20.9)

  5. Step 400

    400

    #E3807E

    oklch(70.7% 0.123 21.9)

  6. Step 500

    500

    #D85C5D

    oklch(63.2% 0.157 22.2)

  7. Step 600

    600

    #C33D44

    oklch(55.6% 0.17 21.8)

  8. Step 700

    700

    #A82D35

    oklch(49.1% 0.159 21.9)

  9. Step 800

    800

    #88272D

    oklch(42.6% 0.131 21.4)

  10. Step 900

    900 (this color)

    #5F181C

    oklch(32.9% 0.102 21.8)

  11. Step 950

    950

    #411718

    oklch(27% 0.066 21.1)

Export this scale for Tailwind in the Tailwind colors tool

#5F181C 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)#2B281C0.112
Deuteranopia (no green cones)#3D371A0.102
Tritanopia (no blue cones)#69041A0.028
Achromatopsia (no color)#3232320.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F181C

    #5F181C

    oklch(32.9% 0.102 21.8)

  • #003D41

    #003D41

    oklch(32.8% 0.056 202.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F181C

    #5F181C

    oklch(32.9% 0.102 21.8)

  • #5A193B

    #5A193B

    oklch(33% 0.102 351.9)

  • #562600

    #562600

    oklch(33% 0.085 52.1)

Open the analogous palette in the generator

Split complementary

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

  • #5F181C

    #5F181C

    oklch(32.9% 0.102 21.8)

  • #003F31

    #003F31

    oklch(32.8% 0.063 172.1)

  • #003A51

    #003A51

    oklch(32.7% 0.067 232.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F181C

    #5F181C

    oklch(32.9% 0.102 21.8)

  • #0C4106

    #0C4106

    oklch(32.9% 0.102 141.6)

  • #153269

    #153269

    oklch(33% 0.103 261.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F181C

    #5F181C

    oklch(32.9% 0.102 21.8)

  • #363800

    #363800

    oklch(32.8% 0.073 112)

  • #003D41

    #003D41

    oklch(32.8% 0.056 202.1)

  • #382864

    #382864

    oklch(33% 0.102 292.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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