#8F174A#8F174A

#8F174A is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.2% C 0.157 H 1.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#8F174A
RGBrgb(143, 23, 74)
HSLhsl(335, 72%, 33%)
HSVhsv(335, 84%, 56%)
CMYKcmyk(0%, 83.9%, 48.3%, 43.9%)
CIE-LABlab(31.69, 51.20, 1.57)
CIE-LCHlch(31.69, 51.23, 1.76°)
OKLaboklab(43.17% 0.1573 0.0046)
OKLCHoklch(43.17% 0.157 1.7)
XYZxyz(12.8712, 6.9486, 7.1407)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F174A #178F5C
analogous
#8F1786 #8F174A #8F2017
triadic
#8F174A #4A8F17 #174A8F
tetradic
#8F174A #868F17 #178F5C #20178F
square
#8F174A #868F17 #178F5C #20178F
split-complementary
#8F174A #178F20 #17868F
monochromatic
#260613 #5A0F2F #8F174A #C41F65 #E04084

Accessibility & contrast

On white

8.79
#8F174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F174A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F174A#FFFFFF#000000##FFFFFF
##8F174A1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C4B
Deuteranopia (green-blind)
#565347
Tritanopia (blue-blind)
#9C002F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f174a;
/* rgb */ color: rgb(143, 23, 74);
/* oklch */ color: oklch(43.2% 0.157 1.7);
Tailwind
colors: {
  custom: {
    50: '#b5637c',
    500: '#8f174a',
    950: '#000000',
  },
}
SCSS
$custom: #8f174a;
$custom-light: #b5637c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f174a",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 334.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43174,
    "c": 0.15739,
    "h": 1.7
  },
  "luminance": 0.06947
}

Semantic roles & 50–950 ramp

primary
#8F174A
secondary
#41C18A
accent
#EFA239
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F174A

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

Preview Lab → · Contrast checker → · Palette generator →

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