#9D1E72

Closest named color: Red Violet (#9E0168). oklch(47.7% 0.18 345.8), rgb(157, 30, 114).

Aa

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

About this color

#9D1E72 is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.180 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.023 away. White text reads best on it, at 7.33:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.180)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.86:1
White text7.33:1

Values

HEX#9D1E72
RGBrgb(157, 30, 114)
HSLhsl(320, 68%, 37%)
OKLCHoklch(47.7% 0.18 345.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 #9D1E72 7.33:1 AAA Lc -89.0 Fine for body text
Black text on #9D1E72 2.86:1 Fails Lc 20.0 Dividers and decoration only
#9D1E72 text on white 7.33:1 AAA Lc 84.1 Fine for body text
#9D1E72 text on black 2.86:1 Fails Lc -17.9 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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E3ED

    oklch(93.5% 0.025 345.8)

  3. Step 200

    200

    #F2CDE0

    oklch(88.5% 0.048 345.8)

  4. Step 300

    300

    #EAAACD

    oklch(80.8% 0.087 345.3)

  5. Step 400

    400

    #DD7BB3

    oklch(70.8% 0.138 345.9)

  6. Step 500

    500

    #D154A0

    oklch(63.1% 0.178 345.9)

  7. Step 600

    600

    #BC338B

    oklch(55.6% 0.193 345.8)

  8. Step 700

    700 (this color)

    #9D1E72

    oklch(47.7% 0.18 345.8)

  9. Step 800

    800

    #832060

    oklch(42.6% 0.149 345.7)

  10. Step 900

    900

    #6A214F

    oklch(37.7% 0.117 345.4)

  11. Step 950

    950

    #3E152E

    oklch(27% 0.073 345.5)

Export this scale for Tailwind in the Tailwind colors tool

#9D1E72 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)#3148740.202
Deuteranopia (no green cones)#585E6F0.175
Tritanopia (no blue cones)#A81A460.075
Achromatopsia (no color)#5656560.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D1E72

    #9D1E72

    oklch(47.7% 0.18 345.8)

  • #006E4F

    #006E4F

    oklch(47.7% 0.1 165.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D1E72

    #9D1E72

    oklch(47.7% 0.18 345.8)

  • #82309F

    #82309F

    oklch(47.7% 0.18 315.8)

  • #AA1439

    #AA1439

    oklch(47.7% 0.18 15.7)

Open the analogous palette in the generator

Split complementary

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

  • #9D1E72

    #9D1E72

    oklch(47.7% 0.18 345.8)

  • #336D00

    #336D00

    oklch(47.6% 0.141 135.9)

  • #006B6C

    #006B6C

    oklch(47.8% 0.082 195.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D1E72

    #9D1E72

    oklch(47.7% 0.18 345.8)

  • #656000

    #656000

    oklch(47.8% 0.102 106.1)

  • #006784

    #006784

    oklch(47.8% 0.091 225.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D1E72

    #9D1E72

    oklch(47.7% 0.18 345.8)

  • #7D5300

    #7D5300

    oklch(47.7% 0.1 75.2)

  • #006E4F

    #006E4F

    oklch(47.7% 0.1 165.5)

  • #005AB5

    #005AB5

    oklch(47.8% 0.162 255.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9D1E72.

Similar named colors

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

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