#EA51A8#EA51A8

#EA51A8 is a light, highly saturated pink. Relative luminance 0.262; OKLCH L 66.7% C 0.206 H 349.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#EA51A8
RGBrgb(234, 81, 168)
HSLhsl(326, 78%, 62%)
HSVhsv(326, 65%, 92%)
CMYKcmyk(0%, 65.4%, 28.2%, 8.2%)
CIE-LABlab(58.23, 66.65, -14.99)
CIE-LCHlch(58.23, 68.31, 347.33°)
OKLaboklab(66.71% 0.2025 -0.0392)
OKLCHoklch(66.71% 0.206 349)
XYZxyz(43.9440, 26.2091, 39.7828)
Luminance0.2620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51A8 #51EA93
analogous
#DF51EA #EA51A8 #EA515C
triadic
#EA51A8 #A8EA51 #51A8EA
tetradic
#EA51A8 #EADF51 #51EA93 #515CEA
square
#EA51A8 #EADF51 #51EA93 #515CEA
split-complementary
#EA51A8 #5CEA51 #51EADF
monochromatic
#AC156B #E21B8D #EA51A8 #F188C3 #F7BEDF

Accessibility & contrast

On white

3.36
#EA51A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#EA51A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51A8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51A8#FFFFFF#000000##000000
##EA51A81.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#667BAB
Deuteranopia (green-blind)
#9196A4
Tritanopia (blue-blind)
#FA4B76
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ea51a8;
/* rgb */ color: rgb(234, 81, 168);
/* oklch */ color: oklch(66.7% 0.206 349.0);
Tailwind
colors: {
  custom: {
    50: '#f58bc2',
    500: '#ea51a8',
    950: '#000000',
  },
}
SCSS
$custom: #ea51a8;
$custom-light: #f58bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51a8",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 168
  },
  "hsl": {
    "h": 325.882,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66712,
    "c": 0.20626,
    "h": 349
  },
  "luminance": 0.26204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA51A8

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

Preview Lab → · Contrast checker → · Palette generator →

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