#8A174C#8A174C

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

Color values

HEX#8A174C
RGBrgb(138, 23, 76)
HSLhsl(332, 71%, 32%)
HSVhsv(332, 83%, 54%)
CMYKcmyk(0%, 83.3%, 44.9%, 45.9%)
CIE-LABlab(30.73, 50.04, -1.27)
CIE-LCHlch(30.73, 50.05, 358.55°)
OKLaboklab(42.31% 0.154 -0.0027)
OKLCHoklch(42.31% 0.154 359)
XYZxyz(12.0931, 6.5395, 7.4615)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A174C #178A55
analogous
#8A1786 #8A174C #8A1C17
triadic
#8A174C #4C8A17 #174C8A
tetradic
#8A174C #868A17 #178A55 #1C178A
square
#8A174C #868A17 #178A55 #1C178A
split-complementary
#8A174C #178A1C #17868A
monochromatic
#210612 #560E2F #8A174C #BE2069 #DF3D87

Accessibility & contrast

On white

9.10
#8A174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A174C
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A174C#FFFFFF#000000##FFFFFF
##8A174C1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333A4D
Deuteranopia (green-blind)
#525049
Tritanopia (blue-blind)
#960030
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a174c;
/* rgb */ color: rgb(138, 23, 76);
/* oklch */ color: oklch(42.3% 0.154 359.0);
Tailwind
colors: {
  custom: {
    50: '#b1637d',
    500: '#8a174c',
    950: '#000000',
  },
}
SCSS
$custom: #8a174c;
$custom-light: #b1637d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a174c",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 332.348,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42314,
    "c": 0.15398,
    "h": 359
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#8A174C
secondary
#3FBE83
accent
#EE9B3A
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A174C

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

Preview Lab → · Contrast checker → · Palette generator →

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