#EF5F98#EF5F98

#EF5F98 is a light, vivid pink. Relative luminance 0.288; OKLCH L 68.5% C 0.185 H 358.5°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#EF5F98
RGBrgb(239, 95, 152)
HSLhsl(336, 82%, 65%)
HSVhsv(336, 60%, 94%)
CMYKcmyk(0%, 60.3%, 36.4%, 6.3%)
CIE-LABlab(60.61, 60.51, -2.08)
CIE-LCHlch(60.61, 60.55, 358.03°)
OKLaboklab(68.45% 0.1847 -0.0047)
OKLCHoklch(68.45% 0.185 358.5)
XYZxyz(45.3589, 28.8071, 32.8713)
Luminance0.2880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5F98 #5FEFB6
analogous
#EF5FE0 #EF5F98 #EF6E5F
triadic
#EF5F98 #98EF5F #5F98EF
tetradic
#EF5F98 #E0EF5F #5FEFB6 #6E5FEF
square
#EF5F98 #E0EF5F #5FEFB6 #6E5FEF
split-complementary
#EF5F98 #5FEF6E #5FE0EF
monochromatic
#C01358 #E92774 #EF5F98 #F597BC #FACEE0

Accessibility & contrast

On white

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

On black

6.76
#EF5F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF5F98
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5F98#FFFFFF#000000##000000
##EF5F981.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78819A
Deuteranopia (green-blind)
#9E9C95
Tritanopia (blue-blind)
#FF5275
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ef5f98;
/* rgb */ color: rgb(239, 95, 152);
/* oklch */ color: oklch(68.5% 0.185 358.5);
Tailwind
colors: {
  custom: {
    50: '#f993b6',
    500: '#ef5f98',
    950: '#000000',
  },
}
SCSS
$custom: #ef5f98;
$custom-light: #f993b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5f98",
  "rgb": {
    "r": 239,
    "g": 95,
    "b": 152
  },
  "hsl": {
    "h": 336.25,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68453,
    "c": 0.18478,
    "h": 358.5
  },
  "luminance": 0.28802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF5F98

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

Preview Lab → · Contrast checker → · Palette generator →

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