#8D173D#8D173D

#8D173D is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.153 H 8.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8D173D
RGBrgb(141, 23, 61)
HSLhsl(341, 72%, 32%)
HSVhsv(341, 84%, 55%)
CMYKcmyk(0%, 83.7%, 56.7%, 44.7%)
CIE-LABlab(30.91, 49.56, 9.02)
CIE-LCHlch(30.91, 50.37, 10.31°)
OKLaboklab(42.41% 0.1508 0.0229)
OKLCHoklch(42.41% 0.153 8.6)
XYZxyz(12.1344, 6.6142, 5.0517)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D173D #178D67
analogous
#8D1778 #8D173D #8D2C17
triadic
#8D173D #3D8D17 #173D8D
tetradic
#8D173D #788D17 #178D67 #2C178D
square
#8D173D #788D17 #178D67 #2C178D
split-complementary
#8D173D #178D2C #17788D
monochromatic
#24060F #580E26 #8D173D #C22054 #E03F73

Accessibility & contrast

On white

9.04
#8D173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8D173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D173D
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D173D#FFFFFF#000000##FFFFFF
##8D173D1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A3E
Deuteranopia (green-blind)
#57513A
Tritanopia (blue-blind)
#9A0028
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d173d;
/* rgb */ color: rgb(141, 23, 61);
/* oklch */ color: oklch(42.4% 0.153 8.6);
Tailwind
colors: {
  custom: {
    50: '#b56372',
    500: '#8d173d',
    950: '#000000',
  },
}
SCSS
$custom: #8d173d;
$custom-light: #b56372;
$custom-dark: #000000;
JSON
{
  "hex": "#8d173d",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 340.678,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42411,
    "c": 0.15251,
    "h": 8.6
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#8D173D
secondary
#40C097
accent
#EFB439
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8D173D

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

Preview Lab → · Contrast checker → · Palette generator →

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