#8D174C#8D174C

#8D174C is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.156 H 359.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#8D174C
RGBrgb(141, 23, 76)
HSLhsl(333, 72%, 32%)
HSVhsv(333, 84%, 55%)
CMYKcmyk(0%, 83.7%, 46.1%, 44.7%)
CIE-LABlab(31.34, 50.85, -0.30)
CIE-LCHlch(31.34, 50.85, 359.66°)
OKLaboklab(42.87% 0.1564 -0.0002)
OKLCHoklch(42.87% 0.156 359.9)
XYZxyz(12.5964, 6.7990, 7.4851)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D174C #178D58
analogous
#8D1787 #8D174C #8D1D17
triadic
#8D174C #4C8D17 #174C8D
tetradic
#8D174C #878D17 #178D58 #1D178D
square
#8D174C #878D17 #178D58 #1D178D
split-complementary
#8D174C #178D1D #17878D
monochromatic
#240613 #580E30 #8D174C #C22068 #E03F87

Accessibility & contrast

On white

8.90
#8D174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8D174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D174C
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D174C#FFFFFF#000000##FFFFFF
##8D174C1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4D
Deuteranopia (green-blind)
#545249
Tritanopia (blue-blind)
#990030
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d174c;
/* rgb */ color: rgb(141, 23, 76);
/* oklch */ color: oklch(42.9% 0.156 359.9);
Tailwind
colors: {
  custom: {
    50: '#b4637d',
    500: '#8d174c',
    950: '#000000',
  },
}
SCSS
$custom: #8d174c;
$custom-light: #b4637d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d174c",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 333.051,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4287,
    "c": 0.15641,
    "h": 359.9
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

primary
#8D174C
secondary
#40C086
accent
#EF9D39
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D174C

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

Preview Lab → · Contrast checker → · Palette generator →

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