#EF87A5#EF87A5

#EF87A5 is a light, vivid pink. Relative luminance 0.384; OKLCH L 74.4% C 0.130 H 2.3°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#EF87A5
RGBrgb(239, 135, 165)
HSLhsl(343, 76%, 73%)
HSVhsv(343, 44%, 94%)
CMYKcmyk(0%, 43.5%, 31%, 6.3%)
CIE-LABlab(68.31, 43.02, 1.76)
CIE-LCHlch(68.31, 43.06, 2.34°)
OKLaboklab(74.36% 0.1304 0.0052)
OKLCHoklch(74.36% 0.13 2.3)
XYZxyz(51.0540, 38.3995, 40.3130)
Luminance0.3840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87A5 #87EFD1
analogous
#EF87D9 #EF87A5 #EF9D87
triadic
#EF87A5 #A5EF87 #87A5EF
tetradic
#EF87A5 #D9EF87 #87EFD1 #9D87EF
square
#EF87A5 #D9EF87 #87EFD1 #9D87EF
split-complementary
#EF87A5 #87EF9D #87D9EF
monochromatic
#DE1E55 #E8517C #EF87A5 #F6BDCD #FBE4EB

Accessibility & contrast

On white

2.42
#EF87A5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#EF87A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87A5
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87A5#FFFFFF#000000##000000
##EF87A51.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#979BA6
Deuteranopia (green-blind)
#B1AEA3
Tritanopia (blue-blind)
#FF7F92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ef87a5;
/* rgb */ color: rgb(239, 135, 165);
/* oklch */ color: oklch(74.4% 0.130 2.3);
Tailwind
colors: {
  custom: {
    50: '#f7acbf',
    500: '#ef87a5',
    950: '#000000',
  },
}
SCSS
$custom: #ef87a5;
$custom-light: #f7acbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87a5",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 165
  },
  "hsl": {
    "h": 342.692,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7436,
    "c": 0.13049,
    "h": 2.3
  },
  "luminance": 0.38395
}

Semantic roles & 50–950 ramp

primary
#EF87A5
secondary
#D8F3EB
accent
#D99E0D
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #EF87A5

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

Preview Lab → · Contrast checker → · Palette generator →

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