#5A2827

Closest named color: Reddy Brown (#6E1005). oklch(34.6% 0.074 22.8), rgb(90, 40, 39).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (35%)
Chromamoderately saturated (0.074)
Temperaturewarm
Nearest nameReddy Brown (#6E1005)
Black text1.76:1
White text11.88:1

Values

HEX#5A2827
RGBrgb(90, 40, 39)
HSLhsl(1, 40%, 25%)
OKLCHoklch(34.6% 0.074 22.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 #5A2827 11.88:1 AAA Lc -100.5 Preferred for body text
Black text on #5A2827 1.76:1 Fails Lc 0.0 Not readable
#5A2827 text on white 11.88:1 AAA Lc 96.9 Preferred for body text
#5A2827 text on black 1.76: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

    #FAF4F3

    oklch(97.2% 0.007 28.8)

  2. Step 100

    100

    #F5E6E5

    oklch(93.7% 0.016 22.1)

  3. Step 200

    200

    #EDD2D0

    oklch(88.6% 0.03 22.8)

  4. Step 300

    300

    #E3B3B0

    oklch(80.9% 0.056 22.5)

  5. Step 400

    400

    #D28A87

    oklch(70.6% 0.089 22.2)

  6. Step 500

    500

    #C56C69

    oklch(63.1% 0.114 22.8)

  7. Step 600

    600

    #B05251

    oklch(55.6% 0.123 22.5)

  8. Step 700

    700

    #974241

    oklch(49.1% 0.115 22.9)

  9. Step 800

    800

    #7B3736

    oklch(42.8% 0.095 22.8)

  10. Step 900

    900 (this color)

    #5A2827

    oklch(34.6% 0.074 22.8)

  11. Step 950

    950

    #3A1D1C

    oklch(27% 0.046 22.6)

Export this scale for Tailwind in the Tailwind colors tool

#5A2827 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)#3431270.078
Deuteranopia (no green cones)#403B260.072
Tritanopia (no blue cones)#6220280.024
Achromatopsia (no color)#3737370.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A2827

    #5A2827

    oklch(34.6% 0.074 22.8)

  • #004247

    #004247

    oklch(34.5% 0.059 203.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A2827

    #5A2827

    oklch(34.6% 0.074 22.8)

  • #56283D

    #56283D

    oklch(34.7% 0.073 352.9)

  • #572D0F

    #572D0F

    oklch(34.6% 0.074 52.7)

Open the analogous palette in the generator

Split complementary

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

  • #5A2827

    #5A2827

    oklch(34.6% 0.074 22.8)

  • #004436

    #004436

    oklch(34.5% 0.066 173.3)

  • #003F58

    #003F58

    oklch(34.6% 0.071 232.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A2827

    #5A2827

    oklch(34.6% 0.074 22.8)

  • #20431E

    #20431E

    oklch(34.6% 0.074 142.7)

  • #243860

    #243860

    oklch(34.5% 0.075 263)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A2827

    #5A2827

    oklch(34.6% 0.074 22.8)

  • #3A3D04

    #3A3D04

    oklch(34.6% 0.074 112.9)

  • #004247

    #004247

    oklch(34.5% 0.059 203.3)

  • #3B315C

    #3B315C

    oklch(34.5% 0.074 292.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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