#EF97BF#EF97BF

#EF97BF is a light, moderate pink. Relative luminance 0.442; OKLCH L 77.7% C 0.116 H 351.4°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#EF97BF
RGBrgb(239, 151, 191)
HSLhsl(333, 73%, 76%)
HSVhsv(333, 37%, 94%)
CMYKcmyk(0%, 36.8%, 20.1%, 6.3%)
CIE-LABlab(72.39, 38.33, -6.75)
CIE-LCHlch(72.39, 38.91, 350.01°)
OKLaboklab(77.7% 0.1145 -0.0174)
OKLCHoklch(77.7% 0.116 351.4)
XYZxyz(56.0681, 44.2490, 54.8679)
Luminance0.4425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97BF #97EFC7
analogous
#EF97EB #EF97BF #EF9B97
triadic
#EF97BF #BFEF97 #97BFEF
tetradic
#EF97BF #EBEF97 #97EFC7 #9B97EF
square
#EF97BF #EBEF97 #97EFC7 #9B97EF
split-complementary
#EF97BF #97EF9B #97EBEF
monochromatic
#DF2D7E #E7629E #EF97BF #F7CCE0 #FBE4EF

Accessibility & contrast

On white

2.13
#EF97BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#EF97BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97BF
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97BF#FFFFFF#000000##000000
##EF97BF1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0A8C0
Deuteranopia (green-blind)
#B5B7BD
Tritanopia (blue-blind)
#FB94A5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ef97bf;
/* rgb */ color: rgb(239, 151, 191);
/* oklch */ color: oklch(77.7% 0.116 351.4);
Tailwind
colors: {
  custom: {
    50: '#f6b7d2',
    500: '#ef97bf',
    950: '#000000',
  },
}
SCSS
$custom: #ef97bf;
$custom-light: #f6b7d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97bf",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 191
  },
  "hsl": {
    "h": 332.727,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77701,
    "c": 0.11579,
    "h": 351.4
  },
  "luminance": 0.44246
}

Semantic roles & 50–950 ramp

primary
#EF97BF
secondary
#D8F3E7
accent
#D57C10
background
#FFFBFC
surface
#FFF6F9
border
#D7D0D2
text
#171114
muted
#858082

Preview Lab

Preview with #EF97BF

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

Preview Lab → · Contrast checker → · Palette generator →

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