#8D174B#8D174B

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

Color values

HEX#8D174B
RGBrgb(141, 23, 75)
HSLhsl(334, 72%, 32%)
HSVhsv(334, 84%, 55%)
CMYKcmyk(0%, 83.7%, 46.8%, 44.7%)
CIE-LABlab(31.31, 50.75, 0.31)
CIE-LCHlch(31.31, 50.75, 0.35°)
OKLaboklab(42.84% 0.1561 0.0014)
OKLCHoklch(42.84% 0.156 0.5)
XYZxyz(12.5619, 6.7852, 7.3034)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D174B #178D59
analogous
#8D1786 #8D174B #8D1E17
triadic
#8D174B #4B8D17 #174B8D
tetradic
#8D174B #868D17 #178D59 #1E178D
square
#8D174B #868D17 #178D59 #1E178D
split-complementary
#8D174B #178D1E #17868D
monochromatic
#240613 #580E2F #8D174B #C22067 #E03F86

Accessibility & contrast

On white

8.91
#8D174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D174B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D174B#FFFFFF#000000##FFFFFF
##8D174B1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4C
Deuteranopia (green-blind)
#545248
Tritanopia (blue-blind)
#9A002F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d174b;
/* rgb */ color: rgb(141, 23, 75);
/* oklch */ color: oklch(42.8% 0.156 0.5);
Tailwind
colors: {
  custom: {
    50: '#b4637d',
    500: '#8d174b',
    950: '#000000',
  },
}
SCSS
$custom: #8d174b;
$custom-light: #b4637d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d174b",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 333.559,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42836,
    "c": 0.15607,
    "h": 0.5
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#8D174B
secondary
#40C087
accent
#EF9F39
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D174B

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

Preview Lab → · Contrast checker → · Palette generator →

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