#EF97BC#EF97BC

#EF97BC is a light, moderate pink. Relative luminance 0.441; OKLCH L 77.6% C 0.114 H 353.3°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#EF97BC
RGBrgb(239, 151, 188)
HSLhsl(335, 73%, 76%)
HSVhsv(335, 37%, 94%)
CMYKcmyk(0%, 36.8%, 21.3%, 6.3%)
CIE-LABlab(72.31, 37.88, -5.22)
CIE-LCHlch(72.31, 38.24, 352.16°)
OKLaboklab(77.61% 0.1135 -0.0133)
OKLCHoklch(77.61% 0.114 353.3)
XYZxyz(55.7413, 44.1183, 53.1469)
Luminance0.4411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97BC #97EFCA
analogous
#EF97E8 #EF97BC #EF9E97
triadic
#EF97BC #BCEF97 #97BCEF
tetradic
#EF97BC #E8EF97 #97EFCA #9E97EF
square
#EF97BC #E8EF97 #97EFCA #9E97EF
split-complementary
#EF97BC #97EF9E #97E8EF
monochromatic
#DF2D78 #E7629A #EF97BC #F7CCDE #FBE4EE

Accessibility & contrast

On white

2.14
#EF97BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#EF97BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97BC
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97BC#FFFFFF#000000##000000
##EF97BC1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1A8BD
Deuteranopia (green-blind)
#B6B7BA
Tritanopia (blue-blind)
#FC94A4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ef97bc;
/* rgb */ color: rgb(239, 151, 188);
/* oklch */ color: oklch(77.6% 0.114 353.3);
Tailwind
colors: {
  custom: {
    50: '#f6b7d0',
    500: '#ef97bc',
    950: '#000000',
  },
}
SCSS
$custom: #ef97bc;
$custom-light: #f6b7d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97bc",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 188
  },
  "hsl": {
    "h": 334.773,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77606,
    "c": 0.11425,
    "h": 353.3
  },
  "luminance": 0.44115
}

Semantic roles & 50–950 ramp

primary
#EF97BC
secondary
#D8F3E8
accent
#D58210
background
#FFFBFC
surface
#FFF6F9
border
#D7D0D2
text
#171114
muted
#858082

Preview Lab

Preview with #EF97BC

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

Preview Lab → · Contrast checker → · Palette generator →

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