#8F186C#8F186C

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

Color values

HEX#8F186C
RGBrgb(143, 24, 108)
HSLhsl(318, 71%, 33%)
HSVhsv(318, 83%, 56%)
CMYKcmyk(0%, 83.2%, 24.5%, 43.9%)
CIE-LABlab(33.09, 54.73, -18.41)
CIE-LCHlch(33.09, 57.75, 341.41°)
OKLaboklab(44.62% 0.1655 -0.0493)
OKLCHoklch(44.62% 0.173 343.4)
XYZxyz(14.3617, 7.5772, 14.8907)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F186C #188F3B
analogous
#76188F #8F186C #8F1831
triadic
#8F186C #6C8F18 #186C8F
tetradic
#8F186C #8F7618 #188F3B #18318F
square
#8F186C #8F7618 #188F3B #18318F
split-complementary
#8F186C #318F18 #188F76
monochromatic
#26061D #5B0F44 #8F186C #C32194 #DF42B1

Accessibility & contrast

On white

8.35
#8F186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F186C
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F186C#FFFFFF#000000##FFFFFF
##8F186C1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416E
Deuteranopia (green-blind)
#4D5569
Tritanopia (blue-blind)
#991841
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f186c;
/* rgb */ color: rgb(143, 24, 108);
/* oklch */ color: oklch(44.6% 0.173 343.4);
Tailwind
colors: {
  custom: {
    50: '#b46596',
    500: '#8f186c',
    950: '#000000',
  },
}
SCSS
$custom: #8f186c;
$custom-light: #b46596;
$custom-dark: #000000;
JSON
{
  "hex": "#8f186c",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 317.647,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44616,
    "c": 0.17271,
    "h": 343.4
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#8F186C
secondary
#43C068
accent
#EE6F3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8F186C

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

Preview Lab → · Contrast checker → · Palette generator →

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