#8F186D#8F186D

#8F186D is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.173 H 342.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8F186D
RGBrgb(143, 24, 109)
HSLhsl(317, 71%, 33%)
HSVhsv(317, 83%, 56%)
CMYKcmyk(0%, 83.2%, 23.8%, 43.9%)
CIE-LABlab(33.13, 54.87, -18.98)
CIE-LCHlch(33.13, 58.05, 340.92°)
OKLaboklab(44.66% 0.1657 -0.0509)
OKLCHoklch(44.66% 0.173 342.9)
XYZxyz(14.4152, 7.5986, 15.1726)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F186D #188F3A
analogous
#75188F #8F186D #8F1831
triadic
#8F186D #6D8F18 #186D8F
tetradic
#8F186D #8F7518 #188F3A #18318F
square
#8F186D #8F7518 #188F3A #18318F
split-complementary
#8F186D #318F18 #188F75
monochromatic
#26061D #5B0F45 #8F186D #C32195 #DF42B2

Accessibility & contrast

On white

8.34
#8F186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8F186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F186D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F186D#FFFFFF#000000##FFFFFF
##8F186D1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27426F
Deuteranopia (green-blind)
#4D556A
Tritanopia (blue-blind)
#991942
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f186d;
/* rgb */ color: rgb(143, 24, 109);
/* oklch */ color: oklch(44.7% 0.173 342.9);
Tailwind
colors: {
  custom: {
    50: '#b46597',
    500: '#8f186d',
    950: '#000000',
  },
}
SCSS
$custom: #8f186d;
$custom-light: #b46597;
$custom-dark: #000000;
JSON
{
  "hex": "#8f186d",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 317.143,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44664,
    "c": 0.17332,
    "h": 342.9
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#8F186D
secondary
#43C067
accent
#EE6D3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8F186D

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

Preview Lab → · Contrast checker → · Palette generator →

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