#EF5797#EF5797

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

Color values

HEX#EF5797
RGBrgb(239, 87, 151)
HSLhsl(335, 83%, 64%)
HSVhsv(335, 64%, 94%)
CMYKcmyk(0%, 63.6%, 36.8%, 6.3%)
CIE-LABlab(59.35, 63.74, -3.36)
CIE-LCHlch(59.35, 63.83, 356.99°)
OKLaboklab(67.51% 0.1949 -0.008)
OKLCHoklch(67.51% 0.195 357.6)
XYZxyz(44.5934, 27.4065, 32.2138)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5797 #57EFAF
analogous
#EF57E3 #EF5797 #EF6357
triadic
#EF5797 #97EF57 #5797EF
tetradic
#EF5797 #E3EF57 #57EFAF #6357EF
square
#EF5797 #E3EF57 #57EFAF #6357EF
split-complementary
#EF5797 #57EF63 #57E3EF
monochromatic
#BA1259 #EA1F74 #EF5797 #F48FBA #FAC7DC

Accessibility & contrast

On white

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

On black

6.48
#EF5797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF5797
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5797#FFFFFF#000000##000000
##EF57971.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ef5797;
/* rgb */ color: rgb(239, 87, 151);
/* oklch */ color: oklch(67.5% 0.195 357.6);
Tailwind
colors: {
  custom: {
    50: '#f98fb5',
    500: '#ef5797',
    950: '#000000',
  },
}
SCSS
$custom: #ef5797;
$custom-light: #f98fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5797",
  "rgb": {
    "r": 239,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 334.737,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67507,
    "c": 0.19504,
    "h": 357.6
  },
  "luminance": 0.27401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF5797

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

Preview Lab → · Contrast checker → · Palette generator →

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