#8D174A#8D174A

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

Color values

HEX#8D174A
RGBrgb(141, 23, 74)
HSLhsl(334, 72%, 32%)
HSVhsv(334, 84%, 55%)
CMYKcmyk(0%, 83.7%, 47.5%, 44.7%)
CIE-LABlab(31.28, 50.66, 0.93)
CIE-LCHlch(31.28, 50.67, 1.05°)
OKLaboklab(42.8% 0.1557 0.0029)
OKLCHoklch(42.8% 0.156 1.1)
XYZxyz(12.5280, 6.7717, 7.1246)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D174A #178D5A
analogous
#8D1785 #8D174A #8D1F17
triadic
#8D174A #4A8D17 #174A8D
tetradic
#8D174A #858D17 #178D5A #1F178D
square
#8D174A #858D17 #178D5A #1F178D
split-complementary
#8D174A #178D1F #17858D
monochromatic
#240613 #580E2E #8D174A #C22066 #E03F84

Accessibility & contrast

On white

8.92
#8D174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8D174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D174A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D174A#FFFFFF#000000##FFFFFF
##8D174A1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d174a;
/* rgb */ color: rgb(141, 23, 74);
/* oklch */ color: oklch(42.8% 0.156 1.1);
Tailwind
colors: {
  custom: {
    50: '#b4637c',
    500: '#8d174a',
    950: '#000000',
  },
}
SCSS
$custom: #8d174a;
$custom-light: #b4637c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d174a",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 334.068,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42802,
    "c": 0.15574,
    "h": 1.1
  },
  "luminance": 0.0677
}

Semantic roles & 50–950 ramp

primary
#8D174A
secondary
#40C089
accent
#EFA039
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D174A

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

Preview Lab → · Contrast checker → · Palette generator →

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