#EF87D9#EF87D9

#EF87D9 is a light, vivid pink. Relative luminance 0.407; OKLCH L 76.1% C 0.161 H 335.4°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#EF87D9
RGBrgb(239, 135, 217)
HSLhsl(313, 76%, 73%)
HSVhsv(313, 44%, 94%)
CMYKcmyk(0%, 43.5%, 9.2%, 6.3%)
CIE-LABlab(69.96, 50.60, -24.81)
CIE-LCHlch(69.96, 56.36, 333.88°)
OKLaboklab(76.14% 0.1461 -0.0669)
OKLCHoklch(76.14% 0.161 335.4)
XYZxyz(56.7849, 40.6918, 70.4955)
Luminance0.4069 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87D9 #87EF9D
analogous
#D187EF #EF87D9 #EF87A5
triadic
#EF87D9 #D9EF87 #87D9EF
tetradic
#EF87D9 #EFD187 #87EF9D #87A5EF
square
#EF87D9 #EFD187 #87EF9D #87A5EF
split-complementary
#EF87D9 #A5EF87 #87EFD1
monochromatic
#DE1EB5 #E851C8 #EF87D9 #F6BDEA #FBE4F6

Accessibility & contrast

On white

2.30
#EF87D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#EF87D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87D9
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87D9#FFFFFF#000000##000000
##EF87D91.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A1DC
Deuteranopia (green-blind)
#A3B1D6
Tritanopia (blue-blind)
#F88CA6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ef87d9;
/* rgb */ color: rgb(239, 135, 217);
/* oklch */ color: oklch(76.1% 0.161 335.4);
Tailwind
colors: {
  custom: {
    50: '#f6ace5',
    500: '#ef87d9',
    950: '#000000',
  },
}
SCSS
$custom: #ef87d9;
$custom-light: #f6ace5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87d9",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 217
  },
  "hsl": {
    "h": 312.692,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76143,
    "c": 0.16065,
    "h": 335.4
  },
  "luminance": 0.40688
}

Semantic roles & 50–950 ramp

primary
#EF87D9
secondary
#D8F3DE
accent
#D9380D
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171015
muted
#857F84

Preview Lab

Preview with #EF87D9

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

Preview Lab → · Contrast checker → · Palette generator →

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