#8C173C#8C173C

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

Color values

HEX#8C173C
RGBrgb(140, 23, 60)
HSLhsl(341, 72%, 32%)
HSVhsv(341, 84%, 55%)
CMYKcmyk(0%, 83.6%, 57.1%, 45.1%)
CIE-LABlab(30.68, 49.20, 9.33)
CIE-LCHlch(30.68, 50.08, 10.73°)
OKLaboklab(42.2% 0.1496 0.0236)
OKLCHoklch(42.2% 0.151 9)
XYZxyz(11.9384, 6.5162, 4.9032)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C173C #178C67
analogous
#8C1777 #8C173C #8C2D17
triadic
#8C173C #3C8C17 #173C8C
tetradic
#8C173C #778C17 #178C67 #2D178C
square
#8C173C #778C17 #178C67 #2D178C
split-complementary
#8C173C #178C2D #17778C
monochromatic
#23060F #570E25 #8C173C #C12053 #DF3E71

Accessibility & contrast

On white

9.12
#8C173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8C173C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C173C
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C173C#FFFFFF#000000##FFFFFF
##8C173C1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393D
Deuteranopia (green-blind)
#565139
Tritanopia (blue-blind)
#990028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8c173c;
/* rgb */ color: rgb(140, 23, 60);
/* oklch */ color: oklch(42.2% 0.151 9.0);
Tailwind
colors: {
  custom: {
    50: '#b46271',
    500: '#8c173c',
    950: '#000000',
  },
}
SCSS
$custom: #8c173c;
$custom-light: #b46271;
$custom-dark: #000000;
JSON
{
  "hex": "#8c173c",
  "rgb": {
    "r": 140,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 341.026,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42195,
    "c": 0.15144,
    "h": 9
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#8C173C
secondary
#3FBF97
accent
#EFB539
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8C173C

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

Preview Lab → · Contrast checker → · Palette generator →

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