#EF87D2#EF87D2

#EF87D2 is a light, vivid pink. Relative luminance 0.403; OKLCH L 75.9% C 0.155 H 338.4°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#EF87D2
RGBrgb(239, 135, 210)
HSLhsl(317, 76%, 73%)
HSVhsv(317, 44%, 94%)
CMYKcmyk(0%, 43.5%, 12.1%, 6.3%)
CIE-LABlab(69.71, 49.47, -21.32)
CIE-LCHlch(69.71, 53.87, 336.69°)
OKLaboklab(75.87% 0.1443 -0.0571)
OKLCHoklch(75.87% 0.155 338.4)
XYZxyz(55.8937, 40.3353, 65.8018)
Luminance0.4033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87D2 #87EFA4
analogous
#D887EF #EF87D2 #EF879E
triadic
#EF87D2 #D2EF87 #87D2EF
tetradic
#EF87D2 #EFD887 #87EFA4 #879EEF
square
#EF87D2 #EFD887 #87EFA4 #879EEF
split-complementary
#EF87D2 #9EEF87 #87EFD8
monochromatic
#DE1EA8 #E851BE #EF87D2 #F6BDE6 #FBE4F5

Accessibility & contrast

On white

2.32
#EF87D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#EF87D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87D2
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87D2#FFFFFF#000000##000000
##EF87D21.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA0D5
Deuteranopia (green-blind)
#A5B0CF
Tritanopia (blue-blind)
#F98AA3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ef87d2;
/* rgb */ color: rgb(239, 135, 210);
/* oklch */ color: oklch(75.9% 0.155 338.4);
Tailwind
colors: {
  custom: {
    50: '#f6ace0',
    500: '#ef87d2',
    950: '#000000',
  },
}
SCSS
$custom: #ef87d2;
$custom-light: #f6ace0;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87d2",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 316.731,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75871,
    "c": 0.1552,
    "h": 338.4
  },
  "luminance": 0.40332
}

Semantic roles & 50–950 ramp

primary
#EF87D2
secondary
#D8F3DF
accent
#D9460D
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EF87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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