#8F174D#8F174D

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

Color values

HEX#8F174D
RGBrgb(143, 23, 77)
HSLhsl(333, 72%, 33%)
HSVhsv(333, 84%, 56%)
CMYKcmyk(0%, 83.9%, 46.2%, 43.9%)
CIE-LABlab(31.78, 51.48, -0.27)
CIE-LCHlch(31.78, 51.48, 359.70°)
OKLaboklab(43.27% 0.1584 -0.0001)
OKLCHoklch(43.27% 0.158 0)
XYZxyz(12.9747, 6.9900, 7.6857)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F174D #178F59
analogous
#8F1789 #8F174D #8F1D17
triadic
#8F174D #4D8F17 #174D8F
tetradic
#8F174D #898F17 #178F59 #1D178F
square
#8F174D #898F17 #178F59 #1D178F
split-complementary
#8F174D #178F1D #17898F
monochromatic
#260614 #5A0F31 #8F174D #C41F69 #E04088

Accessibility & contrast

On white

8.76
#8F174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8F174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F174D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F174D#FFFFFF#000000##FFFFFF
##8F174D1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4E
Deuteranopia (green-blind)
#55534A
Tritanopia (blue-blind)
#9C0030
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f174d;
/* rgb */ color: rgb(143, 23, 77);
/* oklch */ color: oklch(43.3% 0.158 360.0);
Tailwind
colors: {
  custom: {
    50: '#b5637e',
    500: '#8f174d',
    950: '#000000',
  },
}
SCSS
$custom: #8f174d;
$custom-light: #b5637e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f174d",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 333,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43274,
    "c": 0.15837,
    "h": 360
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#8F174D
secondary
#41C187
accent
#EF9D39
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8F174D

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

Preview Lab → · Contrast checker → · Palette generator →

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