#EA51C6#EA51C6

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

Color values

HEX#EA51C6
RGBrgb(234, 81, 198)
HSLhsl(314, 78%, 62%)
HSVhsv(314, 65%, 92%)
CMYKcmyk(0%, 65.4%, 15.4%, 8.2%)
CIE-LABlab(59.40, 70.59, -30.47)
CIE-LCHlch(59.40, 76.89, 336.65°)
OKLaboklab(67.94% 0.2086 -0.0824)
OKLCHoklch(67.94% 0.224 338.4)
XYZxyz(47.0681, 27.4587, 56.2363)
Luminance0.2746 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51C6 #51EA75
analogous
#C251EA #EA51C6 #EA5179
triadic
#EA51C6 #C6EA51 #51C6EA
tetradic
#EA51C6 #EAC251 #51EA75 #5179EA
square
#EA51C6 #EAC251 #51EA75 #5179EA
split-complementary
#EA51C6 #79EA51 #51EAC2
monochromatic
#AC1588 #E21BB4 #EA51C6 #F188D8 #F7BEEA

Accessibility & contrast

On white

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

On black

6.49
#EA51C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51C6
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51C6#FFFFFF#000000##000000
##EA51C61.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780C9
Deuteranopia (green-blind)
#8898C2
Tritanopia (blue-blind)
#F65784
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ea51c6;
/* rgb */ color: rgb(234, 81, 198);
/* oklch */ color: oklch(67.9% 0.224 338.4);
Tailwind
colors: {
  custom: {
    50: '#f48cd7',
    500: '#ea51c6',
    950: '#000000',
  },
}
SCSS
$custom: #ea51c6;
$custom-light: #f48cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51c6",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 198
  },
  "hsl": {
    "h": 314.118,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67943,
    "c": 0.22427,
    "h": 338.4
  },
  "luminance": 0.27455
}

Semantic roles & 50–950 ramp

primary
#EA51C6
secondary
#AFE8BC
accent
#DB3C0B
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EA51C6

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

Preview Lab → · Contrast checker → · Palette generator →

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