#EA51B2#EA51B2

#EA51B2 is a light, highly saturated pink. Relative luminance 0.266; OKLCH L 67.1% C 0.212 H 345.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#EA51B2
RGBrgb(234, 81, 178)
HSLhsl(322, 78%, 62%)
HSVhsv(322, 65%, 92%)
CMYKcmyk(0%, 65.4%, 23.9%, 8.2%)
CIE-LABlab(58.60, 67.90, -20.22)
CIE-LCHlch(58.60, 70.85, 343.41°)
OKLaboklab(67.1% 0.2049 -0.0537)
OKLCHoklch(67.1% 0.212 345.3)
XYZxyz(44.9117, 26.5961, 44.8792)
Luminance0.2659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51B2 #51EA89
analogous
#D651EA #EA51B2 #EA5166
triadic
#EA51B2 #B2EA51 #51B2EA
tetradic
#EA51B2 #EAD651 #51EA89 #5166EA
square
#EA51B2 #EAD651 #51EA89 #5166EA
split-complementary
#EA51B2 #66EA51 #51EAD6
monochromatic
#AC1575 #E21B9A #EA51B2 #F188CA #F7BEE2

Accessibility & contrast

On white

3.32
#EA51B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#EA51B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51B2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51B2#FFFFFF#000000##000000
##EA51B21.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB5
Deuteranopia (green-blind)
#8E96AE
Tritanopia (blue-blind)
#F94F7A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ea51b2;
/* rgb */ color: rgb(234, 81, 178);
/* oklch */ color: oklch(67.1% 0.212 345.3);
Tailwind
colors: {
  custom: {
    50: '#f58cc9',
    500: '#ea51b2',
    950: '#000000',
  },
}
SCSS
$custom: #ea51b2;
$custom-light: #f58cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51b2",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 321.961,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67099,
    "c": 0.21176,
    "h": 345.3
  },
  "luminance": 0.26592
}

Semantic roles & 50–950 ramp

primary
#EA51B2
secondary
#AFE8C4
accent
#DB570B
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EA51B2

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

Preview Lab → · Contrast checker → · Palette generator →

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