#EF97BD#EF97BD

#EF97BD is a light, moderate pink. Relative luminance 0.442; OKLCH L 77.6% C 0.115 H 352.7°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#EF97BD
RGBrgb(239, 151, 189)
HSLhsl(334, 73%, 76%)
HSVhsv(334, 37%, 94%)
CMYKcmyk(0%, 36.8%, 20.9%, 6.3%)
CIE-LABlab(72.34, 38.03, -5.73)
CIE-LCHlch(72.34, 38.46, 351.43°)
OKLaboklab(77.64% 0.1138 -0.0147)
OKLCHoklch(77.64% 0.115 352.7)
XYZxyz(55.8495, 44.1616, 53.7166)
Luminance0.4416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97BD #97EFC9
analogous
#EF97E9 #EF97BD #EF9D97
triadic
#EF97BD #BDEF97 #97BDEF
tetradic
#EF97BD #E9EF97 #97EFC9 #9D97EF
square
#EF97BD #E9EF97 #97EFC9 #9D97EF
split-complementary
#EF97BD #97EF9D #97E9EF
monochromatic
#DF2D7A #E7629B #EF97BD #F7CCDF #FBE4EE

Accessibility & contrast

On white

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

On black

9.83
#EF97BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97BD
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97BD#FFFFFF#000000##000000
##EF97BD1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0A8BE
Deuteranopia (green-blind)
#B6B7BB
Tritanopia (blue-blind)
#FB94A4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ef97bd;
/* rgb */ color: rgb(239, 151, 189);
/* oklch */ color: oklch(77.6% 0.115 352.7);
Tailwind
colors: {
  custom: {
    50: '#f6b7d0',
    500: '#ef97bd',
    950: '#000000',
  },
}
SCSS
$custom: #ef97bd;
$custom-light: #f6b7d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97bd",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 189
  },
  "hsl": {
    "h": 334.091,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77637,
    "c": 0.11475,
    "h": 352.7
  },
  "luminance": 0.44158
}

Semantic roles & 50–950 ramp

primary
#EF97BD
secondary
#D8F3E7
accent
#D58010
background
#FFFBFC
surface
#FFF6F9
border
#D7D0D2
text
#171114
muted
#858082

Preview Lab

Preview with #EF97BD

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

Preview Lab → · Contrast checker → · Palette generator →

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