#EF97DB#EF97DB

#EF97DB is a light, vivid pink. Relative luminance 0.456; OKLCH L 78.7% C 0.135 H 335.5°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#EF97DB
RGBrgb(239, 151, 219)
HSLhsl(314, 73%, 76%)
HSVhsv(314, 37%, 94%)
CMYKcmyk(0%, 36.8%, 8.4%, 6.3%)
CIE-LABlab(73.29, 42.75, -20.84)
CIE-LCHlch(73.29, 47.56, 334.01°)
OKLaboklab(78.67% 0.123 -0.0559)
OKLCHoklch(78.67% 0.135 335.5)
XYZxyz(59.4491, 45.6015, 72.6747)
Luminance0.4560 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97DB #97EFAB
analogous
#D797EF #EF97DB #EF97AF
triadic
#EF97DB #DBEF97 #97DBEF
tetradic
#EF97DB #EFD797 #97EFAB #97AFEF
square
#EF97DB #EFD797 #97EFAB #97AFEF
split-complementary
#EF97DB #AFEF97 #97EFD7
monochromatic
#DF2DB6 #E762C9 #EF97DB #F7CCED #FBE4F6

Accessibility & contrast

On white

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

On black

10.12
#EF97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97DB
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97DB#FFFFFF#000000##000000
##EF97DB1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ACDE
Deuteranopia (green-blind)
#AEB9D8
Tritanopia (blue-blind)
#F79AB0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ef97db;
/* rgb */ color: rgb(239, 151, 219);
/* oklch */ color: oklch(78.7% 0.135 335.5);
Tailwind
colors: {
  custom: {
    50: '#f5b7e6',
    500: '#ef97db',
    950: '#000000',
  },
}
SCSS
$custom: #ef97db;
$custom-light: #f5b7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97db",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 313.636,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78671,
    "c": 0.13512,
    "h": 335.5
  },
  "luminance": 0.45598
}

Semantic roles & 50–950 ramp

primary
#EF97DB
secondary
#D8F3DE
accent
#D53D10
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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