#EF97CB#EF97CB

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

Color values

HEX#EF97CB
RGBrgb(239, 151, 203)
HSLhsl(325, 73%, 76%)
HSVhsv(325, 37%, 94%)
CMYKcmyk(0%, 36.8%, 15.1%, 6.3%)
CIE-LABlab(72.76, 40.15, -12.83)
CIE-LCHlch(72.76, 42.15, 342.27°)
OKLaboklab(78.1% 0.1183 -0.0339)
OKLCHoklch(78.1% 0.123 344)
XYZxyz(57.4431, 44.7991, 62.1098)
Luminance0.4480 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97CB #97EFBB
analogous
#E797EF #EF97CB #EF979F
triadic
#EF97CB #CBEF97 #97CBEF
tetradic
#EF97CB #EFE797 #97EFBB #979FEF
square
#EF97CB #EFE797 #97EFBB #979FEF
split-complementary
#EF97CB #9FEF97 #97EFE7
monochromatic
#DF2D96 #E762B0 #EF97CB #F7CCE6 #FBE4F2

Accessibility & contrast

On white

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

On black

9.96
#EF97CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97CB
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97CB#FFFFFF#000000##000000
##EF97CB1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DAACD
Deuteranopia (green-blind)
#B2B8C9
Tritanopia (blue-blind)
#FA97AA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ef97cb;
/* rgb */ color: rgb(239, 151, 203);
/* oklch */ color: oklch(78.1% 0.123 344.0);
Tailwind
colors: {
  custom: {
    50: '#f5b7da',
    500: '#ef97cb',
    950: '#000000',
  },
}
SCSS
$custom: #ef97cb;
$custom-light: #f5b7da;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97cb",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 324.545,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78098,
    "c": 0.12307,
    "h": 344
  },
  "luminance": 0.44796
}

Semantic roles & 50–950 ramp

primary
#EF97CB
secondary
#D8F3E3
accent
#D56110
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#171115
muted
#858083

Preview Lab

Preview with #EF97CB

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

Preview Lab → · Contrast checker → · Palette generator →

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