#EF97DA#EF97DA

#EF97DA is a light, vivid pink. Relative luminance 0.455; OKLCH L 78.6% C 0.134 H 336.0°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#EF97DA
RGBrgb(239, 151, 218)
HSLhsl(314, 73%, 76%)
HSVhsv(314, 37%, 94%)
CMYKcmyk(0%, 36.8%, 8.8%, 6.3%)
CIE-LABlab(73.25, 42.58, -20.35)
CIE-LCHlch(73.25, 47.19, 334.46°)
OKLaboklab(78.63% 0.1227 -0.0545)
OKLCHoklch(78.63% 0.134 336)
XYZxyz(59.3178, 45.5490, 71.9834)
Luminance0.4555 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97DA #97EFAC
analogous
#D897EF #EF97DA #EF97AE
triadic
#EF97DA #DAEF97 #97DAEF
tetradic
#EF97DA #EFD897 #97EFAC #97AEEF
square
#EF97DA #EFD897 #97EFAC #97AEEF
split-complementary
#EF97DA #AEEF97 #97EFD8
monochromatic
#DF2DB4 #E762C7 #EF97DA #F7CCED #FBE4F6

Accessibility & contrast

On white

2.08
#EF97DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#EF97DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97DA
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97DA#FFFFFF#000000##000000
##EF97DA1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ACDC
Deuteranopia (green-blind)
#AEB9D7
Tritanopia (blue-blind)
#F89AAF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ef97da;
/* rgb */ color: rgb(239, 151, 218);
/* oklch */ color: oklch(78.6% 0.134 336.0);
Tailwind
colors: {
  custom: {
    50: '#f5b7e5',
    500: '#ef97da',
    950: '#000000',
  },
}
SCSS
$custom: #ef97da;
$custom-light: #f5b7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97da",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 218
  },
  "hsl": {
    "h": 314.318,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78634,
    "c": 0.1343,
    "h": 336
  },
  "luminance": 0.45546
}

Semantic roles & 50–950 ramp

primary
#EF97DA
secondary
#D8F3DF
accent
#D53F10
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171115
muted
#858084

Preview Lab

Preview with #EF97DA

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

Preview Lab → · Contrast checker → · Palette generator →

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