#EA51C5#EA51C5

#EA51C5 is a light, highly saturated pink. Relative luminance 0.274; OKLCH L 67.9% C 0.224 H 338.8°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#EA51C5
RGBrgb(234, 81, 197)
HSLhsl(315, 78%, 62%)
HSVhsv(315, 65%, 92%)
CMYKcmyk(0%, 65.4%, 15.8%, 8.2%)
CIE-LABlab(59.35, 70.45, -29.97)
CIE-LCHlch(59.35, 76.56, 336.96°)
OKLaboklab(67.9% 0.2084 -0.081)
OKLCHoklch(67.9% 0.224 338.8)
XYZxyz(46.9531, 27.4127, 55.6308)
Luminance0.2741 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51C5 #51EA76
analogous
#C351EA #EA51C5 #EA5179
triadic
#EA51C5 #C5EA51 #51C5EA
tetradic
#EA51C5 #EAC351 #51EA76 #5179EA
square
#EA51C5 #EAC351 #51EA76 #5179EA
split-complementary
#EA51C5 #79EA51 #51EAC3
monochromatic
#AC1587 #E21BB2 #EA51C5 #F188D7 #F7BEE9

Accessibility & contrast

On white

3.24
#EA51C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#EA51C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51C5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51C5#FFFFFF#000000##000000
##EA51C51.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5880C8
Deuteranopia (green-blind)
#8898C1
Tritanopia (blue-blind)
#F75784
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ea51c5;
/* rgb */ color: rgb(234, 81, 197);
/* oklch */ color: oklch(67.9% 0.224 338.8);
Tailwind
colors: {
  custom: {
    50: '#f48cd7',
    500: '#ea51c5',
    950: '#000000',
  },
}
SCSS
$custom: #ea51c5;
$custom-light: #f48cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51c5",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 197
  },
  "hsl": {
    "h": 314.51,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67899,
    "c": 0.2236,
    "h": 338.8
  },
  "luminance": 0.27409
}

Semantic roles & 50–950 ramp

primary
#EA51C5
secondary
#AFE8BD
accent
#DB3D0B
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EA51C5

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

Preview Lab → · Contrast checker → · Palette generator →

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