#8C173D#8C173D

#8C173D is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.152 H 8.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#8C173D
RGBrgb(140, 23, 61)
HSLhsl(341, 72%, 32%)
HSVhsv(341, 84%, 55%)
CMYKcmyk(0%, 83.6%, 56.4%, 45.1%)
CIE-LABlab(30.70, 49.28, 8.70)
CIE-LCHlch(30.70, 50.04, 10.01°)
OKLaboklab(42.22% 0.15 0.0221)
OKLCHoklch(42.22% 0.152 8.4)
XYZxyz(11.9651, 6.5269, 5.0438)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C173D #178C66
analogous
#8C1778 #8C173D #8C2C17
triadic
#8C173D #3D8C17 #173D8C
tetradic
#8C173D #788C17 #178C66 #2C178C
square
#8C173D #788C17 #178C66 #2C178C
split-complementary
#8C173D #178C2C #17788C
monochromatic
#23060F #570E26 #8C173D #C12054 #DF3E72

Accessibility & contrast

On white

9.11
#8C173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8C173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C173D
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C173D#FFFFFF#000000##FFFFFF
##8C173D1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393E
Deuteranopia (green-blind)
#56513A
Tritanopia (blue-blind)
#990028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8c173d;
/* rgb */ color: rgb(140, 23, 61);
/* oklch */ color: oklch(42.2% 0.152 8.4);
Tailwind
colors: {
  custom: {
    50: '#b46272',
    500: '#8c173d',
    950: '#000000',
  },
}
SCSS
$custom: #8c173d;
$custom-light: #b46272;
$custom-dark: #000000;
JSON
{
  "hex": "#8c173d",
  "rgb": {
    "r": 140,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 340.513,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42222,
    "c": 0.15161,
    "h": 8.4
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#8C173D
secondary
#3FBF96
accent
#EFB439
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8C173D

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

Preview Lab → · Contrast checker → · Palette generator →

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