#8E1775#8E1775

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

Color values

HEX#8E1775
RGBrgb(142, 23, 117)
HSLhsl(313, 72%, 32%)
HSVhsv(313, 84%, 56%)
CMYKcmyk(0%, 83.8%, 17.6%, 44.3%)
CIE-LABlab(33.24, 55.97, -23.90)
CIE-LCHlch(33.24, 60.86, 336.88°)
OKLaboklab(44.83% 0.1665 -0.0649)
OKLCHoklch(44.83% 0.179 338.7)
XYZxyz(14.6730, 7.6494, 17.5299)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1775 #178E30
analogous
#6C178E #8E1775 #8E173A
triadic
#8E1775 #758E17 #17758E
tetradic
#8E1775 #8E6C17 #178E30 #173A8E
square
#8E1775 #8E6C17 #178E30 #173A8E
split-complementary
#8E1775 #3A8E17 #178E6C
monochromatic
#25061E #590E4A #8E1775 #C320A0 #E03FBE

Accessibility & contrast

On white

8.30
#8E1775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1775
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1775#FFFFFF#000000##FFFFFF
##8E17751.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4377
Deuteranopia (green-blind)
#495572
Tritanopia (blue-blind)
#961E46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1775;
/* rgb */ color: rgb(142, 23, 117);
/* oklch */ color: oklch(44.8% 0.179 338.7);
Tailwind
colors: {
  custom: {
    50: '#b3659d',
    500: '#8e1775',
    950: '#000000',
  },
}
SCSS
$custom: #8e1775;
$custom-light: #b3659d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1775",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 312.605,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44834,
    "c": 0.17871,
    "h": 338.7
  },
  "luminance": 0.07648
}

Semantic roles & 50–950 ramp

primary
#8E1775
secondary
#40C05B
accent
#EF5F39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1775

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

Preview Lab → · Contrast checker → · Palette generator →

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