#EF97DC#EF97DC

#EF97DC is a light, vivid pink. Relative luminance 0.457; OKLCH L 78.7% C 0.136 H 335.1°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#EF97DC
RGBrgb(239, 151, 220)
HSLhsl(313, 73%, 76%)
HSVhsv(313, 37%, 94%)
CMYKcmyk(0%, 36.8%, 7.9%, 6.3%)
CIE-LABlab(73.32, 42.91, -21.34)
CIE-LCHlch(73.32, 47.93, 333.56°)
OKLaboklab(78.71% 0.1233 -0.0573)
OKLCHoklch(78.71% 0.136 335.1)
XYZxyz(59.5811, 45.6543, 73.3701)
Luminance0.4565 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97DC #97EFAA
analogous
#D697EF #EF97DC #EF97B0
triadic
#EF97DC #DCEF97 #97DCEF
tetradic
#EF97DC #EFD697 #97EFAA #97B0EF
square
#EF97DC #EFD697 #97EFAA #97B0EF
split-complementary
#EF97DC #B0EF97 #97EFD6
monochromatic
#DF2DB8 #E762CA #EF97DC #F7CCEE #FBE4F6

Accessibility & contrast

On white

2.07
#EF97DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#EF97DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97DC
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97DC#FFFFFF#000000##000000
##EF97DC1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ACDF
Deuteranopia (green-blind)
#ADB9D9
Tritanopia (blue-blind)
#F79BB0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ef97dc;
/* rgb */ color: rgb(239, 151, 220);
/* oklch */ color: oklch(78.7% 0.136 335.1);
Tailwind
colors: {
  custom: {
    50: '#f5b7e7',
    500: '#ef97dc',
    950: '#000000',
  },
}
SCSS
$custom: #ef97dc;
$custom-light: #f5b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97dc",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 312.955,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78709,
    "c": 0.13594,
    "h": 335.1
  },
  "luminance": 0.45651
}

Semantic roles & 50–950 ramp

primary
#EF97DC
secondary
#D8F3DE
accent
#D53B10
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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