#8F2166#8F2166

#8F2166 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.160 H 347.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8F2166
RGBrgb(143, 33, 102)
HSLhsl(322, 63%, 35%)
HSVhsv(322, 77%, 56%)
CMYKcmyk(0%, 76.9%, 28.7%, 43.9%)
CIE-LABlab(33.75, 51.31, -13.56)
CIE-LCHlch(33.75, 53.07, 345.20°)
OKLaboklab(45.01% 0.1561 -0.0358)
OKLCHoklch(45.01% 0.16 347.1)
XYZxyz(14.2705, 7.8883, 13.3389)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2166 #218F4A
analogous
#81218F #8F2166 #8F212F
triadic
#8F2166 #668F21 #21668F
tetradic
#8F2166 #8F8121 #218F4A #212F8F
square
#8F2166 #8F8121 #218F4A #212F8F
split-complementary
#8F2166 #2F8F21 #218F81
monochromatic
#2C0A1F #5D1643 #8F2166 #C12C89 #D753A6

Accessibility & contrast

On white

8.15
#8F2166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8F2166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2166
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2166#FFFFFF#000000##FFFFFF
##8F21661.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314368
Deuteranopia (green-blind)
#525664
Tritanopia (blue-blind)
#991D41
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f2166;
/* rgb */ color: rgb(143, 33, 102);
/* oklch */ color: oklch(45.0% 0.160 347.1);
Tailwind
colors: {
  custom: {
    50: '#b46891',
    500: '#8f2166',
    950: '#000000',
  },
}
SCSS
$custom: #8f2166;
$custom-light: #b46891;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2166",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 322.364,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4501,
    "c": 0.16019,
    "h": 347.1
  },
  "luminance": 0.07887
}

Semantic roles & 50–950 ramp

primary
#8F2166
secondary
#51BB78
accent
#E67F42
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8F2166

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

Preview Lab → · Contrast checker → · Palette generator →

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