#EF5798#EF5798

#EF5798 is a light, vivid pink. Relative luminance 0.274; OKLCH L 67.5% C 0.195 H 357.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#EF5798
RGBrgb(239, 87, 152)
HSLhsl(334, 83%, 64%)
HSVhsv(334, 64%, 94%)
CMYKcmyk(0%, 63.6%, 36.4%, 6.3%)
CIE-LABlab(59.38, 63.85, -3.89)
CIE-LCHlch(59.38, 63.97, 356.51°)
OKLaboklab(67.54% 0.1952 -0.0094)
OKLCHoklch(67.54% 0.195 357.2)
XYZxyz(44.6750, 27.4392, 32.6433)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5798 #57EFAE
analogous
#EF57E4 #EF5798 #EF6257
triadic
#EF5798 #98EF57 #5798EF
tetradic
#EF5798 #E4EF57 #57EFAE #6257EF
square
#EF5798 #E4EF57 #57EFAE #6257EF
split-complementary
#EF5798 #57EF62 #57E4EF
monochromatic
#BA125A #EA1F76 #EF5798 #F48FBA #FAC7DD

Accessibility & contrast

On white

3.24
#EF5798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#EF5798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF5798
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5798#FFFFFF#000000##000000
##EF57981.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#727D9A
Deuteranopia (green-blind)
#9B9994
Tritanopia (blue-blind)
#FF4971
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ef5798;
/* rgb */ color: rgb(239, 87, 152);
/* oklch */ color: oklch(67.5% 0.195 357.2);
Tailwind
colors: {
  custom: {
    50: '#f98fb6',
    500: '#ef5798',
    950: '#000000',
  },
}
SCSS
$custom: #ef5798;
$custom-light: #f98fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5798",
  "rgb": {
    "r": 239,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 334.342,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67539,
    "c": 0.19542,
    "h": 357.2
  },
  "luminance": 0.27434
}

Semantic roles & 50–950 ramp

primary
#EF5798
secondary
#B6ECD5
accent
#DF8206
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EF5798

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

Preview Lab → · Contrast checker → · Palette generator →

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