#9D1B64

Closest named color: Deep Magenta (#A0025C). oklch(46.9% 0.175 352.4), rgb(157, 27, 100).

Aa

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

About this color

#9D1B64 is a medium-dark, vivid red. In OKLCH its lightness is 47%, its chroma 0.175 and its hue 352°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Magenta (#A0025C), ΔE 0.019 away. White text reads best on it, at 7.56:1.

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.175)
Temperaturewarm
Nearest nameDeep Magenta (#A0025C)
Black text2.77:1
White text7.56:1

Values

HEX#9D1B64
RGBrgb(157, 27, 100)
HSLhsl(326, 71%, 36%)
OKLCHoklch(46.9% 0.175 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 #9D1B64 7.56:1 AAA Lc -89.7 Fine for body text
Black text on #9D1B64 2.77:1 Fails Lc 19.2 Dividers and decoration only
#9D1B64 text on white 7.56:1 AAA Lc 84.8 Fine for body text
#9D1B64 text on black 2.77:1 Fails Lc -17.2 Dividers and decoration only

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 700.

  1. Step 50

    50

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F8E4EB

    oklch(93.7% 0.024 354.3)

  3. Step 200

    200

    #F3CDDC

    oklch(88.5% 0.047 352.4)

  4. Step 300

    300

    #ECAAC6

    oklch(80.8% 0.085 352)

  5. Step 400

    400

    #E07BA9

    oklch(70.8% 0.135 352.4)

  6. Step 500

    500

    #D45494

    oklch(63.1% 0.174 352.2)

  7. Step 600

    600

    #BF337E

    oklch(55.6% 0.188 352.3)

  8. Step 700

    700 (this color)

    #9D1B64

    oklch(46.9% 0.175 352.4)

  9. Step 800

    800

    #862157

    oklch(42.8% 0.145 352.3)

  10. Step 900

    900

    #6C2247

    oklch(37.8% 0.112 352.9)

  11. Step 950

    950

    #3F152A

    oklch(26.9% 0.071 351.8)

Export this scale for Tailwind in the Tailwind colors tool

#9D1B64 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)#3645660.198
Deuteranopia (no green cones)#5B5C610.173
Tritanopia (no blue cones)#AA083E0.064
Achromatopsia (no color)#5454540.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D1B64

    #9D1B64

    oklch(46.9% 0.175 352.4)

  • #006B55

    #006B55

    oklch(47% 0.091 172.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D1B64

    #9D1B64

    oklch(46.9% 0.175 352.4)

  • #862C93

    #862C93

    oklch(47% 0.175 322.4)

  • #A71828

    #A71828

    oklch(47% 0.175 22.6)

Open the analogous palette in the generator

Split complementary

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

  • #9D1B64

    #9D1B64

    oklch(46.9% 0.175 352.4)

  • #026F00

    #026F00

    oklch(47% 0.159 142.4)

  • #00676E

    #00676E

    oklch(46.8% 0.08 203)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D1B64

    #9D1B64

    oklch(46.9% 0.175 352.4)

  • #5C6000

    #5C6000

    oklch(47% 0.104 112.6)

  • #006387

    #006387

    oklch(46.9% 0.096 232.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D1B64

    #9D1B64

    oklch(46.9% 0.175 352.4)

  • #755400

    #755400

    oklch(46.9% 0.097 82.2)

  • #006B55

    #006B55

    oklch(47% 0.091 172.1)

  • #1E51BB

    #1E51BB

    oklch(46.9% 0.176 262.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9D1B64 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.