#8D173A#8D173A

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

Color values

HEX#8D173A
RGBrgb(141, 23, 58)
HSLhsl(342, 72%, 32%)
HSVhsv(342, 84%, 55%)
CMYKcmyk(0%, 83.7%, 58.9%, 44.7%)
CIE-LABlab(30.84, 49.33, 10.91)
CIE-LCHlch(30.84, 50.53, 12.47°)
OKLaboklab(42.33% 0.1496 0.0273)
OKLCHoklch(42.33% 0.152 10.4)
XYZxyz(12.0558, 6.5828, 4.6380)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D173A #178D6A
analogous
#8D1775 #8D173A #8D2F17
triadic
#8D173A #3A8D17 #173A8D
tetradic
#8D173A #758D17 #178D6A #2F178D
square
#8D173A #758D17 #178D6A #2F178D
split-complementary
#8D173A #178D2F #17758D
monochromatic
#24060F #580E24 #8D173A #C22050 #E03F6E

Accessibility & contrast

On white

9.07
#8D173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D173A
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D173A#FFFFFF#000000##FFFFFF
##8D173A1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d173a;
/* rgb */ color: rgb(141, 23, 58);
/* oklch */ color: oklch(42.3% 0.152 10.4);
Tailwind
colors: {
  custom: {
    50: '#b5626f',
    500: '#8d173a',
    950: '#000000',
  },
}
SCSS
$custom: #8d173a;
$custom-light: #b5626f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d173a",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 342.203,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42332,
    "c": 0.15204,
    "h": 10.4
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#8D173A
secondary
#40C09A
accent
#EFB939
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8D173A

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

Preview Lab → · Contrast checker → · Palette generator →

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