#8F186B#8F186B

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

Color values

HEX#8F186B
RGBrgb(143, 24, 107)
HSLhsl(318, 71%, 33%)
HSVhsv(318, 83%, 56%)
CMYKcmyk(0%, 83.2%, 25.2%, 43.9%)
CIE-LABlab(33.04, 54.60, -17.84)
CIE-LCHlch(33.04, 57.45, 341.90°)
OKLaboklab(44.57% 0.1654 -0.0477)
OKLCHoklch(44.57% 0.172 343.9)
XYZxyz(14.3088, 7.5560, 14.6120)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F186B #188F3C
analogous
#77188F #8F186B #8F1830
triadic
#8F186B #6B8F18 #186B8F
tetradic
#8F186B #8F7718 #188F3C #18308F
square
#8F186B #8F7718 #188F3C #18308F
split-complementary
#8F186B #308F18 #188F77
monochromatic
#26061D #5B0F44 #8F186B #C32192 #DF42B0

Accessibility & contrast

On white

8.36
#8F186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F186B
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F186B#FFFFFF#000000##FFFFFF
##8F186B1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416D
Deuteranopia (green-blind)
#4E5568
Tritanopia (blue-blind)
#991741
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f186b;
/* rgb */ color: rgb(143, 24, 107);
/* oklch */ color: oklch(44.6% 0.172 343.9);
Tailwind
colors: {
  custom: {
    50: '#b46595',
    500: '#8f186b',
    950: '#000000',
  },
}
SCSS
$custom: #8f186b;
$custom-light: #b46595;
$custom-dark: #000000;
JSON
{
  "hex": "#8f186b",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 318.151,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44568,
    "c": 0.17209,
    "h": 343.9
  },
  "luminance": 0.07554
}

Semantic roles & 50–950 ramp

primary
#8F186B
secondary
#43C069
accent
#EE703A
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8F186B

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

Preview Lab → · Contrast checker → · Palette generator →

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