#8C174A#8C174A

#8C174A is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.155 H 0.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8C174A
RGBrgb(140, 23, 74)
HSLhsl(334, 72%, 32%)
HSVhsv(334, 84%, 55%)
CMYKcmyk(0%, 83.6%, 47.1%, 45.1%)
CIE-LABlab(31.08, 50.39, 0.60)
CIE-LCHlch(31.08, 50.39, 0.69°)
OKLaboklab(42.62% 0.1549 0.0021)
OKLCHoklch(42.62% 0.155 0.8)
XYZxyz(12.3587, 6.6844, 7.1167)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C174A #178C59
analogous
#8C1785 #8C174A #8C1F17
triadic
#8C174A #4A8C17 #174A8C
tetradic
#8C174A #858C17 #178C59 #1F178C
square
#8C174A #858C17 #178C59 #1F178C
split-complementary
#8C174A #178C1F #17858C
monochromatic
#230612 #570E2E #8C174A #C12066 #DF3E84

Accessibility & contrast

On white

8.99
#8C174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C174A
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C174A#FFFFFF#000000##FFFFFF
##8C174A1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4B
Deuteranopia (green-blind)
#545147
Tritanopia (blue-blind)
#99002F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8c174a;
/* rgb */ color: rgb(140, 23, 74);
/* oklch */ color: oklch(42.6% 0.155 0.8);
Tailwind
colors: {
  custom: {
    50: '#b3637c',
    500: '#8c174a',
    950: '#000000',
  },
}
SCSS
$custom: #8c174a;
$custom-light: #b3637c;
$custom-dark: #000000;
JSON
{
  "hex": "#8c174a",
  "rgb": {
    "r": 140,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 333.846,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42616,
    "c": 0.15492,
    "h": 0.8
  },
  "luminance": 0.06683
}

Semantic roles & 50–950 ramp

primary
#8C174A
secondary
#3FBF88
accent
#EFA039
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8C174A

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

Preview Lab → · Contrast checker → · Palette generator →

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