#EF87A2#EF87A2

#EF87A2 is a light, vivid pink. Relative luminance 0.383; OKLCH L 74.3% C 0.130 H 4.1°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#EF87A2
RGBrgb(239, 135, 162)
HSLhsl(344, 76%, 73%)
HSVhsv(344, 44%, 94%)
CMYKcmyk(0%, 43.5%, 32.2%, 6.3%)
CIE-LABlab(68.23, 42.65, 3.33)
CIE-LCHlch(68.23, 42.77, 4.46°)
OKLaboklab(74.27% 0.1293 0.0092)
OKLCHoklch(74.27% 0.13 4.1)
XYZxyz(50.7842, 38.2915, 38.8917)
Luminance0.3829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87A2 #87EFD4
analogous
#EF87D6 #EF87A2 #EFA087
triadic
#EF87A2 #A2EF87 #87A2EF
tetradic
#EF87A2 #D6EF87 #87EFD4 #A087EF
square
#EF87A2 #D6EF87 #87EFD4 #A087EF
split-complementary
#EF87A2 #87EFA0 #87D6EF
monochromatic
#DE1E50 #E85178 #EF87A2 #F6BDCC #FBE4EA

Accessibility & contrast

On white

2.43
#EF87A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#EF87A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87A2
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87A2#FFFFFF#000000##000000
##EF87A21.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#989AA3
Deuteranopia (green-blind)
#B2AEA0
Tritanopia (blue-blind)
#FF7F91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ef87a2;
/* rgb */ color: rgb(239, 135, 162);
/* oklch */ color: oklch(74.3% 0.130 4.1);
Tailwind
colors: {
  custom: {
    50: '#f7acbd',
    500: '#ef87a2',
    950: '#000000',
  },
}
SCSS
$custom: #ef87a2;
$custom-light: #f7acbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87a2",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 344.423,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74274,
    "c": 0.12965,
    "h": 4.1
  },
  "luminance": 0.38287
}

Semantic roles & 50–950 ramp

primary
#EF87A2
secondary
#D8F3EC
accent
#D9A40D
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #EF87A2

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

Preview Lab → · Contrast checker → · Palette generator →

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