#EF7897#EF7897

#EF7897 is a light, vivid pink. Relative luminance 0.340; OKLCH L 71.7% C 0.149 H 5.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#EF7897
RGBrgb(239, 120, 151)
HSLhsl(344, 79%, 70%)
HSVhsv(344, 50%, 94%)
CMYKcmyk(0%, 49.8%, 36.8%, 6.3%)
CIE-LABlab(64.98, 48.85, 4.85)
CIE-LCHlch(64.98, 49.09, 5.67°)
OKLaboklab(71.72% 0.1484 0.0132)
OKLCHoklch(71.72% 0.149 5.1)
XYZxyz(47.9015, 34.0227, 33.3165)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7897 #78EFD0
analogous
#EF78D2 #EF7897 #EF9478
triadic
#EF7897 #97EF78 #7897EF
tetradic
#EF7897 #D2EF78 #78EFD0 #9478EF
square
#EF7897 #D2EF78 #78EFD0 #9478EF
split-complementary
#EF7897 #78EF94 #78D2EF
monochromatic
#D4194A #E9416D #EF7897 #F5AFC1 #FCE4EA

Accessibility & contrast

On white

2.69
#EF7897 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#EF7897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7897
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7897#FFFFFF#000000##000000
##EF78971.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9098
Deuteranopia (green-blind)
#ABA694
Tritanopia (blue-blind)
#FF6D83
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ef7897;
/* rgb */ color: rgb(239, 120, 151);
/* oklch */ color: oklch(71.7% 0.149 5.1);
Tailwind
colors: {
  custom: {
    50: '#f8a2b5',
    500: '#ef7897',
    950: '#000000',
  },
}
SCSS
$custom: #ef7897;
$custom-light: #f8a2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7897",
  "rgb": {
    "r": 239,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 344.37,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71718,
    "c": 0.14901,
    "h": 5.1
  },
  "luminance": 0.34018
}

Semantic roles & 50–950 ramp

primary
#EF7897
secondary
#D1F2E9
accent
#DBA50A
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F11
muted
#867F80

Preview Lab

Preview with #EF7897

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

Preview Lab → · Contrast checker → · Palette generator →

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