#8F166E#8F166E

#8F166E is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.6% C 0.176 H 342.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8F166E
RGBrgb(143, 22, 110)
HSLhsl(316, 73%, 32%)
HSVhsv(316, 85%, 56%)
CMYKcmyk(0%, 84.6%, 23.1%, 43.9%)
CIE-LABlab(33.01, 55.49, -19.81)
CIE-LCHlch(33.01, 58.92, 340.36°)
OKLaboklab(44.59% 0.1674 -0.0532)
OKLCHoklch(44.59% 0.176 342.4)
XYZxyz(14.4296, 7.5408, 15.4444)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F166E #168F37
analogous
#74168F #8F166E #8F1631
triadic
#8F166E #6E8F16 #166E8F
tetradic
#8F166E #8F7416 #168F37 #16318F
square
#8F166E #8F7416 #168F37 #16318F
split-complementary
#8F166E #318F16 #168F74
monochromatic
#25061C #5A0E45 #8F166E #C41E97 #E13EB5

Accessibility & contrast

On white

8.37
#8F166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8F166E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F166E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F166E#FFFFFF#000000##FFFFFF
##8F166E1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#4C546B
Tritanopia (blue-blind)
#991842
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f166e;
/* rgb */ color: rgb(143, 22, 110);
/* oklch */ color: oklch(44.6% 0.176 342.4);
Tailwind
colors: {
  custom: {
    50: '#b46497',
    500: '#8f166e',
    950: '#000000',
  },
}
SCSS
$custom: #8f166e;
$custom-light: #b46497;
$custom-dark: #000000;
JSON
{
  "hex": "#8f166e",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 316.364,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44589,
    "c": 0.17561,
    "h": 342.4
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#8F166E
secondary
#3FC163
accent
#F06A38
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8F166E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8F166E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva