#EB87A2#EB87A2

#EB87A2 is a light, vivid pink. Relative luminance 0.376; OKLCH L 73.8% C 0.125 H 3.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#EB87A2
RGBrgb(235, 135, 162)
HSLhsl(344, 71%, 73%)
HSVhsv(344, 43%, 92%)
CMYKcmyk(0%, 42.6%, 31.1%, 7.8%)
CIE-LABlab(67.73, 41.25, 2.53)
CIE-LCHlch(67.73, 41.32, 3.51°)
OKLaboklab(73.78% 0.125 0.0071)
OKLCHoklch(73.78% 0.125 3.3)
XYZxyz(49.4484, 37.6027, 38.8291)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87A2 #87EBD0
analogous
#EB87D4 #EB87A2 #EB9E87
triadic
#EB87A2 #A2EB87 #87A2EB
tetradic
#EB87A2 #D4EB87 #87EBD0 #9E87EB
square
#EB87A2 #D4EB87 #87EBD0 #9E87EB
split-complementary
#EB87A2 #87EB9E #87D4EB
monochromatic
#D42353 #E25379 #EB87A2 #F4BBCB #FBE5EB

Accessibility & contrast

On white

2.46
#EB87A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#EB87A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87A2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87A2#FFFFFF#000000##000000
##EB87A21.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#979AA3
Deuteranopia (green-blind)
#AFACA0
Tritanopia (blue-blind)
#FA7F91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #eb87a2;
/* rgb */ color: rgb(235, 135, 162);
/* oklch */ color: oklch(73.8% 0.125 3.3);
Tailwind
colors: {
  custom: {
    50: '#f4acbd',
    500: '#eb87a2',
    950: '#000000',
  },
}
SCSS
$custom: #eb87a2;
$custom-light: #f4acbd;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87a2",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 343.8,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73782,
    "c": 0.1252,
    "h": 3.3
  },
  "luminance": 0.37599
}

Semantic roles & 50–950 ramp

primary
#EB87A2
secondary
#D9F2EB
accent
#D39F12
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #EB87A2

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

Preview Lab → · Contrast checker → · Palette generator →

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