#8D174F#8D174F

#8D174F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.158 H 358.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8D174F
RGBrgb(141, 23, 79)
HSLhsl(332, 72%, 32%)
HSVhsv(332, 84%, 55%)
CMYKcmyk(0%, 83.7%, 44%, 44.7%)
CIE-LABlab(31.44, 51.14, -2.13)
CIE-LCHlch(31.44, 51.19, 357.61°)
OKLaboklab(42.97% 0.1574 -0.005)
OKLCHoklch(42.97% 0.158 358.2)
XYZxyz(12.7032, 6.8417, 8.0473)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D174F #178D55
analogous
#8D178A #8D174F #8D1A17
triadic
#8D174F #4F8D17 #174F8D
tetradic
#8D174F #8A8D17 #178D55 #1A178D
square
#8D174F #8A8D17 #178D55 #1A178D
split-complementary
#8D174F #178D1A #178A8D
monochromatic
#240614 #580E32 #8D174F #C2206C #E03F8B

Accessibility & contrast

On white

8.87
#8D174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8D174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D174F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D174F#FFFFFF#000000##FFFFFF
##8D174F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C50
Deuteranopia (green-blind)
#53524C
Tritanopia (blue-blind)
#990031
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d174f;
/* rgb */ color: rgb(141, 23, 79);
/* oklch */ color: oklch(43.0% 0.158 358.2);
Tailwind
colors: {
  custom: {
    50: '#b46380',
    500: '#8d174f',
    950: '#000000',
  },
}
SCSS
$custom: #8d174f;
$custom-light: #b46380;
$custom-dark: #000000;
JSON
{
  "hex": "#8d174f",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 331.525,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42974,
    "c": 0.1575,
    "h": 358.2
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

primary
#8D174F
secondary
#40C083
accent
#EF9939
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8D174F

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

Preview Lab → · Contrast checker → · Palette generator →

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