#5A313B

Closest named color: Purple Brown (#673A3F). oklch(36.8% 0.061 4.8), rgb(90, 49, 59).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (37%)
Chromamuted (0.061)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text1.93:1
White text10.84:1

Values

HEX#5A313B
RGBrgb(90, 49, 59)
HSLhsl(345, 29%, 27%)
OKLCHoklch(36.8% 0.061 4.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 #5A313B 10.84:1 AAA Lc -98.8 Preferred for body text
Black text on #5A313B 1.93:1 Fails Lc 9.0 Not readable
#5A313B text on white 10.84:1 AAA Lc 94.9 Preferred for body text
#5A313B text on black 1.93:1 Fails Lc -7.7 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

    #F2E6E9

    oklch(93.5% 0.014 0.3)

  3. Step 200

    200

    #E9D3D7

    oklch(88.6% 0.025 5.2)

  4. Step 300

    300

    #DCB5BD

    oklch(81% 0.046 4.4)

  5. Step 400

    400

    #C88E9B

    oklch(70.7% 0.072 4.3)

  6. Step 500

    500

    #B97182

    oklch(63.1% 0.093 4.8)

  7. Step 600

    600

    #A4586B

    oklch(55.5% 0.102 5)

  8. Step 700

    700

    #8C485A

    oklch(49% 0.094 4.3)

  9. Step 800

    800

    #723C49

    oklch(42.8% 0.077 5.5)

  10. Step 900

    900 (this color)

    #5A313B

    oklch(36.8% 0.061 4.8)

  11. Step 950

    950

    #361E24

    oklch(26.9% 0.039 3.8)

Export this scale for Tailwind in the Tailwind colors tool

#5A313B 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)#38383B0.066
Deuteranopia (no green cones)#42403A0.061
Tritanopia (no blue cones)#602E350.015
Achromatopsia (no color)#3D3D3D0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A313B

    #5A313B

    oklch(36.8% 0.061 4.8)

  • #0A4A43

    #0A4A43

    oklch(37% 0.061 183.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A313B

    #5A313B

    oklch(36.8% 0.061 4.8)

  • #53334C

    #53334C

    oklch(36.9% 0.06 335)

  • #5B3329

    #5B3329

    oklch(36.9% 0.061 34.9)

Open the analogous palette in the generator

Split complementary

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

  • #5A313B

    #5A313B

    oklch(36.8% 0.061 4.8)

  • #224931

    #224931

    oklch(36.9% 0.061 154.9)

  • #0A4753

    #0A4753

    oklch(36.8% 0.061 214.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A313B

    #5A313B

    oklch(36.8% 0.061 4.8)

  • #38451F

    #38451F

    oklch(36.9% 0.061 124.9)

  • #21425D

    #21425D

    oklch(36.7% 0.061 245.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A313B

    #5A313B

    oklch(36.8% 0.061 4.8)

  • #493F15

    #493F15

    oklch(36.9% 0.061 95.8)

  • #0A4A43

    #0A4A43

    oklch(37% 0.061 183.6)

  • #363C5F

    #363C5F

    oklch(36.7% 0.061 275.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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