#8D174E#8D174E

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

Color values

HEX#8D174E
RGBrgb(141, 23, 78)
HSLhsl(332, 72%, 32%)
HSVhsv(332, 84%, 55%)
CMYKcmyk(0%, 83.7%, 44.7%, 44.7%)
CIE-LABlab(31.41, 51.04, -1.52)
CIE-LCHlch(31.41, 51.06, 358.29°)
OKLaboklab(42.94% 0.1571 -0.0034)
OKLCHoklch(42.94% 0.157 358.8)
XYZxyz(12.6671, 6.8273, 7.8570)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D174E #178D56
analogous
#8D1789 #8D174E #8D1B17
triadic
#8D174E #4E8D17 #174E8D
tetradic
#8D174E #898D17 #178D56 #1B178D
square
#8D174E #898D17 #178D56 #1B178D
split-complementary
#8D174E #178D1B #17898D
monochromatic
#240614 #580E31 #8D174E #C2206B #E03F8A

Accessibility & contrast

On white

8.88
#8D174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8D174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D174E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D174E#FFFFFF#000000##FFFFFF
##8D174E1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C4F
Deuteranopia (green-blind)
#54524B
Tritanopia (blue-blind)
#990031
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d174e;
/* rgb */ color: rgb(141, 23, 78);
/* oklch */ color: oklch(42.9% 0.157 358.8);
Tailwind
colors: {
  custom: {
    50: '#b4637f',
    500: '#8d174e',
    950: '#000000',
  },
}
SCSS
$custom: #8d174e;
$custom-light: #b4637f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d174e",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 332.034,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42939,
    "c": 0.15713,
    "h": 358.8
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#8D174E
secondary
#40C084
accent
#EF9A39
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8D174E

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

Preview Lab → · Contrast checker → · Palette generator →

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