#8F174C#8F174C

#8F174C is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.158 H 0.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8F174C
RGBrgb(143, 23, 76)
HSLhsl(334, 72%, 33%)
HSVhsv(334, 84%, 56%)
CMYKcmyk(0%, 83.9%, 46.9%, 43.9%)
CIE-LABlab(31.75, 51.39, 0.34)
CIE-LCHlch(31.75, 51.39, 0.38°)
OKLaboklab(43.24% 0.158 0.0014)
OKLCHoklch(43.24% 0.158 0.5)
XYZxyz(12.9397, 6.9760, 7.5012)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F174C #178F5A
analogous
#8F1788 #8F174C #8F1E17
triadic
#8F174C #4C8F17 #174C8F
tetradic
#8F174C #888F17 #178F5A #1E178F
square
#8F174C #888F17 #178F5A #1E178F
split-complementary
#8F174C #178F1E #17888F
monochromatic
#260614 #5A0F30 #8F174C #C41F68 #E04087

Accessibility & contrast

On white

8.77
#8F174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8F174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F174C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F174C#FFFFFF#000000##FFFFFF
##8F174C1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4D
Deuteranopia (green-blind)
#555349
Tritanopia (blue-blind)
#9C0030
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f174c;
/* rgb */ color: rgb(143, 23, 76);
/* oklch */ color: oklch(43.2% 0.158 0.5);
Tailwind
colors: {
  custom: {
    50: '#b5637d',
    500: '#8f174c',
    950: '#000000',
  },
}
SCSS
$custom: #8f174c;
$custom-light: #b5637d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f174c",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 333.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4324,
    "c": 0.15803,
    "h": 0.5
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#8F174C
secondary
#41C188
accent
#EF9F39
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F174C

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

Preview Lab → · Contrast checker → · Palette generator →

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