#EF97CA#EF97CA

#EF97CA is a light, vivid pink. Relative luminance 0.447; OKLCH L 78.1% C 0.122 H 344.6°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#EF97CA
RGBrgb(239, 151, 202)
HSLhsl(325, 73%, 76%)
HSVhsv(325, 37%, 94%)
CMYKcmyk(0%, 36.8%, 15.5%, 6.3%)
CIE-LABlab(72.73, 40.00, -12.33)
CIE-LCHlch(72.73, 41.85, 342.87°)
OKLaboklab(78.06% 0.118 -0.0325)
OKLCHoklch(78.06% 0.122 344.6)
XYZxyz(57.3243, 44.7515, 61.4842)
Luminance0.4475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97CA #97EFBC
analogous
#E897EF #EF97CA #EF979E
triadic
#EF97CA #CAEF97 #97CAEF
tetradic
#EF97CA #EFE897 #97EFBC #979EEF
square
#EF97CA #EFE897 #97EFBC #979EEF
split-complementary
#EF97CA #9EEF97 #97EFE8
monochromatic
#DF2D94 #E762AF #EF97CA #F7CCE5 #FBE4F1

Accessibility & contrast

On white

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

On black

9.95
#EF97CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97CA
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97CA#FFFFFF#000000##000000
##EF97CA1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DAACC
Deuteranopia (green-blind)
#B3B8C8
Tritanopia (blue-blind)
#FA97A9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ef97ca;
/* rgb */ color: rgb(239, 151, 202);
/* oklch */ color: oklch(78.1% 0.122 344.6);
Tailwind
colors: {
  custom: {
    50: '#f5b7da',
    500: '#ef97ca',
    950: '#000000',
  },
}
SCSS
$custom: #ef97ca;
$custom-light: #f5b7da;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97ca",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 325.227,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78064,
    "c": 0.1224,
    "h": 344.6
  },
  "luminance": 0.44748
}

Semantic roles & 50–950 ramp

primary
#EF97CA
secondary
#D8F3E3
accent
#D56310
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #EF97CA

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

Preview Lab → · Contrast checker → · Palette generator →

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