#8C174C#8C174C

#8C174C is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.156 H 359.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#8C174C
RGBrgb(140, 23, 76)
HSLhsl(333, 72%, 32%)
HSVhsv(333, 84%, 55%)
CMYKcmyk(0%, 83.6%, 45.7%, 45.1%)
CIE-LABlab(31.14, 50.58, -0.62)
CIE-LCHlch(31.14, 50.58, 359.29°)
OKLaboklab(42.68% 0.1556 -0.001)
OKLCHoklch(42.68% 0.156 359.6)
XYZxyz(12.4271, 6.7117, 7.4772)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C174C #178C57
analogous
#8C1786 #8C174C #8C1D17
triadic
#8C174C #4C8C17 #174C8C
tetradic
#8C174C #868C17 #178C57 #1D178C
square
#8C174C #868C17 #178C57 #1D178C
split-complementary
#8C174C #178C1D #17868C
monochromatic
#230613 #570E2F #8C174C #C12069 #DF3E87

Accessibility & contrast

On white

8.97
#8C174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8C174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C174C
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C174C#FFFFFF#000000##FFFFFF
##8C174C1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4D
Deuteranopia (green-blind)
#535149
Tritanopia (blue-blind)
#980030
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8c174c;
/* rgb */ color: rgb(140, 23, 76);
/* oklch */ color: oklch(42.7% 0.156 359.6);
Tailwind
colors: {
  custom: {
    50: '#b3637d',
    500: '#8c174c',
    950: '#000000',
  },
}
SCSS
$custom: #8c174c;
$custom-light: #b3637d;
$custom-dark: #000000;
JSON
{
  "hex": "#8c174c",
  "rgb": {
    "r": 140,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 332.821,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42684,
    "c": 0.1556,
    "h": 359.6
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#8C174C
secondary
#3FBF85
accent
#EF9C39
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8C174C

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

Preview Lab → · Contrast checker → · Palette generator →

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