#8F186A#8F186A

#8F186A is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.172 H 344.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8F186A
RGBrgb(143, 24, 106)
HSLhsl(319, 71%, 33%)
HSVhsv(319, 83%, 56%)
CMYKcmyk(0%, 83.2%, 25.9%, 43.9%)
CIE-LABlab(33.00, 54.47, -17.27)
CIE-LCHlch(33.00, 57.15, 342.41°)
OKLaboklab(44.52% 0.1652 -0.0461)
OKLCHoklch(44.52% 0.172 344.4)
XYZxyz(14.2565, 7.5351, 14.3365)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F186A #188F3D
analogous
#78188F #8F186A #8F182F
triadic
#8F186A #6A8F18 #186A8F
tetradic
#8F186A #8F7818 #188F3D #182F8F
square
#8F186A #8F7818 #188F3D #182F8F
split-complementary
#8F186A #2F8F18 #188F78
monochromatic
#26061C #5B0F43 #8F186A #C32191 #DF42AE

Accessibility & contrast

On white

8.38
#8F186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F186A
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F186A#FFFFFF#000000##FFFFFF
##8F186A1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29416C
Deuteranopia (green-blind)
#4E5567
Tritanopia (blue-blind)
#991640
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f186a;
/* rgb */ color: rgb(143, 24, 106);
/* oklch */ color: oklch(44.5% 0.172 344.4);
Tailwind
colors: {
  custom: {
    50: '#b46594',
    500: '#8f186a',
    950: '#000000',
  },
}
SCSS
$custom: #8f186a;
$custom-light: #b46594;
$custom-dark: #000000;
JSON
{
  "hex": "#8f186a",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 318.655,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4452,
    "c": 0.1715,
    "h": 344.4
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#8F186A
secondary
#43C06A
accent
#EE723A
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8F186A

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

Preview Lab → · Contrast checker → · Palette generator →

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