#E978C7#E978C7

#E978C7 is a light, vivid pink. Relative luminance 0.349; OKLCH L 72.5% C 0.167 H 339.9°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#E978C7
RGBrgb(233, 120, 199)
HSLhsl(318, 72%, 69%)
HSVhsv(318, 48%, 91%)
CMYKcmyk(0%, 48.5%, 14.6%, 8.6%)
CIE-LABlab(65.66, 53.34, -21.42)
CIE-LCHlch(65.66, 57.48, 338.12°)
OKLaboklab(72.55% 0.1569 -0.0573)
OKLCHoklch(72.55% 0.167 339.9)
XYZxyz(50.6301, 34.8837, 58.0883)
Luminance0.3488 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E978C7 #78E99A
analogous
#D378E9 #E978C7 #E9788F
triadic
#E978C7 #C7E978 #78C7E9
tetradic
#E978C7 #E9D378 #78E99A #788FE9
square
#E978C7 #E9D378 #78E99A #788FE9
split-complementary
#E978C7 #8FE978 #78E9D3
monochromatic
#C62094 #E043B1 #E978C7 #F2ADDD #FAE1F3

Accessibility & contrast

On white

2.63
#E978C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#E978C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E978C7
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E978C7#FFFFFF#000000##000000
##E978C71.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D94CA
Deuteranopia (green-blind)
#9CA6C4
Tritanopia (blue-blind)
#F47A97
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e978c7;
/* rgb */ color: rgb(233, 120, 199);
/* oklch */ color: oklch(72.5% 0.167 339.9);
Tailwind
colors: {
  custom: {
    50: '#f2a2d8',
    500: '#e978c7',
    950: '#000000',
  },
}
SCSS
$custom: #e978c7;
$custom-light: #f2a2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#e978c7",
  "rgb": {
    "r": 233,
    "g": 120,
    "b": 199
  },
  "hsl": {
    "h": 318.053,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7255,
    "c": 0.16701,
    "h": 339.9
  },
  "luminance": 0.3488
}

Semantic roles & 50–950 ramp

primary
#E978C7
secondary
#CEEFD8
accent
#D44C11
background
#FFFAFD
surface
#FEF4FA
border
#D6CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #E978C7

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

Preview Lab → · Contrast checker → · Palette generator →

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