#EF7798#EF7798

#EF7798 is a light, vivid pink. Relative luminance 0.338; OKLCH L 71.6% C 0.151 H 4.2°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#EF7798
RGBrgb(239, 119, 152)
HSLhsl(344, 79%, 70%)
HSVhsv(344, 50%, 94%)
CMYKcmyk(0%, 50.2%, 36.4%, 6.3%)
CIE-LABlab(64.82, 49.45, 4.04)
CIE-LCHlch(64.82, 49.61, 4.68°)
OKLaboklab(71.6% 0.1503 0.0111)
OKLCHoklch(71.6% 0.151 4.2)
XYZxyz(47.8634, 33.8160, 33.7061)
Luminance0.3381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7798 #77EFCE
analogous
#EF77D4 #EF7798 #EF9277
triadic
#EF7798 #98EF77 #7798EF
tetradic
#EF7798 #D4EF77 #77EFCE #9277EF
square
#EF7798 #D4EF77 #77EFCE #9277EF
split-complementary
#EF7798 #77EF92 #77D4EF
monochromatic
#D3194C #E9406F #EF7798 #F5AEC1 #FCE4EA

Accessibility & contrast

On white

2.71
#EF7798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#EF7798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7798
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7798#FFFFFF#000000##000000
##EF77981.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8F99
Deuteranopia (green-blind)
#AAA695
Tritanopia (blue-blind)
#FF6C83
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ef7798;
/* rgb */ color: rgb(239, 119, 152);
/* oklch */ color: oklch(71.6% 0.151 4.2);
Tailwind
colors: {
  custom: {
    50: '#f8a1b6',
    500: '#ef7798',
    950: '#000000',
  },
}
SCSS
$custom: #ef7798;
$custom-light: #f8a1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7798",
  "rgb": {
    "r": 239,
    "g": 119,
    "b": 152
  },
  "hsl": {
    "h": 343.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71603,
    "c": 0.15071,
    "h": 4.2
  },
  "luminance": 0.33811
}

Semantic roles & 50–950 ramp

primary
#EF7798
secondary
#D0F2E8
accent
#DBA20A
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F11
muted
#867F80

Preview Lab

Preview with #EF7798

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

Preview Lab → · Contrast checker → · Palette generator →

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