#8D1870#8D1870

#8D1870 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.174 H 340.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8D1870
RGBrgb(141, 24, 112)
HSLhsl(315, 71%, 32%)
HSVhsv(315, 83%, 55%)
CMYKcmyk(0%, 83%, 20.6%, 44.7%)
CIE-LABlab(32.89, 54.80, -21.29)
CIE-LCHlch(32.89, 58.79, 338.77°)
OKLaboklab(44.47% 0.1643 -0.0575)
OKLCHoklch(44.47% 0.174 340.7)
XYZxyz(14.2362, 7.4873, 16.0216)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1870 #188D35
analogous
#70188D #8D1870 #8D1835
triadic
#8D1870 #708D18 #18708D
tetradic
#8D1870 #8D7018 #188D35 #18358D
square
#8D1870 #8D7018 #188D35 #18358D
split-complementary
#8D1870 #358D18 #188D70
monochromatic
#24061D #590F46 #8D1870 #C1219A #DF41B7

Accessibility & contrast

On white

8.41
#8D1870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8D1870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1870
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1870#FFFFFF#000000##FFFFFF
##8D18701.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234272
Deuteranopia (green-blind)
#4A546D
Tritanopia (blue-blind)
#961C43
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1870;
/* rgb */ color: rgb(141, 24, 112);
/* oklch */ color: oklch(44.5% 0.174 340.7);
Tailwind
colors: {
  custom: {
    50: '#b26599',
    500: '#8d1870',
    950: '#000000',
  },
}
SCSS
$custom: #8d1870;
$custom-light: #b26599;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1870",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 314.872,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.17401,
    "h": 340.7
  },
  "luminance": 0.07486
}

Semantic roles & 50–950 ramp

primary
#8D1870
secondary
#42BF61
accent
#EE673A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1870

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

Preview Lab → · Contrast checker → · Palette generator →

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