#8C173F#8C173F

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

Color values

HEX#8C173F
RGBrgb(140, 23, 63)
HSLhsl(339, 72%, 32%)
HSVhsv(339, 84%, 55%)
CMYKcmyk(0%, 83.6%, 55%, 45.1%)
CIE-LABlab(30.76, 49.43, 7.44)
CIE-LCHlch(30.76, 49.99, 8.56°)
OKLaboklab(42.28% 0.1508 0.0191)
OKLCHoklch(42.28% 0.152 7.2)
XYZxyz(12.0200, 6.5489, 5.3328)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C173F #178C64
analogous
#8C177A #8C173F #8C2A17
triadic
#8C173F #3F8C17 #173F8C
tetradic
#8C173F #7A8C17 #178C64 #2A178C
square
#8C173F #7A8C17 #178C64 #2A178C
split-complementary
#8C173F #178C2A #177A8C
monochromatic
#230610 #570E27 #8C173F #C12057 #DF3E75

Accessibility & contrast

On white

9.09
#8C173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C173F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C173F#FFFFFF#000000##FFFFFF
##8C173F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A40
Deuteranopia (green-blind)
#56513C
Tritanopia (blue-blind)
#990029
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8c173f;
/* rgb */ color: rgb(140, 23, 63);
/* oklch */ color: oklch(42.3% 0.152 7.2);
Tailwind
colors: {
  custom: {
    50: '#b46273',
    500: '#8c173f',
    950: '#000000',
  },
}
SCSS
$custom: #8c173f;
$custom-light: #b46273;
$custom-dark: #000000;
JSON
{
  "hex": "#8c173f",
  "rgb": {
    "r": 140,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 339.487,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42277,
    "c": 0.15199,
    "h": 7.2
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#8C173F
secondary
#3FBF94
accent
#EFB139
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8C173F

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

Preview Lab → · Contrast checker → · Palette generator →

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