#8F186F#8F186F

#8F186F is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.8% C 0.175 H 342.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8F186F
RGBrgb(143, 24, 111)
HSLhsl(316, 71%, 33%)
HSVhsv(316, 83%, 56%)
CMYKcmyk(0%, 83.2%, 22.4%, 43.9%)
CIE-LABlab(33.23, 55.13, -20.11)
CIE-LCHlch(33.23, 58.68, 339.96°)
OKLaboklab(44.76% 0.166 -0.0541)
OKLCHoklch(44.76% 0.175 342)
XYZxyz(14.5241, 7.6422, 15.7460)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F186F #188F38
analogous
#73188F #8F186F #8F1834
triadic
#8F186F #6F8F18 #186F8F
tetradic
#8F186F #8F7318 #188F38 #18348F
square
#8F186F #8F7318 #188F38 #18348F
split-complementary
#8F186F #348F18 #188F73
monochromatic
#26061E #5B0F46 #8F186F #C32198 #DF42B5

Accessibility & contrast

On white

8.31
#8F186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8F186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F186F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F186F#FFFFFF#000000##FFFFFF
##8F186F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#4C556C
Tritanopia (blue-blind)
#981A43
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f186f;
/* rgb */ color: rgb(143, 24, 111);
/* oklch */ color: oklch(44.8% 0.175 342.0);
Tailwind
colors: {
  custom: {
    50: '#b46598',
    500: '#8f186f',
    950: '#000000',
  },
}
SCSS
$custom: #8f186f;
$custom-light: #b46598;
$custom-dark: #000000;
JSON
{
  "hex": "#8f186f",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 316.134,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44762,
    "c": 0.17457,
    "h": 342
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#8F186F
secondary
#43C064
accent
#EE6A3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8F186F

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

Preview Lab → · Contrast checker → · Palette generator →

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