#EF97DE#EF97DE

#EF97DE is a light, vivid pink. Relative luminance 0.458; OKLCH L 78.8% C 0.138 H 334.1°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#EF97DE
RGBrgb(239, 151, 222)
HSLhsl(312, 73%, 76%)
HSVhsv(312, 37%, 94%)
CMYKcmyk(0%, 36.8%, 7.1%, 6.3%)
CIE-LABlab(73.39, 43.25, -22.33)
CIE-LCHlch(73.39, 48.68, 332.69°)
OKLaboklab(78.78% 0.1238 -0.0601)
OKLCHoklch(78.78% 0.138 334.1)
XYZxyz(59.8476, 45.7609, 74.7734)
Luminance0.4576 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97DE #97EFA8
analogous
#D497EF #EF97DE #EF97B2
triadic
#EF97DE #DEEF97 #97DEEF
tetradic
#EF97DE #EFD497 #97EFA8 #97B2EF
square
#EF97DE #EFD497 #97EFA8 #97B2EF
split-complementary
#EF97DE #B2EF97 #97EFD4
monochromatic
#DF2DBC #E762CD #EF97DE #F7CCEF #FBE4F7

Accessibility & contrast

On white

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

On black

10.15
#EF97DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97DE
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97DE#FFFFFF#000000##000000
##EF97DE1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ACE1
Deuteranopia (green-blind)
#ADB9DB
Tritanopia (blue-blind)
#F79BB1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ef97de;
/* rgb */ color: rgb(239, 151, 222);
/* oklch */ color: oklch(78.8% 0.138 334.1);
Tailwind
colors: {
  custom: {
    50: '#f5b7e8',
    500: '#ef97de',
    950: '#000000',
  },
}
SCSS
$custom: #ef97de;
$custom-light: #f5b7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97de",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 222
  },
  "hsl": {
    "h": 311.591,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78784,
    "c": 0.13761,
    "h": 334.1
  },
  "luminance": 0.45758
}

Semantic roles & 50–950 ramp

primary
#EF97DE
secondary
#D8F3DD
accent
#D53610
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF97DE

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

Preview Lab → · Contrast checker → · Palette generator →

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