#EF87AC#EF87AC

#EF87AC is a light, vivid pink. Relative luminance 0.387; OKLCH L 74.6% C 0.133 H 358.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#EF87AC
RGBrgb(239, 135, 172)
HSLhsl(339, 76%, 73%)
HSVhsv(339, 44%, 94%)
CMYKcmyk(0%, 43.5%, 28%, 6.3%)
CIE-LABlab(68.51, 43.93, -1.90)
CIE-LCHlch(68.51, 43.97, 357.53°)
OKLaboklab(74.57% 0.1328 -0.0044)
OKLCHoklch(74.57% 0.133 358.1)
XYZxyz(51.7087, 38.6613, 43.7607)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87AC #87EFCA
analogous
#EF87E0 #EF87AC #EF9687
triadic
#EF87AC #ACEF87 #87ACEF
tetradic
#EF87AC #E0EF87 #87EFCA #9687EF
square
#EF87AC #E0EF87 #87EFCA #9687EF
split-complementary
#EF87AC #87EF96 #87E0EF
monochromatic
#DE1E62 #E85187 #EF87AC #F6BDD1 #FBE4EC

Accessibility & contrast

On white

2.41
#EF87AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#EF87AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87AC
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87AC#FFFFFF#000000##000000
##EF87AC1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#959CAD
Deuteranopia (green-blind)
#B0AEAA
Tritanopia (blue-blind)
#FE8194
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ef87ac;
/* rgb */ color: rgb(239, 135, 172);
/* oklch */ color: oklch(74.6% 0.133 358.1);
Tailwind
colors: {
  custom: {
    50: '#f7acc4',
    500: '#ef87ac',
    950: '#000000',
  },
}
SCSS
$custom: #ef87ac;
$custom-light: #f7acc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87ac",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 172
  },
  "hsl": {
    "h": 338.654,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74568,
    "c": 0.13289,
    "h": 358.1
  },
  "luminance": 0.38657
}

Semantic roles & 50–950 ramp

primary
#EF87AC
secondary
#D8F3E9
accent
#D9900D
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171012
muted
#857F81

Preview Lab

Preview with #EF87AC

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

Preview Lab → · Contrast checker → · Palette generator →

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