#8F185C#8F185C

#8F185C is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.164 H 351.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#8F185C
RGBrgb(143, 24, 92)
HSLhsl(326, 71%, 33%)
HSVhsv(326, 83%, 56%)
CMYKcmyk(0%, 83.2%, 35.7%, 43.9%)
CIE-LABlab(32.41, 52.78, -9.15)
CIE-LCHlch(32.41, 53.57, 350.17°)
OKLaboklab(43.9% 0.1621 -0.0237)
OKLCHoklch(43.9% 0.164 351.7)
XYZxyz(13.5870, 7.2673, 10.8104)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F185C #188F4B
analogous
#86188F #8F185C #8F1821
triadic
#8F185C #5C8F18 #185C8F
tetradic
#8F185C #8F8618 #188F4B #18218F
square
#8F185C #8F8618 #188F4B #18218F
split-complementary
#8F185C #218F18 #188F86
monochromatic
#260619 #5B0F3A #8F185C #C3217E #DF429C

Accessibility & contrast

On white

8.56
#8F185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F185C
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F185C#FFFFFF#000000##FFFFFF
##8F185C1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303F5E
Deuteranopia (green-blind)
#525459
Tritanopia (blue-blind)
#9A0938
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8f185c;
/* rgb */ color: rgb(143, 24, 92);
/* oklch */ color: oklch(43.9% 0.164 351.7);
Tailwind
colors: {
  custom: {
    50: '#b4648a',
    500: '#8f185c',
    950: '#000000',
  },
}
SCSS
$custom: #8f185c;
$custom-light: #b4648a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f185c",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 325.714,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43903,
    "c": 0.16383,
    "h": 351.7
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#8F185C
secondary
#43C078
accent
#EE873A
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8F185C

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

Preview Lab → · Contrast checker → · Palette generator →

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