#8D174D#8D174D

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

Color values

HEX#8D174D
RGBrgb(141, 23, 77)
HSLhsl(333, 72%, 32%)
HSVhsv(333, 84%, 55%)
CMYKcmyk(0%, 83.7%, 45.4%, 44.7%)
CIE-LABlab(31.38, 50.95, -0.91)
CIE-LCHlch(31.38, 50.95, 358.97°)
OKLaboklab(42.9% 0.1568 -0.0018)
OKLCHoklch(42.9% 0.157 359.3)
XYZxyz(12.6315, 6.8130, 7.6696)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D174D #178D57
analogous
#8D1788 #8D174D #8D1C17
triadic
#8D174D #4D8D17 #174D8D
tetradic
#8D174D #888D17 #178D57 #1C178D
square
#8D174D #888D17 #178D57 #1C178D
split-complementary
#8D174D #178D1C #17888D
monochromatic
#240614 #580E30 #8D174D #C2206A #E03F88

Accessibility & contrast

On white

8.89
#8D174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D174D
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D174D#FFFFFF#000000##FFFFFF
##8D174D1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C4E
Deuteranopia (green-blind)
#54524A
Tritanopia (blue-blind)
#990030
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d174d;
/* rgb */ color: rgb(141, 23, 77);
/* oklch */ color: oklch(42.9% 0.157 359.3);
Tailwind
colors: {
  custom: {
    50: '#b4637e',
    500: '#8d174d',
    950: '#000000',
  },
}
SCSS
$custom: #8d174d;
$custom-light: #b4637e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d174d",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 332.542,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42904,
    "c": 0.15676,
    "h": 359.3
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#8D174D
secondary
#40C085
accent
#EF9C39
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8D174D

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

Preview Lab → · Contrast checker → · Palette generator →

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