#EA97DC#EA97DC

#EA97DC is a light, vivid pink. Relative luminance 0.448; OKLCH L 78.2% C 0.132 H 333.0°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#EA97DC
RGBrgb(234, 151, 220)
HSLhsl(310, 66%, 75%)
HSVhsv(310, 35%, 92%)
CMYKcmyk(0%, 35.5%, 6%, 8.2%)
CIE-LABlab(72.76, 41.32, -22.25)
CIE-LCHlch(72.76, 46.93, 331.70°)
OKLaboklab(78.16% 0.1177 -0.0599)
OKLCHoklch(78.16% 0.132 333)
XYZxyz(57.9160, 44.7957, 73.2920)
Luminance0.4479 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA97DC #97EAA5
analogous
#CE97EA #EA97DC #EA97B3
triadic
#EA97DC #DCEA97 #97DCEA
tetradic
#EA97DC #EACE97 #97EAA5 #97B3EA
square
#EA97DC #EACE97 #97EAA5 #97B3EA
split-complementary
#EA97DC #B3EA97 #97EACE
monochromatic
#D531BA #E064CB #EA97DC #F4CAED #FAE6F6

Accessibility & contrast

On white

2.11
#EA97DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#EA97DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA97DC
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA97DC#FFFFFF#000000##000000
##EA97DC1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ABDF
Deuteranopia (green-blind)
#ABB7D9
Tritanopia (blue-blind)
#F19BB0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ea97dc;
/* rgb */ color: rgb(234, 151, 220);
/* oklch */ color: oklch(78.2% 0.132 333.0);
Tailwind
colors: {
  custom: {
    50: '#f2b7e7',
    500: '#ea97dc',
    950: '#000000',
  },
}
SCSS
$custom: #ea97dc;
$custom-light: #f2b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ea97dc",
  "rgb": {
    "r": 234,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 310.12,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78159,
    "c": 0.13207,
    "h": 333
  },
  "luminance": 0.44793
}

Semantic roles & 50–950 ramp

primary
#EA97DC
secondary
#DAF1DE
accent
#CE3617
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EA97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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