#EF97D2#EF97D2

#EF97D2 is a light, vivid pink. Relative luminance 0.451; OKLCH L 78.3% C 0.128 H 340.1°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#EF97D2
RGBrgb(239, 151, 210)
HSLhsl(320, 73%, 76%)
HSVhsv(320, 37%, 94%)
CMYKcmyk(0%, 36.8%, 12.1%, 6.3%)
CIE-LABlab(72.98, 41.27, -16.35)
CIE-LCHlch(72.98, 44.39, 338.38°)
OKLaboklab(78.34% 0.1204 -0.0435)
OKLCHoklch(78.34% 0.128 340.1)
XYZxyz(58.2962, 45.1403, 66.6026)
Luminance0.4514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97D2 #97EFB4
analogous
#E097EF #EF97D2 #EF97A6
triadic
#EF97D2 #D2EF97 #97D2EF
tetradic
#EF97D2 #EFE097 #97EFB4 #97A6EF
square
#EF97D2 #EFE097 #97EFB4 #97A6EF
split-complementary
#EF97D2 #A6EF97 #97EFE0
monochromatic
#DF2DA4 #E762BB #EF97D2 #F7CCE9 #FBE4F4

Accessibility & contrast

On white

2.09
#EF97D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#EF97D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97D2
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97D2#FFFFFF#000000##000000
##EF97D21.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AABD4
Deuteranopia (green-blind)
#B0B8D0
Tritanopia (blue-blind)
#F998AC
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ef97d2;
/* rgb */ color: rgb(239, 151, 210);
/* oklch */ color: oklch(78.3% 0.128 340.1);
Tailwind
colors: {
  custom: {
    50: '#f5b7df',
    500: '#ef97d2',
    950: '#000000',
  },
}
SCSS
$custom: #ef97d2;
$custom-light: #f5b7df;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97d2",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 319.773,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78343,
    "c": 0.12805,
    "h": 340.1
  },
  "luminance": 0.45137
}

Semantic roles & 50–950 ramp

primary
#EF97D2
secondary
#D8F3E1
accent
#D55110
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EF97D2

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

Preview Lab → · Contrast checker → · Palette generator →

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