#EF97CF#EF97CF

#EF97CF is a light, vivid pink. Relative luminance 0.450; OKLCH L 78.2% C 0.126 H 341.8°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#EF97CF
RGBrgb(239, 151, 207)
HSLhsl(322, 73%, 76%)
HSVhsv(322, 37%, 94%)
CMYKcmyk(0%, 36.8%, 13.4%, 6.3%)
CIE-LABlab(72.89, 40.78, -14.85)
CIE-LCHlch(72.89, 43.40, 339.99°)
OKLaboklab(78.24% 0.1195 -0.0394)
OKLCHoklch(78.24% 0.126 341.8)
XYZxyz(57.9259, 44.9922, 64.6527)
Luminance0.4499 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97CF #97EFB7
analogous
#E397EF #EF97CF #EF97A3
triadic
#EF97CF #CFEF97 #97CFEF
tetradic
#EF97CF #EFE397 #97EFB7 #97A3EF
square
#EF97CF #EFE397 #97EFB7 #97A3EF
split-complementary
#EF97CF #A3EF97 #97EFE3
monochromatic
#DF2D9E #E762B7 #EF97CF #F7CCE7 #FBE4F3

Accessibility & contrast

On white

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

On black

10.00
#EF97CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97CF
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97CF#FFFFFF#000000##000000
##EF97CF1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BAAD1
Deuteranopia (green-blind)
#B1B8CD
Tritanopia (blue-blind)
#F998AB
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ef97cf;
/* rgb */ color: rgb(239, 151, 207);
/* oklch */ color: oklch(78.2% 0.126 341.8);
Tailwind
colors: {
  custom: {
    50: '#f5b7dd',
    500: '#ef97cf',
    950: '#000000',
  },
}
SCSS
$custom: #ef97cf;
$custom-light: #f5b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97cf",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 321.818,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78237,
    "c": 0.12586,
    "h": 341.8
  },
  "luminance": 0.44989
}

Semantic roles & 50–950 ramp

primary
#EF97CF
secondary
#D8F3E2
accent
#D55810
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EF97CF

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

Preview Lab → · Contrast checker → · Palette generator →

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