#EF5F97#EF5F97

#EF5F97 is a light, vivid pink. Relative luminance 0.288; OKLCH L 68.4% C 0.184 H 359.0°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#EF5F97
RGBrgb(239, 95, 151)
HSLhsl(337, 82%, 65%)
HSVhsv(337, 60%, 94%)
CMYKcmyk(0%, 60.3%, 36.8%, 6.3%)
CIE-LABlab(60.58, 60.40, -1.54)
CIE-LCHlch(60.58, 60.42, 358.54°)
OKLaboklab(68.42% 0.1844 -0.0033)
OKLCHoklch(68.42% 0.184 359)
XYZxyz(45.2774, 28.7745, 32.4418)
Luminance0.2877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5F97 #5FEFB7
analogous
#EF5FDF #EF5F97 #EF6F5F
triadic
#EF5F97 #97EF5F #5F97EF
tetradic
#EF5F97 #DFEF5F #5FEFB7 #6F5FEF
square
#EF5F97 #DFEF5F #5FEFB7 #6F5FEF
split-complementary
#EF5F97 #5FEF6F #5FDFEF
monochromatic
#C01357 #E92773 #EF5F97 #F597BB #FACEDF

Accessibility & contrast

On white

3.11
#EF5F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#EF5F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF5F97
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5F97#FFFFFF#000000##000000
##EF5F971.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#788199
Deuteranopia (green-blind)
#9F9C94
Tritanopia (blue-blind)
#FF5275
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ef5f97;
/* rgb */ color: rgb(239, 95, 151);
/* oklch */ color: oklch(68.4% 0.184 359.0);
Tailwind
colors: {
  custom: {
    50: '#f993b5',
    500: '#ef5f97',
    950: '#000000',
  },
}
SCSS
$custom: #ef5f97;
$custom-light: #f993b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5f97",
  "rgb": {
    "r": 239,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 336.667,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68422,
    "c": 0.18443,
    "h": 359
  },
  "luminance": 0.2877
}

Semantic roles & 50–950 ramp

primary
#EF5F97
secondary
#BDEDDA
accent
#DE8B07
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E11
muted
#867E80

Preview Lab

Preview with #EF5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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