#EF87D7#EF87D7

#EF87D7 is a light, vivid pink. Relative luminance 0.406; OKLCH L 76.1% C 0.159 H 336.2°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#EF87D7
RGBrgb(239, 135, 215)
HSLhsl(314, 76%, 73%)
HSVhsv(314, 44%, 94%)
CMYKcmyk(0%, 43.5%, 10%, 6.3%)
CIE-LABlab(69.89, 50.27, -23.82)
CIE-LCHlch(69.89, 55.63, 334.65°)
OKLaboklab(76.06% 0.1456 -0.0641)
OKLCHoklch(76.06% 0.159 336.2)
XYZxyz(56.5264, 40.5884, 69.1338)
Luminance0.4058 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87D7 #87EF9F
analogous
#D387EF #EF87D7 #EF87A3
triadic
#EF87D7 #D7EF87 #87D7EF
tetradic
#EF87D7 #EFD387 #87EF9F #87A3EF
square
#EF87D7 #EFD387 #87EF9F #87A3EF
split-complementary
#EF87D7 #A3EF87 #87EFD3
monochromatic
#DE1EB2 #E851C5 #EF87D7 #F6BDE9 #FBE4F6

Accessibility & contrast

On white

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

On black

9.12
#EF87D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87D7
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87D7#FFFFFF#000000##000000
##EF87D71.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A1DA
Deuteranopia (green-blind)
#A4B1D4
Tritanopia (blue-blind)
#F98BA5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ef87d7;
/* rgb */ color: rgb(239, 135, 215);
/* oklch */ color: oklch(76.1% 0.159 336.2);
Tailwind
colors: {
  custom: {
    50: '#f6ace3',
    500: '#ef87d7',
    950: '#000000',
  },
}
SCSS
$custom: #ef87d7;
$custom-light: #f6ace3;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87d7",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 215
  },
  "hsl": {
    "h": 313.846,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76064,
    "c": 0.15906,
    "h": 336.2
  },
  "luminance": 0.40585
}

Semantic roles & 50–950 ramp

primary
#EF87D7
secondary
#D8F3DE
accent
#D93C0D
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EF87D7

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

Preview Lab → · Contrast checker → · Palette generator →

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