#EA51A6#EA51A6

#EA51A6 is a light, highly saturated pink. Relative luminance 0.261; OKLCH L 66.6% C 0.205 H 349.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#EA51A6
RGBrgb(234, 81, 166)
HSLhsl(327, 78%, 62%)
HSVhsv(327, 65%, 92%)
CMYKcmyk(0%, 65.4%, 29.1%, 8.2%)
CIE-LABlab(58.17, 66.41, -13.93)
CIE-LCHlch(58.17, 67.85, 348.15°)
OKLaboklab(66.64% 0.202 -0.0363)
OKLCHoklch(66.64% 0.205 349.8)
XYZxyz(43.7591, 26.1351, 38.8091)
Luminance0.2613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51A6 #51EA95
analogous
#E251EA #EA51A6 #EA515A
triadic
#EA51A6 #A6EA51 #51A6EA
tetradic
#EA51A6 #EAE251 #51EA95 #515AEA
square
#EA51A6 #EAE251 #51EA95 #515AEA
split-complementary
#EA51A6 #5AEA51 #51EAE2
monochromatic
#AC1569 #E21B8A #EA51A6 #F188C2 #F7BEDE

Accessibility & contrast

On white

3.37
#EA51A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#EA51A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51A6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51A6#FFFFFF#000000##000000
##EA51A61.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#667BA8
Deuteranopia (green-blind)
#9296A2
Tritanopia (blue-blind)
#FA4A75
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ea51a6;
/* rgb */ color: rgb(234, 81, 166);
/* oklch */ color: oklch(66.6% 0.205 349.8);
Tailwind
colors: {
  custom: {
    50: '#f58bc0',
    500: '#ea51a6',
    950: '#000000',
  },
}
SCSS
$custom: #ea51a6;
$custom-light: #f58bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51a6",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 166
  },
  "hsl": {
    "h": 326.667,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66638,
    "c": 0.20524,
    "h": 349.8
  },
  "luminance": 0.2613
}

Semantic roles & 50–950 ramp

primary
#EA51A6
secondary
#AFE8C8
accent
#DB670B
background
#FFF9FB
surface
#FFF1F7
border
#D7CBD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EA51A6

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

Preview Lab → · Contrast checker → · Palette generator →

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