#8B1872#8B1872

#8B1872 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.174 H 339.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8B1872
RGBrgb(139, 24, 114)
HSLhsl(313, 71%, 32%)
HSVhsv(313, 83%, 55%)
CMYKcmyk(0%, 82.7%, 18%, 45.5%)
CIE-LABlab(32.61, 54.61, -23.03)
CIE-LCHlch(32.61, 59.27, 337.13°)
OKLaboklab(44.23% 0.1626 -0.0624)
OKLCHoklch(44.23% 0.174 339)
XYZxyz(14.0117, 7.3586, 16.5987)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1872 #188B31
analogous
#6A188B #8B1872 #8B1839
triadic
#8B1872 #728B18 #18728B
tetradic
#8B1872 #8B6A18 #188B31 #18398B
square
#8B1872 #8B6A18 #188B31 #18398B
split-complementary
#8B1872 #398B18 #188B6A
monochromatic
#23061C #570F47 #8B1872 #BF219D #DE3FBB

Accessibility & contrast

On white

8.50
#8B1872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8B1872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1872
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1872#FFFFFF#000000##FFFFFF
##8B18721.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204174
Deuteranopia (green-blind)
#48536F
Tritanopia (blue-blind)
#931E45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1872;
/* rgb */ color: rgb(139, 24, 114);
/* oklch */ color: oklch(44.2% 0.174 339.0);
Tailwind
colors: {
  custom: {
    50: '#b1659b',
    500: '#8b1872',
    950: '#000000',
  },
}
SCSS
$custom: #8b1872;
$custom-light: #b1659b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1872",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 313.043,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44226,
    "c": 0.17417,
    "h": 339
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#8B1872
secondary
#40BE5C
accent
#ED613A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1872

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

Preview Lab → · Contrast checker → · Palette generator →

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