#EF97CC#EF97CC

#EF97CC is a light, vivid pink. Relative luminance 0.448; OKLCH L 78.1% C 0.124 H 343.5°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#EF97CC
RGBrgb(239, 151, 204)
HSLhsl(324, 73%, 76%)
HSVhsv(324, 37%, 94%)
CMYKcmyk(0%, 36.8%, 14.6%, 6.3%)
CIE-LABlab(72.79, 40.31, -13.34)
CIE-LCHlch(72.79, 42.46, 341.69°)
OKLaboklab(78.13% 0.1186 -0.0352)
OKLCHoklch(78.13% 0.124 343.5)
XYZxyz(57.5627, 44.8469, 62.7394)
Luminance0.4484 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97CC #97EFBA
analogous
#E697EF #EF97CC #EF97A0
triadic
#EF97CC #CCEF97 #97CCEF
tetradic
#EF97CC #EFE697 #97EFBA #97A0EF
square
#EF97CC #EFE697 #97EFBA #97A0EF
split-complementary
#EF97CC #A0EF97 #97EFE6
monochromatic
#DF2D98 #E762B2 #EF97CC #F7CCE6 #FBE4F2

Accessibility & contrast

On white

2.11
#EF97CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#EF97CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97CC
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97CC#FFFFFF#000000##000000
##EF97CC1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CAACE
Deuteranopia (green-blind)
#B2B8CA
Tritanopia (blue-blind)
#FA97AA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ef97cc;
/* rgb */ color: rgb(239, 151, 204);
/* oklch */ color: oklch(78.1% 0.124 343.5);
Tailwind
colors: {
  custom: {
    50: '#f5b7db',
    500: '#ef97cc',
    950: '#000000',
  },
}
SCSS
$custom: #ef97cc;
$custom-light: #f5b7db;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97cc",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 323.864,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78133,
    "c": 0.12376,
    "h": 343.5
  },
  "luminance": 0.44844
}

Semantic roles & 50–950 ramp

primary
#EF97CC
secondary
#D8F3E3
accent
#D55F10
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EF97CC

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

Preview Lab → · Contrast checker → · Palette generator →

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