#8F185B#8F185B

#8F185B is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.9% C 0.163 H 352.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8F185B
RGBrgb(143, 24, 91)
HSLhsl(326, 71%, 33%)
HSVhsv(326, 83%, 56%)
CMYKcmyk(0%, 83.2%, 36.4%, 43.9%)
CIE-LABlab(32.37, 52.67, -8.56)
CIE-LCHlch(32.37, 53.36, 350.77°)
OKLaboklab(43.86% 0.1618 -0.0221)
OKLCHoklch(43.86% 0.163 352.2)
XYZxyz(13.5435, 7.2499, 10.5817)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F185B #188F4C
analogous
#87188F #8F185B #8F1820
triadic
#8F185B #5B8F18 #185B8F
tetradic
#8F185B #8F8718 #188F4C #18208F
square
#8F185B #8F8718 #188F4C #18208F
split-complementary
#8F185B #208F18 #188F87
monochromatic
#260618 #5B0F3A #8F185B #C3217C #DF429B

Accessibility & contrast

On white

8.57
#8F185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8F185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F185B
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F185B#FFFFFF#000000##FFFFFF
##8F185B1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303F5D
Deuteranopia (green-blind)
#525458
Tritanopia (blue-blind)
#9B0838
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8f185b;
/* rgb */ color: rgb(143, 24, 91);
/* oklch */ color: oklch(43.9% 0.163 352.2);
Tailwind
colors: {
  custom: {
    50: '#b46489',
    500: '#8f185b',
    950: '#000000',
  },
}
SCSS
$custom: #8f185b;
$custom-light: #b46489;
$custom-dark: #000000;
JSON
{
  "hex": "#8f185b",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 326.218,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43862,
    "c": 0.16334,
    "h": 352.2
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#8F185B
secondary
#43C07A
accent
#EE893A
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8F185B

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

Preview Lab → · Contrast checker → · Palette generator →

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