#8E1773#8E1773

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

Color values

HEX#8E1773
RGBrgb(142, 23, 115)
HSLhsl(314, 72%, 32%)
HSVhsv(314, 84%, 56%)
CMYKcmyk(0%, 83.8%, 19%, 44.3%)
CIE-LABlab(33.14, 55.69, -22.79)
CIE-LCHlch(33.14, 60.18, 337.74°)
OKLaboklab(44.73% 0.1663 -0.0617)
OKLCHoklch(44.73% 0.177 339.6)
XYZxyz(14.5567, 7.6029, 16.9172)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1773 #178E32
analogous
#6D178E #8E1773 #8E1738
triadic
#8E1773 #738E17 #17738E
tetradic
#8E1773 #8E6D17 #178E32 #17388E
square
#8E1773 #8E6D17 #178E32 #17388E
split-complementary
#8E1773 #388E17 #178E6D
monochromatic
#25061E #590E48 #8E1773 #C3209E #E03FBC

Accessibility & contrast

On white

8.33
#8E1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1773
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1773#FFFFFF#000000##FFFFFF
##8E17731.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214275
Deuteranopia (green-blind)
#4A5470
Tritanopia (blue-blind)
#971D45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1773;
/* rgb */ color: rgb(142, 23, 115);
/* oklch */ color: oklch(44.7% 0.177 339.6);
Tailwind
colors: {
  custom: {
    50: '#b3659b',
    500: '#8e1773',
    950: '#000000',
  },
}
SCSS
$custom: #8e1773;
$custom-light: #b3659b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1773",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 313.613,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44729,
    "c": 0.1774,
    "h": 339.6
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#8E1773
secondary
#40C05D
accent
#EF6239
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1773

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

Preview Lab → · Contrast checker → · Palette generator →

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