#5A1F1B

Closest named color: Reddy Brown (#6E1005). oklch(32.9% 0.088 26.9), rgb(90, 31, 27).

Aa

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

About this color

#5A1F1B is a dark, moderately saturated red. In OKLCH its lightness is 33%, its chroma 0.088 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Reddy Brown (#6E1005), ΔE 0.046 away. White text reads best on it, at 12.75:1.

Hue familyReds
Lightnessdark (33%)
Chromamoderately saturated (0.088)
Temperaturewarm
Nearest nameReddy Brown (#6E1005)
Black text1.64:1
White text12.75:1

Values

HEX#5A1F1B
RGBrgb(90, 31, 27)
HSLhsl(4, 54%, 23%)
OKLCHoklch(32.9% 0.088 26.9)

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

    #F6E5E3

    oklch(93.5% 0.019 25.6)

  3. Step 200

    200

    #F1D1CC

    oklch(88.6% 0.037 28.4)

  4. Step 300

    300

    #E8B1AA

    oklch(80.9% 0.065 26.9)

  5. Step 400

    400

    #DB867D

    oklch(70.7% 0.106 26.6)

  6. Step 500

    500

    #CE655C

    oklch(63% 0.135 26.6)

  7. Step 600

    600

    #BA4A42

    oklch(55.7% 0.147 26.9)

  8. Step 700

    700

    #A03A34

    oklch(49.2% 0.137 26.7)

  9. Step 800

    800

    #82312B

    oklch(42.8% 0.113 27.1)

  10. Step 900

    900 (this color)

    #5A1F1B

    oklch(32.9% 0.088 26.9)

  11. Step 950

    950

    #3E1A17

    oklch(27% 0.057 26.4)

Export this scale for Tailwind in the Tailwind colors tool

#5A1F1B 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)#2E2A1A0.093
Deuteranopia (no green cones)#3D37190.086
Tritanopia (no blue cones)#63131E0.028
Achromatopsia (no color)#3232320.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A1F1B

    #5A1F1B

    oklch(32.9% 0.088 26.9)

  • #003D44

    #003D44

    oklch(32.9% 0.057 207.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A1F1B

    #5A1F1B

    oklch(32.9% 0.088 26.9)

  • #571E36

    #571E36

    oklch(33% 0.089 356.9)

  • #532800

    #532800

    oklch(32.9% 0.08 56.4)

Open the analogous palette in the generator

Split complementary

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

  • #5A1F1B

    #5A1F1B

    oklch(32.9% 0.088 26.9)

  • #003F34

    #003F34

    oklch(32.9% 0.061 176.4)

  • #003A55

    #003A55

    oklch(33% 0.072 236.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A1F1B

    #5A1F1B

    oklch(32.9% 0.088 26.9)

  • #0B4117

    #0B4117

    oklch(33% 0.089 146.8)

  • #203262

    #203262

    oklch(33% 0.088 266.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A1F1B

    #5A1F1B

    oklch(32.9% 0.088 26.9)

  • #333A00

    #333A00

    oklch(33% 0.076 117)

  • #003D44

    #003D44

    oklch(32.9% 0.057 207.5)

  • #3A295C

    #3A295C

    oklch(32.8% 0.088 296.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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