#5A2F3F

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

Aa

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

About this color

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

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

Values

HEX#5A2F3F
RGBrgb(90, 47, 63)
HSLhsl(338, 31%, 27%)
OKLCHoklch(36.6% 0.066 357.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 #5A2F3F 10.97:1 AAA Lc -99.0 Preferred for body text
Black text on #5A2F3F 1.91:1 Fails Lc 8.7 Not readable
#5A2F3F text on white 10.97:1 AAA Lc 95.2 Preferred for body text
#5A2F3F 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

    #E9D2D9

    oklch(88.5% 0.027 357.3)

  4. Step 300

    300

    #DCB4C1

    oklch(80.9% 0.049 356.8)

  5. Step 400

    400

    #C98CA1

    oklch(70.6% 0.079 357)

  6. Step 500

    500

    #BA6F8A

    oklch(63.1% 0.1 357.3)

  7. Step 600

    600

    #A55674

    oklch(55.6% 0.109 357.1)

  8. Step 700

    700

    #8D4661

    oklch(49.1% 0.101 357.4)

  9. Step 800

    800

    #733A4F

    oklch(42.8% 0.084 357.8)

  10. Step 900

    900 (this color)

    #5A2F3F

    oklch(36.6% 0.066 357.2)

  11. Step 950

    950

    #371D27

    oklch(26.9% 0.043 355.8)

Export this scale for Tailwind in the Tailwind colors tool

#5A2F3F 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)#3538400.072
Deuteranopia (no green cones)#403F3E0.065
Tritanopia (no blue cones)#602D350.020
Achromatopsia (no color)#3C3C3C0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A2F3F

    #5A2F3F

    oklch(36.6% 0.066 357.2)

  • #044A3E

    #044A3E

    oklch(36.7% 0.066 176.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A2F3F

    #5A2F3F

    oklch(36.6% 0.066 357.2)

  • #513251

    #513251

    oklch(36.7% 0.066 326.8)

  • #5D302B

    #5D302B

    oklch(36.6% 0.066 27.4)

Open the analogous palette in the generator

Split complementary

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

  • #5A2F3F

    #5A2F3F

    oklch(36.6% 0.066 357.2)

  • #25482A

    #25482A

    oklch(36.6% 0.065 147.4)

  • #00484F

    #00484F

    oklch(36.7% 0.063 205.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A2F3F

    #5A2F3F

    oklch(36.6% 0.066 357.2)

  • #3C4317

    #3C4317

    oklch(36.6% 0.066 117.3)

  • #15435D

    #15435D

    oklch(36.5% 0.066 237.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A2F3F

    #5A2F3F

    oklch(36.6% 0.066 357.2)

  • #4E3C0E

    #4E3C0E

    oklch(36.6% 0.066 86.4)

  • #044A3E

    #044A3E

    oklch(36.7% 0.066 176.8)

  • #2F3D62

    #2F3D62

    oklch(36.6% 0.067 267.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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