#8F3166#8F3166

#8F3166 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.6% C 0.139 H 349.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8F3166
RGBrgb(143, 49, 102)
HSLhsl(326, 49%, 38%)
HSVhsv(326, 66%, 56%)
CMYKcmyk(0%, 65.7%, 28.7%, 43.9%)
CIE-LABlab(35.98, 45.10, -10.17)
CIE-LCHlch(35.98, 46.23, 347.29°)
OKLaboklab(46.64% 0.1369 -0.0266)
OKLCHoklch(46.64% 0.139 349)
XYZxyz(14.8249, 8.9971, 13.5237)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3166 #318F5A
analogous
#89318F #8F3166 #8F3137
triadic
#8F3166 #668F31 #31668F
tetradic
#8F3166 #8F8931 #318F5A #31378F
square
#8F3166 #8F8931 #318F5A #31378F
split-complementary
#8F3166 #378F31 #318F89
monochromatic
#341225 #612145 #8F3166 #BD4187 #CD6DA3

Accessibility & contrast

On white

7.50
#8F3166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8F3166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F3166
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3166#FFFFFF#000000##FFFFFF
##8F31661.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4A68
Deuteranopia (green-blind)
#585B64
Tritanopia (blue-blind)
#992D47
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f3166;
/* rgb */ color: rgb(143, 49, 102);
/* oklch */ color: oklch(46.6% 0.139 349.0);
Tailwind
colors: {
  custom: {
    50: '#b36f91',
    500: '#8f3166',
    950: '#000000',
  },
}
SCSS
$custom: #8f3166;
$custom-light: #b36f91;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3166",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 326.17,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46643,
    "c": 0.13942,
    "h": 349
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#8F3166
secondary
#67B589
accent
#D98B4F
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8F3166

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

Preview Lab → · Contrast checker → · Palette generator →

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