#EF87C2#EF87C2

#EF87C2 is a light, vivid pink. Relative luminance 0.396; OKLCH L 75.3% C 0.144 H 346.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#EF87C2
RGBrgb(239, 135, 194)
HSLhsl(326, 76%, 73%)
HSVhsv(326, 44%, 94%)
CMYKcmyk(0%, 43.5%, 18.8%, 6.3%)
CIE-LABlab(69.17, 47.01, -13.23)
CIE-LCHlch(69.17, 48.84, 344.28°)
OKLaboklab(75.29% 0.1399 -0.0348)
OKLCHoklch(75.29% 0.144 346)
XYZxyz(53.9991, 39.5775, 55.8236)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87C2 #87EFB4
analogous
#E887EF #EF87C2 #EF878E
triadic
#EF87C2 #C2EF87 #87C2EF
tetradic
#EF87C2 #EFE887 #87EFB4 #878EEF
square
#EF87C2 #EFE887 #87EFB4 #878EEF
split-complementary
#EF87C2 #8EEF87 #87EFE8
monochromatic
#DE1E8B #E851A7 #EF87C2 #F6BDDD #FBE4F1

Accessibility & contrast

On white

2.36
#EF87C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#EF87C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87C2
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87C2#FFFFFF#000000##000000
##EF87C21.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9EC4
Deuteranopia (green-blind)
#AAAFBF
Tritanopia (blue-blind)
#FB869D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ef87c2;
/* rgb */ color: rgb(239, 135, 194);
/* oklch */ color: oklch(75.3% 0.144 346.0);
Tailwind
colors: {
  custom: {
    50: '#f6acd4',
    500: '#ef87c2',
    950: '#000000',
  },
}
SCSS
$custom: #ef87c2;
$custom-light: #f6acd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87c2",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 325.962,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75287,
    "c": 0.14413,
    "h": 346
  },
  "luminance": 0.39574
}

Semantic roles & 50–950 ramp

primary
#EF87C2
secondary
#D8F3E4
accent
#D9650D
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EF87C2

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

Preview Lab → · Contrast checker → · Palette generator →

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