#EF97CE#EF97CE

#EF97CE is a light, vivid pink. Relative luminance 0.449; OKLCH L 78.2% C 0.125 H 342.3°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#EF97CE
RGBrgb(239, 151, 206)
HSLhsl(323, 73%, 76%)
HSVhsv(323, 37%, 94%)
CMYKcmyk(0%, 36.8%, 13.8%, 6.3%)
CIE-LABlab(72.85, 40.63, -14.35)
CIE-LCHlch(72.85, 43.08, 340.55°)
OKLaboklab(78.2% 0.1192 -0.038)
OKLCHoklch(78.2% 0.125 342.3)
XYZxyz(57.8041, 44.9434, 64.0108)
Luminance0.4494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97CE #97EFB8
analogous
#E497EF #EF97CE #EF97A2
triadic
#EF97CE #CEEF97 #97CEEF
tetradic
#EF97CE #EFE497 #97EFB8 #97A2EF
square
#EF97CE #EFE497 #97EFB8 #97A2EF
split-complementary
#EF97CE #A2EF97 #97EFE4
monochromatic
#DF2D9C #E762B5 #EF97CE #F7CCE7 #FBE4F3

Accessibility & contrast

On white

2.10
#EF97CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#EF97CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97CE
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97CE#FFFFFF#000000##000000
##EF97CE1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CAAD0
Deuteranopia (green-blind)
#B2B8CC
Tritanopia (blue-blind)
#F997AB
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ef97ce;
/* rgb */ color: rgb(239, 151, 206);
/* oklch */ color: oklch(78.2% 0.125 342.3);
Tailwind
colors: {
  custom: {
    50: '#f5b7dd',
    500: '#ef97ce',
    950: '#000000',
  },
}
SCSS
$custom: #ef97ce;
$custom-light: #f5b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97ce",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 322.5,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78202,
    "c": 0.12515,
    "h": 342.3
  },
  "luminance": 0.4494
}

Semantic roles & 50–950 ramp

primary
#EF97CE
secondary
#D8F3E2
accent
#D55A10
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EF97CE

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

Preview Lab → · Contrast checker → · Palette generator →

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