#5A1B3B

Closest named color: Grape Purple (#5D1451). oklch(33.3% 0.099 352.4), rgb(90, 27, 59).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (33%)
Chromamoderately saturated (0.099)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.65:1
White text12.69:1

Values

HEX#5A1B3B
RGBrgb(90, 27, 59)
HSLhsl(330, 54%, 23%)
OKLCHoklch(33.3% 0.099 352.4)

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 #5A1B3B 12.69:1 AAA Lc -101.5 Preferred for body text
Black text on #5A1B3B 1.65:1 Fails Lc 0.0 Not readable
#5A1B3B text on white 12.69:1 AAA Lc 98.1 Preferred for body text
#5A1B3B text on black 1.65: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

    #F6E4EB

    oklch(93.5% 0.022 351.9)

  3. Step 200

    200

    #F0CEDC

    oklch(88.4% 0.042 351.2)

  4. Step 300

    300

    #E7ADC5

    oklch(80.8% 0.074 352.3)

  5. Step 400

    400

    #D980A8

    oklch(70.7% 0.119 352.2)

  6. Step 500

    500

    #CC5D92

    oklch(63% 0.152 352.5)

  7. Step 600

    600

    #B7407D

    oklch(55.6% 0.165 352.1)

  8. Step 700

    700

    #9E3169

    oklch(49.2% 0.154 352.6)

  9. Step 800

    800

    #802A56

    oklch(42.7% 0.127 352.2)

  10. Step 900

    900 (this color)

    #5A1B3B

    oklch(33.3% 0.099 352.4)

  11. Step 950

    950

    #3D1829

    oklch(27% 0.062 353.3)

Export this scale for Tailwind in the Tailwind colors tool

#5A1B3B 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)#252B3C0.109
Deuteranopia (no green cones)#36373A0.099
Tritanopia (no blue cones)#6117280.035
Achromatopsia (no color)#3333330.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A1B3B

    #5A1B3B

    oklch(33.3% 0.099 352.4)

  • #004133

    #004133

    oklch(33.4% 0.064 172.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A1B3B

    #5A1B3B

    oklch(33.3% 0.099 352.4)

  • #4D2153

    #4D2153

    oklch(33.3% 0.098 322.7)

  • #5F1B1D

    #5F1B1D

    oklch(33.3% 0.099 22.7)

Open the analogous palette in the generator

Split complementary

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

  • #5A1B3B

    #5A1B3B

    oklch(33.3% 0.099 352.4)

  • #0E420C

    #0E420C

    oklch(33.3% 0.099 142.5)

  • #003E43

    #003E43

    oklch(33.2% 0.057 203.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A1B3B

    #5A1B3B

    oklch(33.3% 0.099 352.4)

  • #373A00

    #373A00

    oklch(33.4% 0.075 113)

  • #003B53

    #003B53

    oklch(33.1% 0.068 233)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A1B3B

    #5A1B3B

    oklch(33.3% 0.099 352.4)

  • #473200

    #473200

    oklch(33.3% 0.068 82.8)

  • #004133

    #004133

    oklch(33.4% 0.064 172.6)

  • #183368

    #183368

    oklch(33.2% 0.099 262.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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