#8E2978#8E2978

#8E2978 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.162 H 337.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8E2978
RGBrgb(142, 41, 120)
HSLhsl(313, 55%, 36%)
HSVhsv(313, 71%, 56%)
CMYKcmyk(0%, 71.1%, 15.5%, 44.3%)
CIE-LABlab(35.39, 50.72, -22.44)
CIE-LCHlch(35.39, 55.46, 336.13°)
OKLaboklab(46.43% 0.1497 -0.0608)
OKLCHoklch(46.43% 0.162 337.9)
XYZxyz(15.3387, 8.6941, 18.6360)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2978 #298E3F
analogous
#71298E #8E2978 #8E2945
triadic
#8E2978 #788E29 #29788E
tetradic
#8E2978 #8E7129 #298E3F #29458E
square
#8E2978 #8E7129 #298E3F #29458E
split-complementary
#8E2978 #458E29 #298E71
monochromatic
#2F0E28 #5F1B50 #8E2978 #BD37A0 #D160B9

Accessibility & contrast

On white

7.67
#8E2978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8E2978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2978
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2978#FFFFFF#000000##FFFFFF
##8E29781.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D497A
Deuteranopia (green-blind)
#4E5976
Tritanopia (blue-blind)
#962E4D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2978;
/* rgb */ color: rgb(142, 41, 120);
/* oklch */ color: oklch(46.4% 0.162 337.9);
Tailwind
colors: {
  custom: {
    50: '#b26c9f',
    500: '#8e2978',
    950: '#000000',
  },
}
SCSS
$custom: #8e2978;
$custom-light: #b26c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2978",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 313.069,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46431,
    "c": 0.16162,
    "h": 337.9
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#8E2978
secondary
#5CB770
accent
#DF6A49
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2978

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

Preview Lab → · Contrast checker → · Palette generator →

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