#8D1752#8D1752

#8D1752 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.159 H 356.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#8D1752
RGBrgb(141, 23, 82)
HSLhsl(330, 72%, 32%)
HSVhsv(330, 84%, 55%)
CMYKcmyk(0%, 83.7%, 41.8%, 44.7%)
CIE-LABlab(31.55, 51.44, -3.95)
CIE-LCHlch(31.55, 51.59, 355.61°)
OKLaboklab(43.08% 0.1584 -0.0097)
OKLCHoklch(43.08% 0.159 356.5)
XYZxyz(12.8148, 6.8864, 8.6354)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1752 #178D52
analogous
#8D178D #8D1752 #8D1717
triadic
#8D1752 #528D17 #17528D
tetradic
#8D1752 #8D8D17 #178D52 #17178D
square
#8D1752 #8D8D17 #178D52 #17178D
split-complementary
#8D1752 #178D17 #178D8D
monochromatic
#240615 #580E33 #8D1752 #C22071 #E03F8F

Accessibility & contrast

On white

8.83
#8D1752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8D1752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1752
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1752#FFFFFF#000000##FFFFFF
##8D17521.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#53524F
Tritanopia (blue-blind)
#990033
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1752;
/* rgb */ color: rgb(141, 23, 82);
/* oklch */ color: oklch(43.1% 0.159 356.5);
Tailwind
colors: {
  custom: {
    50: '#b36382',
    500: '#8d1752',
    950: '#000000',
  },
}
SCSS
$custom: #8d1752;
$custom-light: #b36382;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1752",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 330,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43083,
    "c": 0.15869,
    "h": 356.5
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#8D1752
secondary
#40C080
accent
#EF9439
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8D1752

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

Preview Lab → · Contrast checker → · Palette generator →

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