#8F5166

Closest named color: Dark Mauve (#874C62). oklch(51.4% 0.087 358.9), rgb(143, 81, 102).

Aa

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

About this color

#8F5166 is a medium-dark, moderately saturated red. In OKLCH its lightness is 51%, its chroma 0.087 and its hue 359°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mauve (#874C62), ΔE 0.021 away. White text reads best on it, at 5.93:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameDark Mauve (#874C62)
Black text3.53:1
White text5.93:1

Values

HEX#8F5166
RGBrgb(143, 81, 102)
HSLhsl(340, 28%, 44%)
OKLCHoklch(51.4% 0.087 358.9)

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 #8F5166 5.93:1 AA Lc -84.7 Fine for body text
Black text on #8F5166 3.53:1 AA large text Lc 24.6 Dividers and decoration only
#8F5166 text on white 5.93:1 AA Lc 79.5 Fine for body text
#8F5166 text on black 3.53:1 AA large text Lc -22.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

    #F9F4F5

    oklch(97.1% 0.006 3.3)

  2. Step 100

    100

    #F1E7E9

    oklch(93.6% 0.011 3.5)

  3. Step 200

    200

    #E7D3D9

    oklch(88.5% 0.024 357.4)

  4. Step 300

    300

    #D9B6C0

    oklch(81% 0.042 359)

  5. Step 400

    400

    #C48FA0

    oklch(70.6% 0.068 358)

  6. Step 500

    500

    #B47388

    oklch(63% 0.086 359)

  7. Step 600

    600

    #9F5B72

    oklch(55.6% 0.093 358.9)

  8. Step 700

    700 (this color)

    #8F5166

    oklch(51.4% 0.087 358.9)

  9. Step 800

    800

    #6F3D4E

    oklch(42.7% 0.073 358.9)

  10. Step 900

    900

    #5A3541

    oklch(37.8% 0.056 359.2)

  11. Step 950

    950

    #351F26

    oklch(27% 0.036 359.2)

Export this scale for Tailwind in the Tailwind colors tool

#8F5166 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)#5A5D670.094
Deuteranopia (no green cones)#6968650.087
Tritanopia (no blue cones)#984D580.025
Achromatopsia (no color)#6464640.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F5166

    #8F5166

    oklch(51.4% 0.087 358.9)

  • #197768

    #197768

    oklch(51.3% 0.087 179.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F5166

    #8F5166

    oklch(51.4% 0.087 358.9)

  • #825480

    #825480

    oklch(51.3% 0.087 328.3)

  • #92534A

    #92534A

    oklch(51.3% 0.086 29)

Open the analogous palette in the generator

Split complementary

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

  • #8F5166

    #8F5166

    oklch(51.4% 0.087 358.9)

  • #41754B

    #41754B

    oklch(51.4% 0.087 148.8)

  • #097482

    #097482

    oklch(51.3% 0.087 209.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F5166

    #8F5166

    oklch(51.4% 0.087 358.9)

  • #626E31

    #626E31

    oklch(51.4% 0.086 118.8)

  • #316E93

    #316E93

    oklch(51.5% 0.086 238.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F5166

    #8F5166

    oklch(51.4% 0.087 358.9)

  • #7B6424

    #7B6424

    oklch(51.3% 0.087 89)

  • #197768

    #197768

    oklch(51.3% 0.087 179.1)

  • #536599

    #536599

    oklch(51.5% 0.086 268.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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