#EA51B9#EA51B9

#EA51B9 is a light, highly saturated pink. Relative luminance 0.269; OKLCH L 67.4% C 0.216 H 342.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#EA51B9
RGBrgb(234, 81, 185)
HSLhsl(319, 78%, 62%)
HSVhsv(319, 65%, 92%)
CMYKcmyk(0%, 65.4%, 20.9%, 8.2%)
CIE-LABlab(58.87, 68.81, -23.84)
CIE-LCHlch(58.87, 72.83, 340.89°)
OKLaboklab(67.38% 0.2063 -0.0637)
OKLCHoklch(67.38% 0.216 342.8)
XYZxyz(45.6325, 26.8845, 48.6755)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51B9 #51EA82
analogous
#CF51EA #EA51B9 #EA516D
triadic
#EA51B9 #B9EA51 #51B9EA
tetradic
#EA51B9 #EACF51 #51EA82 #516DEA
square
#EA51B9 #EACF51 #51EA82 #516DEA
split-complementary
#EA51B9 #6DEA51 #51EACF
monochromatic
#AC157B #E21BA3 #EA51B9 #F188CF #F7BEE5

Accessibility & contrast

On white

3.29
#EA51B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#EA51B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51B9
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51B9#FFFFFF#000000##000000
##EA51B91.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBC
Deuteranopia (green-blind)
#8C97B5
Tritanopia (blue-blind)
#F8527E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ea51b9;
/* rgb */ color: rgb(234, 81, 185);
/* oklch */ color: oklch(67.4% 0.216 342.8);
Tailwind
colors: {
  custom: {
    50: '#f58cce',
    500: '#ea51b9',
    950: '#000000',
  },
}
SCSS
$custom: #ea51b9;
$custom-light: #f58cce;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51b9",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 185
  },
  "hsl": {
    "h": 319.216,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67383,
    "c": 0.21593,
    "h": 342.8
  },
  "luminance": 0.2688
}

Semantic roles & 50–950 ramp

primary
#EA51B9
secondary
#AFE8C1
accent
#DB4D0B
background
#FFF9FC
surface
#FFF1F9
border
#D7CBD2
text
#180D13
muted
#867E82

Preview Lab

Preview with #EA51B9

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

Preview Lab → · Contrast checker → · Palette generator →

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