#8D173C#8D173C

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

Color values

HEX#8D173C
RGBrgb(141, 23, 60)
HSLhsl(341, 72%, 32%)
HSVhsv(341, 84%, 55%)
CMYKcmyk(0%, 83.7%, 57.4%, 44.7%)
CIE-LABlab(30.89, 49.48, 9.65)
CIE-LCHlch(30.89, 50.41, 11.03°)
OKLaboklab(42.38% 0.1504 0.0244)
OKLCHoklch(42.38% 0.152 9.2)
XYZxyz(12.1077, 6.6035, 4.9112)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D173C #178D68
analogous
#8D1777 #8D173C #8D2D17
triadic
#8D173C #3C8D17 #173C8D
tetradic
#8D173C #778D17 #178D68 #2D178D
square
#8D173C #778D17 #178D68 #2D178D
split-complementary
#8D173C #178D2D #17778D
monochromatic
#24060F #580E26 #8D173C #C22052 #E03F71

Accessibility & contrast

On white

9.05
#8D173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D173C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D173C#FFFFFF#000000##FFFFFF
##8D173C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A3D
Deuteranopia (green-blind)
#575139
Tritanopia (blue-blind)
#9B0028
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d173c;
/* rgb */ color: rgb(141, 23, 60);
/* oklch */ color: oklch(42.4% 0.152 9.2);
Tailwind
colors: {
  custom: {
    50: '#b56371',
    500: '#8d173c',
    950: '#000000',
  },
}
SCSS
$custom: #8d173c;
$custom-light: #b56371;
$custom-dark: #000000;
JSON
{
  "hex": "#8d173c",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 341.186,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42384,
    "c": 0.15234,
    "h": 9.2
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#8D173C
secondary
#40C098
accent
#EFB639
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8D173C

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

Preview Lab → · Contrast checker → · Palette generator →

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