#E978D6#E978D6

#E978D6 is a light, vivid pink. Relative luminance 0.356; OKLCH L 73.2% C 0.178 H 333.9°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#E978D6
RGBrgb(233, 120, 214)
HSLhsl(310, 72%, 69%)
HSVhsv(310, 48%, 91%)
CMYKcmyk(0%, 48.5%, 8.2%, 8.6%)
CIE-LABlab(66.22, 55.72, -28.95)
CIE-LCHlch(66.22, 62.79, 332.55°)
OKLaboklab(73.16% 0.1603 -0.0785)
OKLCHoklch(73.16% 0.178 333.9)
XYZxyz(52.4583, 35.6150, 67.7166)
Luminance0.3561 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E978D6 #78E98B
analogous
#C378E9 #E978D6 #E9789E
triadic
#E978D6 #D6E978 #78D6E9
tetradic
#E978D6 #E9C378 #78E98B #789EE9
square
#E978D6 #E9C378 #78E98B #789EE9
split-complementary
#E978D6 #9EE978 #78E9C3
monochromatic
#C620AA #E043C6 #E978D6 #F2ADE6 #FAE1F6

Accessibility & contrast

On white

2.59
#E978D6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#E978D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E978D6
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E978D6#FFFFFF#000000##000000
##E978D61.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7797D9
Deuteranopia (green-blind)
#97A7D3
Tritanopia (blue-blind)
#F27E9D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e978d6;
/* rgb */ color: rgb(233, 120, 214);
/* oklch */ color: oklch(73.2% 0.178 333.9);
Tailwind
colors: {
  custom: {
    50: '#f2a3e3',
    500: '#e978d6',
    950: '#000000',
  },
}
SCSS
$custom: #e978d6;
$custom-light: #f2a3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#e978d6",
  "rgb": {
    "r": 233,
    "g": 120,
    "b": 214
  },
  "hsl": {
    "h": 310.088,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73158,
    "c": 0.17845,
    "h": 333.9
  },
  "luminance": 0.35612
}

Semantic roles & 50–950 ramp

primary
#E978D6
secondary
#CEEFD3
accent
#D43211
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E978D6

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

Preview Lab → · Contrast checker → · Palette generator →

#E978D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva