#5A2F40

Closest named color: Purple Brown (#673A3F). oklch(36.6% 0.066 355.8), rgb(90, 47, 64).

Aa

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

About this color

#5A2F40 is a dark, muted red. In OKLCH its lightness is 37%, its chroma 0.066 and its hue 356°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.044 away. White text reads best on it, at 10.96:1.

Hue familyReds
Lightnessdark (37%)
Chromamuted (0.066)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text1.91:1
White text10.96:1

Values

HEX#5A2F40
RGBrgb(90, 47, 64)
HSLhsl(336, 31%, 27%)
OKLCHoklch(36.6% 0.066 355.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 #5A2F40 10.96:1 AAA Lc -99.0 Preferred for body text
Black text on #5A2F40 1.91:1 Fails Lc 8.8 Not readable
#5A2F40 text on white 10.96:1 AAA Lc 95.2 Preferred for body text
#5A2F40 text on black 1.91:1 Fails Lc -7.5 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

    #F9F4F5

    oklch(97.1% 0.006 3.3)

  2. Step 100

    100

    #F2E6EA

    oklch(93.6% 0.014 355)

  3. Step 200

    200

    #E9D2DA

    oklch(88.5% 0.028 354.6)

  4. Step 300

    300

    #DCB4C2

    oklch(80.9% 0.05 355.3)

  5. Step 400

    400

    #C98CA2

    oklch(70.7% 0.079 356)

  6. Step 500

    500

    #BA6E8C

    oklch(63% 0.103 355.3)

  7. Step 600

    600

    #A55676

    oklch(55.7% 0.11 355.6)

  8. Step 700

    700

    #8D4563

    oklch(49% 0.104 355.3)

  9. Step 800

    800

    #733951

    oklch(42.7% 0.087 355.2)

  10. Step 900

    900 (this color)

    #5A2F40

    oklch(36.6% 0.066 355.8)

  11. Step 950

    950

    #371D27

    oklch(26.9% 0.043 355.8)

Export this scale for Tailwind in the Tailwind colors tool

#5A2F40 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)#3538410.072
Deuteranopia (no green cones)#3F3F3F0.066
Tritanopia (no blue cones)#602D350.021
Achromatopsia (no color)#3C3C3C0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A2F40

    #5A2F40

    oklch(36.6% 0.066 355.8)

  • #054A3D

    #054A3D

    oklch(36.6% 0.067 175.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A2F40

    #5A2F40

    oklch(36.6% 0.066 355.8)

  • #513252

    #513252

    oklch(36.7% 0.067 325.7)

  • #5D302C

    #5D302C

    oklch(36.6% 0.066 26.1)

Open the analogous palette in the generator

Split complementary

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

  • #5A2F40

    #5A2F40

    oklch(36.6% 0.066 355.8)

  • #264829

    #264829

    oklch(36.6% 0.066 146)

  • #00484F

    #00484F

    oklch(36.7% 0.063 205.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A2F40

    #5A2F40

    oklch(36.6% 0.066 355.8)

  • #3D4316

    #3D4316

    oklch(36.7% 0.066 116.2)

  • #13445D

    #13445D

    oklch(36.7% 0.067 235.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A2F40

    #5A2F40

    oklch(36.6% 0.066 355.8)

  • #4E3C0D

    #4E3C0D

    oklch(36.6% 0.067 86.7)

  • #054A3D

    #054A3D

    oklch(36.6% 0.067 175.4)

  • #2E3D62

    #2E3D62

    oklch(36.5% 0.067 266.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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