#EF5897#EF5897

#EF5897 is a light, vivid pink. Relative luminance 0.276; OKLCH L 67.6% C 0.194 H 357.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#EF5897
RGBrgb(239, 88, 151)
HSLhsl(335, 83%, 64%)
HSVhsv(335, 63%, 94%)
CMYKcmyk(0%, 63.2%, 36.8%, 6.3%)
CIE-LABlab(59.50, 63.34, -3.14)
CIE-LCHlch(59.50, 63.41, 357.17°)
OKLaboklab(67.62% 0.1936 -0.0074)
OKLCHoklch(67.62% 0.194 357.8)
XYZxyz(44.6749, 27.5696, 32.2409)
Luminance0.2757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5897 #58EFB0
analogous
#EF58E3 #EF5897 #EF6558
triadic
#EF5897 #97EF58 #5897EF
tetradic
#EF5897 #E3EF58 #58EFB0 #6558EF
square
#EF5897 #E3EF58 #58EFB0 #6558EF
split-complementary
#EF5897 #58EF65 #58E3EF
monochromatic
#BB1258 #EA2074 #EF5897 #F490BA #FAC8DD

Accessibility & contrast

On white

3.22
#EF5897 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#EF5897 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF5897
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5897#FFFFFF#000000##000000
##EF58971.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#737D99
Deuteranopia (green-blind)
#9C9A93
Tritanopia (blue-blind)
#FF4A71
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ef5897;
/* rgb */ color: rgb(239, 88, 151);
/* oklch */ color: oklch(67.6% 0.194 357.8);
Tailwind
colors: {
  custom: {
    50: '#f98fb5',
    500: '#ef5897',
    950: '#000000',
  },
}
SCSS
$custom: #ef5897;
$custom-light: #f98fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5897",
  "rgb": {
    "r": 239,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 334.967,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67617,
    "c": 0.19374,
    "h": 357.8
  },
  "luminance": 0.27565
}

Semantic roles & 50–950 ramp

primary
#EF5897
secondary
#B7ECD6
accent
#DF8507
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EF5897

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

Preview Lab → · Contrast checker → · Palette generator →

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