#5A173D

Closest named color: Grape Purple (#5D1451). oklch(32.9% 0.106 349.6), rgb(90, 23, 61).

Aa

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

About this color

#5A173D is a dark, moderately saturated red. In OKLCH its lightness is 33%, its chroma 0.106 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.037 away. White text reads best on it, at 12.92:1.

Hue familyReds
Lightnessdark (33%)
Chromamoderately saturated (0.106)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.62:1
White text12.92:1

Values

HEX#5A173D
RGBrgb(90, 23, 61)
HSLhsl(326, 59%, 22%)
OKLCHoklch(32.9% 0.106 349.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 #5A173D 12.92:1 AAA Lc -101.8 Preferred for body text
Black text on #5A173D 1.62:1 Fails Lc 0.0 Not readable
#5A173D text on white 12.92:1 AAA Lc 98.3 Preferred for body text
#5A173D text on black 1.62: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

    #FBF3F6

    oklch(97.1% 0.009 352.4)

  2. Step 100

    100

    #F7E4EC

    oklch(93.6% 0.023 350.1)

  3. Step 200

    200

    #F1CEDD

    oklch(88.5% 0.044 350.3)

  4. Step 300

    300

    #E9ACC8

    oklch(80.9% 0.08 349.8)

  5. Step 400

    400

    #DB7EAC

    oklch(70.7% 0.127 349.8)

  6. Step 500

    500

    #CF5998

    oklch(63.1% 0.164 349.6)

  7. Step 600

    600

    #BA3B82

    oklch(55.7% 0.177 349.9)

  8. Step 700

    700

    #A02C6E

    oklch(49.2% 0.165 349.9)

  9. Step 800

    800

    #82265A

    oklch(42.8% 0.137 349.6)

  10. Step 900

    900 (this color)

    #5A173D

    oklch(32.9% 0.106 349.6)

  11. Step 950

    950

    #3E172B

    oklch(27.1% 0.067 350.5)

Export this scale for Tailwind in the Tailwind colors tool

#5A173D 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)#212A3E0.118
Deuteranopia (no green cones)#34363B0.105
Tritanopia (no blue cones)#6114270.041
Achromatopsia (no color)#3131310.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A173D

    #5A173D

    oklch(32.9% 0.106 349.6)

  • #004030

    #004030

    oklch(33% 0.066 169.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A173D

    #5A173D

    oklch(32.9% 0.106 349.6)

  • #4C1E56

    #4C1E56

    oklch(32.9% 0.106 320.1)

  • #60161E

    #60161E

    oklch(32.9% 0.106 19.4)

Open the analogous palette in the generator

Split complementary

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

  • #5A173D

    #5A173D

    oklch(32.9% 0.106 349.6)

  • #104100

    #104100

    oklch(32.9% 0.105 139.6)

  • #003E40

    #003E40

    oklch(33% 0.056 198.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A173D

    #5A173D

    oklch(32.9% 0.106 349.6)

  • #383800

    #383800

    oklch(33% 0.072 109.8)

  • #003B50

    #003B50

    oklch(33% 0.065 229.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A173D

    #5A173D

    oklch(32.9% 0.106 349.6)

  • #473000

    #473000

    oklch(32.8% 0.068 79.6)

  • #004030

    #004030

    oklch(33% 0.066 169.7)

  • #0F326A

    #0F326A

    oklch(32.8% 0.106 259.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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