#8E2377#8E2377

#8E2377 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.168 H 338.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8E2377
RGBrgb(142, 35, 119)
HSLhsl(313, 60%, 35%)
HSVhsv(313, 75%, 56%)
CMYKcmyk(0%, 75.4%, 16.2%, 44.3%)
CIE-LABlab(34.57, 52.74, -23.09)
CIE-LCHlch(34.57, 57.57, 336.36°)
OKLaboklab(45.82% 0.1561 -0.0626)
OKLCHoklch(45.82% 0.168 338.1)
XYZxyz(15.0865, 8.2862, 18.2540)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2377 #238E3A
analogous
#70238E #8E2377 #8E2342
triadic
#8E2377 #778E23 #23778E
tetradic
#8E2377 #8E7023 #238E3A #23428E
square
#8E2377 #8E7023 #238E3A #23428E
split-complementary
#8E2377 #428E23 #238E70
monochromatic
#2C0B25 #5D174E #8E2377 #BF2FA0 #D556BA

Accessibility & contrast

On white

7.90
#8E2377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E2377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2377
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2377#FFFFFF#000000##FFFFFF
##8E23771.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284779
Deuteranopia (green-blind)
#4C5774
Tritanopia (blue-blind)
#96284A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e2377;
/* rgb */ color: rgb(142, 35, 119);
/* oklch */ color: oklch(45.8% 0.168 338.1);
Tailwind
colors: {
  custom: {
    50: '#b3699e',
    500: '#8e2377',
    950: '#000000',
  },
}
SCSS
$custom: #8e2377;
$custom-light: #b3699e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2377",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 312.897,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45824,
    "c": 0.1682,
    "h": 338.1
  },
  "luminance": 0.08285
}

Semantic roles & 50–950 ramp

primary
#8E2377
secondary
#53B969
accent
#E46644
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2377

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

Preview Lab → · Contrast checker → · Palette generator →

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