#5A271E

Closest named color: Reddy Brown (#6E1005). oklch(34.2% 0.077 31.6), rgb(90, 39, 30).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (34%)
Chromamoderately saturated (0.077)
Temperaturewarm
Nearest nameReddy Brown (#6E1005)
Black text1.74:1
White text12.04:1

Values

HEX#5A271E
RGBrgb(90, 39, 30)
HSLhsl(9, 50%, 24%)
OKLCHoklch(34.2% 0.077 31.6)

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 #5A271E 12.04:1 AAA Lc -100.7 Preferred for body text
Black text on #5A271E 1.74:1 Fails Lc 0.0 Not readable
#5A271E text on white 12.04:1 AAA Lc 97.1 Preferred for body text
#5A271E text on black 1.74: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

    #FBF4F2

    oklch(97.2% 0.008 36.6)

  2. Step 100

    100

    #F5E6E3

    oklch(93.6% 0.017 31.1)

  3. Step 200

    200

    #EED2CC

    oklch(88.5% 0.033 32.1)

  4. Step 300

    300

    #E4B3AA

    oklch(80.9% 0.059 30.4)

  5. Step 400

    400

    #D48B7C

    oklch(70.7% 0.093 32.2)

  6. Step 500

    500

    #C76C5B

    oklch(63.1% 0.119 31.7)

  7. Step 600

    600

    #B25241

    oklch(55.6% 0.129 31.7)

  8. Step 700

    700

    #994233

    oklch(49.1% 0.12 31.6)

  9. Step 800

    800

    #7C372B

    oklch(42.7% 0.099 31.6)

  10. Step 900

    900 (this color)

    #5A271E

    oklch(34.2% 0.077 31.6)

  11. Step 950

    950

    #3B1D17

    oklch(27.1% 0.049 32.3)

Export this scale for Tailwind in the Tailwind colors tool

#5A271E 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)#342F1D0.078
Deuteranopia (no green cones)#403A1D0.073
Tritanopia (no blue cones)#631E250.030
Achromatopsia (no color)#3636360.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A271E

    #5A271E

    oklch(34.2% 0.077 31.6)

  • #00404A

    #00404A

    oklch(34.1% 0.059 212)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A271E

    #5A271E

    oklch(34.2% 0.077 31.6)

  • #582536

    #582536

    oklch(34.2% 0.078 1)

  • #542E02

    #542E02

    oklch(34.3% 0.077 62.5)

Open the analogous palette in the generator

Split complementary

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

  • #5A271E

    #5A271E

    oklch(34.2% 0.077 31.6)

  • #00433B

    #00433B

    oklch(34.3% 0.062 181.7)

  • #053C5D

    #053C5D

    oklch(34.2% 0.078 242.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A271E

    #5A271E

    oklch(34.2% 0.077 31.6)

  • #114423

    #114423

    oklch(34.4% 0.078 151.4)

  • #2A3560

    #2A3560

    oklch(34.2% 0.077 271.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A271E

    #5A271E

    oklch(34.2% 0.077 31.6)

  • #323E06

    #323E06

    oklch(34.1% 0.077 121.6)

  • #00404A

    #00404A

    oklch(34.1% 0.059 212)

  • #402E5A

    #402E5A

    oklch(34.3% 0.077 301.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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