#8D173B#8D173B

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

Color values

HEX#8D173B
RGBrgb(141, 23, 59)
HSLhsl(342, 72%, 32%)
HSVhsv(342, 84%, 55%)
CMYKcmyk(0%, 83.7%, 58.2%, 44.7%)
CIE-LABlab(30.86, 49.41, 10.28)
CIE-LCHlch(30.86, 50.47, 11.75°)
OKLaboklab(42.36% 0.15 0.0259)
OKLCHoklch(42.36% 0.152 9.8)
XYZxyz(12.0815, 6.5931, 4.7733)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D173B #178D69
analogous
#8D1776 #8D173B #8D2E17
triadic
#8D173B #3B8D17 #173B8D
tetradic
#8D173B #768D17 #178D69 #2E178D
square
#8D173B #768D17 #178D69 #2E178D
split-complementary
#8D173B #178D2E #17768D
monochromatic
#24060F #580E25 #8D173B #C22051 #E03F70

Accessibility & contrast

On white

9.06
#8D173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D173B
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D173B#FFFFFF#000000##FFFFFF
##8D173B1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39393C
Deuteranopia (green-blind)
#575138
Tritanopia (blue-blind)
#9B0027
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d173b;
/* rgb */ color: rgb(141, 23, 59);
/* oklch */ color: oklch(42.4% 0.152 9.8);
Tailwind
colors: {
  custom: {
    50: '#b56270',
    500: '#8d173b',
    950: '#000000',
  },
}
SCSS
$custom: #8d173b;
$custom-light: #b56270;
$custom-dark: #000000;
JSON
{
  "hex": "#8d173b",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 341.695,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42358,
    "c": 0.15219,
    "h": 9.8
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#8D173B
secondary
#40C099
accent
#EFB739
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8D173B

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

Preview Lab → · Contrast checker → · Palette generator →

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