#9D2870

Closest named color: Red Violet (#9E0168). oklch(48.4% 0.168 347.5), rgb(157, 40, 112).

Aa

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

About this color

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

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

Values

HEX#9D2870
RGBrgb(157, 40, 112)
HSLhsl(323, 59%, 39%)
OKLCHoklch(48.4% 0.168 347.5)

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 #9D2870 7.06:1 AAA Lc -88.4 Fine for body text
Black text on #9D2870 2.97:1 Fails Lc 20.7 Dividers and decoration only
#9D2870 text on white 7.06:1 AAA Lc 83.4 Fine for body text
#9D2870 text on black 2.97:1 Fails Lc -18.6 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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F7E4ED

    oklch(93.7% 0.024 347.2)

  3. Step 200

    200

    #F1CEDF

    oklch(88.6% 0.045 347.2)

  4. Step 300

    300

    #E9ACCA

    oklch(81% 0.081 348)

  5. Step 400

    400

    #DB7DB0

    oklch(70.7% 0.131 347.2)

  6. Step 500

    500

    #CE589C

    oklch(63% 0.167 347.3)

  7. Step 600

    600

    #B93987

    oklch(55.5% 0.181 347.1)

  8. Step 700

    700 (this color)

    #9D2870

    oklch(48.4% 0.168 347.5)

  9. Step 800

    800

    #81255D

    oklch(42.6% 0.139 347.2)

  10. Step 900

    900

    #68244C

    oklch(37.6% 0.109 347.2)

  11. Step 950

    950

    #3E162D

    oklch(27.1% 0.07 347.2)

Export this scale for Tailwind in the Tailwind colors tool

#9D2870 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)#394C720.187
Deuteranopia (no green cones)#5B606D0.165
Tritanopia (no blue cones)#A824480.068
Achromatopsia (no color)#5858580.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D2870

    #9D2870

    oklch(48.4% 0.168 347.5)

  • #007053

    #007053

    oklch(48.4% 0.099 167.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D2870

    #9D2870

    oklch(48.4% 0.168 347.5)

  • #84369B

    #84369B

    oklch(48.4% 0.168 317.7)

  • #A9233A

    #A9233A

    oklch(48.4% 0.169 17.4)

Open the analogous palette in the generator

Split complementary

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

  • #9D2870

    #9D2870

    oklch(48.4% 0.168 347.5)

  • #2E7100

    #2E7100

    oklch(48.6% 0.149 137.5)

  • #006D6F

    #006D6F

    oklch(48.5% 0.083 197)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D2870

    #9D2870

    oklch(48.4% 0.168 347.5)

  • #656200

    #656200

    oklch(48.3% 0.104 107.6)

  • #006888

    #006888

    oklch(48.3% 0.094 228)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D2870

    #9D2870

    oklch(48.4% 0.168 347.5)

  • #7E5600

    #7E5600

    oklch(48.4% 0.101 77.5)

  • #007053

    #007053

    oklch(48.4% 0.099 167.3)

  • #0B5ABB

    #0B5ABB

    oklch(48.4% 0.168 257.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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