#9F2170

Closest named color: Red Violet (#9E0168). oklch(48.2% 0.177 347.6), rgb(159, 33, 112).

Aa

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

About this color

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

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

Values

HEX#9F2170
RGBrgb(159, 33, 112)
HSLhsl(322, 66%, 38%)
OKLCHoklch(48.2% 0.177 347.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 #9F2170 7.17:1 AAA Lc -88.6 Fine for body text
Black text on #9F2170 2.92:1 Fails Lc 20.5 Dividers and decoration only
#9F2170 text on white 7.17:1 AAA Lc 83.6 Fine for body text
#9F2170 text on black 2.92:1 Fails Lc -18.4 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

    #F7E4ED

    oklch(93.7% 0.024 347.2)

  3. Step 200

    200

    #F2CDDF

    oklch(88.5% 0.048 347.2)

  4. Step 300

    300

    #EBAACB

    oklch(80.9% 0.087 347.4)

  5. Step 400

    400

    #DE7BB0

    oklch(70.8% 0.137 347.8)

  6. Step 500

    500

    #D1559D

    oklch(63.1% 0.175 347.3)

  7. Step 600

    600

    #BC3487

    oklch(55.5% 0.19 347.6)

  8. Step 700

    700 (this color)

    #9F2170

    oklch(48.2% 0.177 347.6)

  9. Step 800

    800

    #84215D

    oklch(42.7% 0.147 347.9)

  10. Step 900

    900

    #6A224C

    oklch(37.7% 0.114 347.9)

  11. Step 950

    950

    #3F152D

    oklch(27.1% 0.073 347.7)

Export this scale for Tailwind in the Tailwind colors tool

#9F2170 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)#354A720.199
Deuteranopia (no green cones)#5B5F6D0.173
Tritanopia (no blue cones)#AB1B460.071
Achromatopsia (no color)#5757570.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F2170

    #9F2170

    oklch(48.2% 0.177 347.6)

  • #006F53

    #006F53

    oklch(48.1% 0.098 167.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F2170

    #9F2170

    oklch(48.2% 0.177 347.6)

  • #85329D

    #85329D

    oklch(48.2% 0.176 317.8)

  • #AB1A37

    #AB1A37

    oklch(48.1% 0.177 17.4)

Open the analogous palette in the generator

Split complementary

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

  • #9F2170

    #9F2170

    oklch(48.2% 0.177 347.6)

  • #2D7000

    #2D7000

    oklch(48.2% 0.148 137.6)

  • #006C6E

    #006C6E

    oklch(48.2% 0.082 197)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F2170

    #9F2170

    oklch(48.2% 0.177 347.6)

  • #656200

    #656200

    oklch(48.3% 0.104 107.6)

  • #006887

    #006887

    oklch(48.3% 0.093 227.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F2170

    #9F2170

    oklch(48.2% 0.177 347.6)

  • #7D5500

    #7D5500

    oklch(48.1% 0.101 77.2)

  • #006F53

    #006F53

    oklch(48.1% 0.098 167.8)

  • #0059BE

    #0059BE

    oklch(48.3% 0.175 257.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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