#E978D5#E978D5

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

Color values

HEX#E978D5
RGBrgb(233, 120, 213)
HSLhsl(311, 72%, 69%)
HSVhsv(311, 48%, 91%)
CMYKcmyk(0%, 48.5%, 8.6%, 8.6%)
CIE-LABlab(66.19, 55.56, -28.45)
CIE-LCHlch(66.19, 62.42, 332.88°)
OKLaboklab(73.12% 0.1601 -0.0771)
OKLCHoklch(73.12% 0.178 334.3)
XYZxyz(52.3310, 35.5641, 67.0461)
Luminance0.3556 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E978D5 #78E98C
analogous
#C478E9 #E978D5 #E9789D
triadic
#E978D5 #D5E978 #78D5E9
tetradic
#E978D5 #E9C478 #78E98C #789DE9
square
#E978D5 #E9C478 #78E98C #789DE9
split-complementary
#E978D5 #9DE978 #78E9C4
monochromatic
#C620A9 #E043C5 #E978D5 #F2ADE5 #FAE1F6

Accessibility & contrast

On white

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

On black

8.11
#E978D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E978D5
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E978D5#FFFFFF#000000##000000
##E978D51.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7796D8
Deuteranopia (green-blind)
#97A7D2
Tritanopia (blue-blind)
#F27E9D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e978d5;
/* rgb */ color: rgb(233, 120, 213);
/* oklch */ color: oklch(73.1% 0.178 334.3);
Tailwind
colors: {
  custom: {
    50: '#f2a3e2',
    500: '#e978d5',
    950: '#000000',
  },
}
SCSS
$custom: #e978d5;
$custom-light: #f2a3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#e978d5",
  "rgb": {
    "r": 233,
    "g": 120,
    "b": 213
  },
  "hsl": {
    "h": 310.619,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73116,
    "c": 0.17765,
    "h": 334.3
  },
  "luminance": 0.35561
}

Semantic roles & 50–950 ramp

primary
#E978D5
secondary
#CEEFD4
accent
#D43411
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E978D5

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

Preview Lab → · Contrast checker → · Palette generator →

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