#EF97C8#EF97C8

#EF97C8 is a light, vivid pink. Relative luminance 0.447; OKLCH L 78.0% C 0.121 H 345.8°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#EF97C8
RGBrgb(239, 151, 200)
HSLhsl(327, 73%, 76%)
HSVhsv(327, 37%, 94%)
CMYKcmyk(0%, 36.8%, 16.3%, 6.3%)
CIE-LABlab(72.67, 39.69, -11.32)
CIE-LCHlch(72.67, 41.27, 344.08°)
OKLaboklab(78% 0.1174 -0.0297)
OKLCHoklch(78% 0.121 345.8)
XYZxyz(57.0891, 44.6574, 60.2451)
Luminance0.4465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97C8 #97EFBE
analogous
#EA97EF #EF97C8 #EF979C
triadic
#EF97C8 #C8EF97 #97C8EF
tetradic
#EF97C8 #EFEA97 #97EFBE #979CEF
square
#EF97C8 #EFEA97 #97EFBE #979CEF
split-complementary
#EF97C8 #9CEF97 #97EFEA
monochromatic
#DF2D90 #E762AC #EF97C8 #F7CCE4 #FBE4F1

Accessibility & contrast

On white

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

On black

9.93
#EF97C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97C8
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97C8#FFFFFF#000000##000000
##EF97C81.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DAACA
Deuteranopia (green-blind)
#B3B8C6
Tritanopia (blue-blind)
#FA96A8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ef97c8;
/* rgb */ color: rgb(239, 151, 200);
/* oklch */ color: oklch(78.0% 0.121 345.8);
Tailwind
colors: {
  custom: {
    50: '#f6b7d8',
    500: '#ef97c8',
    950: '#000000',
  },
}
SCSS
$custom: #ef97c8;
$custom-light: #f6b7d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97c8",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 200
  },
  "hsl": {
    "h": 326.591,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77996,
    "c": 0.1211,
    "h": 345.8
  },
  "luminance": 0.44654
}

Semantic roles & 50–950 ramp

primary
#EF97C8
secondary
#D8F3E4
accent
#D56810
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #EF97C8

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

Preview Lab → · Contrast checker → · Palette generator →

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