#EF7997#EF7997

#EF7997 is a light, vivid pink. Relative luminance 0.343; OKLCH L 71.9% C 0.148 H 5.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#EF7997
RGBrgb(239, 121, 151)
HSLhsl(345, 79%, 71%)
HSVhsv(345, 49%, 94%)
CMYKcmyk(0%, 49.4%, 36.8%, 6.3%)
CIE-LABlab(65.17, 48.36, 5.13)
CIE-LCHlch(65.17, 48.63, 6.05°)
OKLaboklab(71.86% 0.1469 0.0139)
OKLCHoklch(71.86% 0.148 5.4)
XYZxyz(48.0224, 34.2644, 33.3567)
Luminance0.3426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7997 #79EFD1
analogous
#EF79D2 #EF7997 #EF9679
triadic
#EF7997 #97EF79 #7997EF
tetradic
#EF7997 #D2EF79 #79EFD1 #9679EF
square
#EF7997 #D2EF79 #79EFD1 #9679EF
split-complementary
#EF7997 #79EF96 #79D2EF
monochromatic
#D41949 #E8426D #EF7997 #F6B0C1 #FCE4EA

Accessibility & contrast

On white

2.67
#EF7997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#EF7997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7997
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7997#FFFFFF#000000##000000
##EF79971.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9098
Deuteranopia (green-blind)
#ACA794
Tritanopia (blue-blind)
#FF6E84
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ef7997;
/* rgb */ color: rgb(239, 121, 151);
/* oklch */ color: oklch(71.9% 0.148 5.4);
Tailwind
colors: {
  custom: {
    50: '#f8a3b5',
    500: '#ef7997',
    950: '#000000',
  },
}
SCSS
$custom: #ef7997;
$custom-light: #f8a3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7997",
  "rgb": {
    "r": 239,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 344.746,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71863,
    "c": 0.14757,
    "h": 5.4
  },
  "luminance": 0.3426
}

Semantic roles & 50–950 ramp

primary
#EF7997
secondary
#D2F2EA
accent
#DBA60B
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F11
muted
#867F80

Preview Lab

Preview with #EF7997

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

Preview Lab → · Contrast checker → · Palette generator →

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