#8F2166

Closest named color: Red Violet (#9E0168). oklch(45% 0.16 347.1), rgb(143, 33, 102).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (45%)
Chromavivid (0.160)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.57:1
White text8.14:1

Values

HEX#8F2166
RGBrgb(143, 33, 102)
HSLhsl(322, 63%, 35%)
OKLCHoklch(45% 0.16 347.1)

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 #8F2166 8.14:1 AAA Lc -91.8 Preferred for body text
Black text on #8F2166 2.57:1 Fails Lc 17.0 Dividers and decoration only
#8F2166 text on white 8.14:1 AAA Lc 87.0 Fine for body text
#8F2166 text on black 2.57:1 Fails Lc -15.1 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 800.

  1. Step 50

    50

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F9E3ED

    oklch(93.6% 0.027 348.3)

  3. Step 200

    200

    #F4CCE0

    oklch(88.5% 0.052 346.6)

  4. Step 300

    300

    #EEA8CC

    oklch(80.9% 0.094 347.2)

  5. Step 400

    400

    #E277B2

    oklch(70.7% 0.149 347.3)

  6. Step 500

    500

    #D74D9F

    oklch(63.1% 0.192 347.3)

  7. Step 600

    600

    #C2288A

    oklch(55.7% 0.208 347.3)

  8. Step 700

    700

    #A71775

    oklch(49.2% 0.193 347.3)

  9. Step 800

    800 (this color)

    #8F2166

    oklch(45% 0.16 347.1)

  10. Step 900

    900

    #6D1D4E

    oklch(37.7% 0.125 347.1)

  11. Step 950

    950

    #40132E

    oklch(27% 0.078 346.6)

Export this scale for Tailwind in the Tailwind colors tool

#8F2166 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)#3143680.179
Deuteranopia (no green cones)#5256640.156
Tritanopia (no blue cones)#991D410.064
Achromatopsia (no color)#4F4F4F0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F2166

    #8F2166

    oklch(45% 0.16 347.1)

  • #00654A

    #00654A

    oklch(45% 0.092 166.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F2166

    #8F2166

    oklch(45% 0.16 347.1)

  • #772F8E

    #772F8E

    oklch(44.9% 0.16 317)

  • #9A1C33

    #9A1C33

    oklch(45% 0.16 17.3)

Open the analogous palette in the generator

Split complementary

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

  • #8F2166

    #8F2166

    oklch(45% 0.16 347.1)

  • #2A6500

    #2A6500

    oklch(44.9% 0.136 137.1)

  • #006264

    #006264

    oklch(45% 0.077 197.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F2166

    #8F2166

    oklch(45% 0.16 347.1)

  • #5C5800

    #5C5800

    oklch(45% 0.096 106.6)

  • #005E7B

    #005E7B

    oklch(45% 0.087 227.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F2166

    #8F2166

    oklch(45% 0.16 347.1)

  • #724D00

    #724D00

    oklch(45% 0.094 77)

  • #00654A

    #00654A

    oklch(45% 0.092 166.8)

  • #0051AB

    #0051AB

    oklch(45% 0.16 257)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8F2166 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.