#EF7898#EF7898

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

Color values

HEX#EF7898
RGBrgb(239, 120, 152)
HSLhsl(344, 79%, 70%)
HSVhsv(344, 50%, 94%)
CMYKcmyk(0%, 49.8%, 36.4%, 6.3%)
CIE-LABlab(65.01, 48.96, 4.32)
CIE-LCHlch(65.01, 49.15, 5.04°)
OKLaboklab(71.75% 0.1488 0.0118)
OKLCHoklch(71.75% 0.149 4.5)
XYZxyz(47.9830, 34.0553, 33.7460)
Luminance0.3405 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7898 #78EFCF
analogous
#EF78D3 #EF7898 #EF9478
triadic
#EF7898 #98EF78 #7898EF
tetradic
#EF7898 #D3EF78 #78EFCF #9478EF
square
#EF7898 #D3EF78 #78EFCF #9478EF
split-complementary
#EF7898 #78EF94 #78D3EF
monochromatic
#D4194B #E9416E #EF7898 #F5AFC2 #FCE4EA

Accessibility & contrast

On white

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

On black

7.81
#EF7898 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7898
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7898#FFFFFF#000000##000000
##EF78981.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9099
Deuteranopia (green-blind)
#ABA695
Tritanopia (blue-blind)
#FF6D84
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ef7898;
/* rgb */ color: rgb(239, 120, 152);
/* oklch */ color: oklch(71.7% 0.149 4.5);
Tailwind
colors: {
  custom: {
    50: '#f8a2b6',
    500: '#ef7898',
    950: '#000000',
  },
}
SCSS
$custom: #ef7898;
$custom-light: #f8a2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7898",
  "rgb": {
    "r": 239,
    "g": 120,
    "b": 152
  },
  "hsl": {
    "h": 343.866,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71746,
    "c": 0.14926,
    "h": 4.5
  },
  "luminance": 0.34051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF7898

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

Preview Lab → · Contrast checker → · Palette generator →

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