#E978D2#E978D2

#E978D2 is a light, vivid pink. Relative luminance 0.354; OKLCH L 73.0% C 0.175 H 335.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#E978D2
RGBrgb(233, 120, 210)
HSLhsl(312, 72%, 69%)
HSVhsv(312, 48%, 91%)
CMYKcmyk(0%, 48.5%, 9.9%, 8.6%)
CIE-LABlab(66.07, 55.07, -26.95)
CIE-LCHlch(66.07, 61.31, 333.92°)
OKLaboklab(72.99% 0.1594 -0.0728)
OKLCHoklch(72.99% 0.175 335.4)
XYZxyz(51.9537, 35.4132, 65.0593)
Luminance0.3541 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E978D2 #78E98F
analogous
#C778E9 #E978D2 #E9789A
triadic
#E978D2 #D2E978 #78D2E9
tetradic
#E978D2 #E9C778 #78E98F #789AE9
square
#E978D2 #E9C778 #78E98F #789AE9
split-complementary
#E978D2 #9AE978 #78E9C7
monochromatic
#C620A5 #E043C0 #E978D2 #F2ADE4 #FAE1F5

Accessibility & contrast

On white

2.60
#E978D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#E978D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E978D2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E978D2#FFFFFF#000000##000000
##E978D21.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7996D5
Deuteranopia (green-blind)
#98A7CF
Tritanopia (blue-blind)
#F37D9B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e978d2;
/* rgb */ color: rgb(233, 120, 210);
/* oklch */ color: oklch(73.0% 0.175 335.4);
Tailwind
colors: {
  custom: {
    50: '#f2a3e0',
    500: '#e978d2',
    950: '#000000',
  },
}
SCSS
$custom: #e978d2;
$custom-light: #f2a3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#e978d2",
  "rgb": {
    "r": 233,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 312.212,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72991,
    "c": 0.17528,
    "h": 335.4
  },
  "luminance": 0.3541
}

Semantic roles & 50–950 ramp

primary
#E978D2
secondary
#CEEFD5
accent
#D43911
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E978D2

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

Preview Lab → · Contrast checker → · Palette generator →

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