#5A1F23

Closest named color: Claret (#680018). oklch(33.1% 0.087 19.2), rgb(90, 31, 35).

Aa

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

About this color

#5A1F23 is a dark, moderately saturated red. In OKLCH its lightness is 33%, its chroma 0.087 and its hue 19°. 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.68:1.

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

Values

HEX#5A1F23
RGBrgb(90, 31, 35)
HSLhsl(356, 49%, 24%)
OKLCHoklch(33.1% 0.087 19.2)

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

    #F6E5E5

    oklch(93.5% 0.019 17.5)

  3. Step 200

    200

    #F0D0D0

    oklch(88.4% 0.036 17.9)

  4. Step 300

    300

    #E8B0B0

    oklch(80.9% 0.066 18.6)

  5. Step 400

    400

    #DA8586

    oklch(70.6% 0.105 19.3)

  6. Step 500

    500

    #CD6469

    oklch(63% 0.133 18.7)

  7. Step 600

    600

    #B94950

    oklch(55.7% 0.145 19.4)

  8. Step 700

    700

    #9F3941

    oklch(49.1% 0.135 19.1)

  9. Step 800

    800

    #813036

    oklch(42.7% 0.112 18.8)

  10. Step 900

    900 (this color)

    #5A1F23

    oklch(33.1% 0.087 19.2)

  11. Step 950

    950

    #3D1A1B

    oklch(26.9% 0.055 19.7)

Export this scale for Tailwind in the Tailwind colors tool

#5A1F23 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)#2D2B230.095
Deuteranopia (no green cones)#3C37220.086
Tritanopia (no blue cones)#6314210.025
Achromatopsia (no color)#3333330.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A1F23

    #5A1F23

    oklch(33.1% 0.087 19.2)

  • #003E40

    #003E40

    oklch(33% 0.056 198.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A1F23

    #5A1F23

    oklch(33.1% 0.087 19.2)

  • #55203C

    #55203C

    oklch(33.2% 0.086 350)

  • #572501

    #572501

    oklch(33% 0.086 50)

Open the analogous palette in the generator

Split complementary

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

  • #5A1F23

    #5A1F23

    oklch(33.1% 0.087 19.2)

  • #004030

    #004030

    oklch(33% 0.066 169.7)

  • #003B50

    #003B50

    oklch(33% 0.065 229.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A1F23

    #5A1F23

    oklch(33.1% 0.087 19.2)

  • #1B400F

    #1B400F

    oklch(33.2% 0.087 139)

  • #183461

    #183461

    oklch(33% 0.087 259.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A1F23

    #5A1F23

    oklch(33.1% 0.087 19.2)

  • #393800

    #393800

    oklch(33.1% 0.072 108.6)

  • #003E40

    #003E40

    oklch(33% 0.056 198.4)

  • #352C5F

    #352C5F

    oklch(33.1% 0.087 288.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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