#EF97BB#EF97BB

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

Color values

HEX#EF97BB
RGBrgb(239, 151, 187)
HSLhsl(335, 73%, 76%)
HSVhsv(335, 37%, 94%)
CMYKcmyk(0%, 36.8%, 21.8%, 6.3%)
CIE-LABlab(72.28, 37.74, -4.71)
CIE-LCHlch(72.28, 38.03, 352.89°)
OKLaboklab(77.57% 0.1131 -0.0119)
OKLCHoklch(77.57% 0.114 354)
XYZxyz(55.6339, 44.0754, 52.5812)
Luminance0.4407 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97BB #97EFCB
analogous
#EF97E7 #EF97BB #EF9F97
triadic
#EF97BB #BBEF97 #97BBEF
tetradic
#EF97BB #E7EF97 #97EFCB #9F97EF
square
#EF97BB #E7EF97 #97EFCB #9F97EF
split-complementary
#EF97BB #97EF9F #97E7EF
monochromatic
#DF2D76 #E76298 #EF97BB #F7CCDE #FBE4EE

Accessibility & contrast

On white

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

On black

9.81
#EF97BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97BB
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97BB#FFFFFF#000000##000000
##EF97BB1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1A8BC
Deuteranopia (green-blind)
#B6B7B9
Tritanopia (blue-blind)
#FC93A4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ef97bb;
/* rgb */ color: rgb(239, 151, 187);
/* oklch */ color: oklch(77.6% 0.114 354.0);
Tailwind
colors: {
  custom: {
    50: '#f6b7cf',
    500: '#ef97bb',
    950: '#000000',
  },
}
SCSS
$custom: #ef97bb;
$custom-light: #f6b7cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97bb",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 187
  },
  "hsl": {
    "h": 335.455,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77574,
    "c": 0.11377,
    "h": 354
  },
  "luminance": 0.44072
}

Semantic roles & 50–950 ramp

primary
#EF97BB
secondary
#D8F3E8
accent
#D58510
background
#FFFBFC
surface
#FFF6F9
border
#D7D0D2
text
#171113
muted
#858082

Preview Lab

Preview with #EF97BB

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

Preview Lab → · Contrast checker → · Palette generator →

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