#8B1E72#8B1E72

#8B1E72 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.168 H 339.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8B1E72
RGBrgb(139, 30, 114)
HSLhsl(314, 64%, 33%)
HSVhsv(314, 78%, 55%)
CMYKcmyk(0%, 78.4%, 18%, 45.5%)
CIE-LABlab(33.21, 52.89, -22.10)
CIE-LCHlch(33.21, 57.32, 337.33°)
OKLaboklab(44.66% 0.1574 -0.0598)
OKLCHoklch(44.66% 0.168 339.2)
XYZxyz(14.1494, 7.6338, 16.6446)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E72 #1E8B37
analogous
#6D1E8B #8B1E72 #8B1E3C
triadic
#8B1E72 #728B1E #1E728B
tetradic
#8B1E72 #8B6D1E #1E8B37 #1E3C8B
square
#8B1E72 #8B6D1E #1E8B37 #1E3C8B
split-complementary
#8B1E72 #3C8B1E #1E8B6D
monochromatic
#26081F #591349 #8B1E72 #BD299B #D84BB8

Accessibility & contrast

On white

8.31
#8B1E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8B1E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E72
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E72#FFFFFF#000000##FFFFFF
##8B1E721.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254374
Deuteranopia (green-blind)
#4A5470
Tritanopia (blue-blind)
#932346
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1e72;
/* rgb */ color: rgb(139, 30, 114);
/* oklch */ color: oklch(44.7% 0.168 339.2);
Tailwind
colors: {
  custom: {
    50: '#b1679b',
    500: '#8b1e72',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e72;
$custom-light: #b1679b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e72",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 313.761,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44657,
    "c": 0.16838,
    "h": 339.2
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#8B1E72
secondary
#4ABB64
accent
#E76740
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1E72

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

Preview Lab → · Contrast checker → · Palette generator →

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