#8D1876#8D1876

#8D1876 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.8% C 0.178 H 337.9°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8D1876
RGBrgb(141, 24, 118)
HSLhsl(312, 71%, 32%)
HSVhsv(312, 83%, 55%)
CMYKcmyk(0%, 83%, 16.3%, 44.7%)
CIE-LABlab(33.19, 55.64, -24.63)
CIE-LCHlch(33.19, 60.85, 336.12°)
OKLaboklab(44.78% 0.1649 -0.067)
OKLCHoklch(44.78% 0.178 337.9)
XYZxyz(14.5815, 7.6254, 17.8400)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1876 #188D2F
analogous
#6A188D #8D1876 #8D183B
triadic
#8D1876 #768D18 #18768D
tetradic
#8D1876 #8D6A18 #188D2F #183B8D
square
#8D1876 #8D6A18 #188D2F #183B8D
split-complementary
#8D1876 #3B8D18 #188D6A
monochromatic
#24061E #590F4A #8D1876 #C121A2 #DF41C0

Accessibility & contrast

On white

8.32
#8D1876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8D1876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1876
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1876#FFFFFF#000000##FFFFFF
##8D18761.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4378
Deuteranopia (green-blind)
#485473
Tritanopia (blue-blind)
#952047
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1876;
/* rgb */ color: rgb(141, 24, 118);
/* oklch */ color: oklch(44.8% 0.178 337.9);
Tailwind
colors: {
  custom: {
    50: '#b2659e',
    500: '#8d1876',
    950: '#000000',
  },
}
SCSS
$custom: #8d1876;
$custom-light: #b2659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1876",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 311.795,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44778,
    "c": 0.17798,
    "h": 337.9
  },
  "luminance": 0.07624
}

Semantic roles & 50–950 ramp

primary
#8D1876
secondary
#42BF5A
accent
#EE5D3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1876

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

Preview Lab → · Contrast checker → · Palette generator →

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