#8D1572#8D1572

#8D1572 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.178 H 339.7°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8D1572
RGBrgb(141, 21, 114)
HSLhsl(314, 74%, 32%)
HSVhsv(314, 85%, 55%)
CMYKcmyk(0%, 85.1%, 19.1%, 44.7%)
CIE-LABlab(32.73, 55.81, -22.81)
CIE-LCHlch(32.73, 60.29, 337.77°)
OKLaboklab(44.39% 0.1667 -0.0618)
OKLCHoklch(44.39% 0.178 339.7)
XYZxyz(14.2904, 7.4154, 16.5951)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1572 #158D30
analogous
#6C158D #8D1572 #8D1536
triadic
#8D1572 #728D15 #15728D
tetradic
#8D1572 #8D6C15 #158D30 #15368D
square
#8D1572 #8D6C15 #158D30 #15368D
split-complementary
#8D1572 #368D15 #158D6C
monochromatic
#22051C #580D47 #8D1572 #C21D9D #E23BBC

Accessibility & contrast

On white

8.46
#8D1572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8D1572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1572
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1572#FFFFFF#000000##FFFFFF
##8D15721.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4174
Deuteranopia (green-blind)
#49546F
Tritanopia (blue-blind)
#961B44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1572;
/* rgb */ color: rgb(141, 21, 114);
/* oklch */ color: oklch(44.4% 0.178 339.7);
Tailwind
colors: {
  custom: {
    50: '#b2649b',
    500: '#8d1572',
    950: '#000000',
  },
}
SCSS
$custom: #8d1572;
$custom-light: #b2649b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1572",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 313.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44386,
    "c": 0.1778,
    "h": 339.7
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#8D1572
secondary
#3DC15B
accent
#F16137
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1572

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

Preview Lab → · Contrast checker → · Palette generator →

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