#8D1872#8D1872

#8D1872 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.6% C 0.175 H 339.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8D1872
RGBrgb(141, 24, 114)
HSLhsl(314, 71%, 32%)
HSVhsv(314, 83%, 55%)
CMYKcmyk(0%, 83%, 19.1%, 44.7%)
CIE-LABlab(32.99, 55.07, -22.41)
CIE-LCHlch(32.99, 59.46, 337.86°)
OKLaboklab(44.57% 0.1645 -0.0606)
OKLCHoklch(44.57% 0.175 339.8)
XYZxyz(14.3488, 7.5324, 16.6146)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1872 #188D33
analogous
#6D188D #8D1872 #8D1838
triadic
#8D1872 #728D18 #18728D
tetradic
#8D1872 #8D6D18 #188D33 #18388D
square
#8D1872 #8D6D18 #188D33 #18388D
split-complementary
#8D1872 #388D18 #188D6D
monochromatic
#24061D #590F48 #8D1872 #C1219C #DF41BA

Accessibility & contrast

On white

8.38
#8D1872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8D1872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1872
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1872#FFFFFF#000000##FFFFFF
##8D18721.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224274
Deuteranopia (green-blind)
#49546F
Tritanopia (blue-blind)
#961D45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1872;
/* rgb */ color: rgb(141, 24, 114);
/* oklch */ color: oklch(44.6% 0.175 339.8);
Tailwind
colors: {
  custom: {
    50: '#b2659b',
    500: '#8d1872',
    950: '#000000',
  },
}
SCSS
$custom: #8d1872;
$custom-light: #b2659b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1872",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 313.846,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44569,
    "c": 0.17532,
    "h": 339.8
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#8D1872
secondary
#42BF5F
accent
#EE643A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1872

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

Preview Lab → · Contrast checker → · Palette generator →

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