#8D173F#8D173F

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

Color values

HEX#8D173F
RGBrgb(141, 23, 63)
HSLhsl(340, 72%, 32%)
HSVhsv(340, 84%, 55%)
CMYKcmyk(0%, 83.7%, 55.3%, 44.7%)
CIE-LABlab(30.96, 49.71, 7.76)
CIE-LCHlch(30.96, 50.32, 8.87°)
OKLaboklab(42.47% 0.1516 0.0199)
OKLCHoklch(42.47% 0.153 7.5)
XYZxyz(12.1893, 6.6362, 5.3407)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D173F #178D65
analogous
#8D177A #8D173F #8D2A17
triadic
#8D173F #3F8D17 #173F8D
tetradic
#8D173F #7A8D17 #178D65 #2A178D
square
#8D173F #7A8D17 #178D65 #2A178D
split-complementary
#8D173F #178D2A #177A8D
monochromatic
#240610 #580E27 #8D173F #C22057 #E03F75

Accessibility & contrast

On white

9.03
#8D173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8D173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D173F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D173F#FFFFFF#000000##FFFFFF
##8D173F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A40
Deuteranopia (green-blind)
#56513C
Tritanopia (blue-blind)
#9A0029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d173f;
/* rgb */ color: rgb(141, 23, 63);
/* oklch */ color: oklch(42.5% 0.153 7.5);
Tailwind
colors: {
  custom: {
    50: '#b46373',
    500: '#8d173f',
    950: '#000000',
  },
}
SCSS
$custom: #8d173f;
$custom-light: #b46373;
$custom-dark: #000000;
JSON
{
  "hex": "#8d173f",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 339.661,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42466,
    "c": 0.15288,
    "h": 7.5
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#8D173F
secondary
#40C095
accent
#EFB139
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D173F

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

Preview Lab → · Contrast checker → · Palette generator →

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