#EA51A7#EA51A7

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

Color values

HEX#EA51A7
RGBrgb(234, 81, 167)
HSLhsl(326, 78%, 62%)
HSVhsv(326, 65%, 92%)
CMYKcmyk(0%, 65.4%, 28.6%, 8.2%)
CIE-LABlab(58.20, 66.53, -14.46)
CIE-LCHlch(58.20, 68.08, 347.74°)
OKLaboklab(66.68% 0.2023 -0.0378)
OKLCHoklch(66.68% 0.206 349.4)
XYZxyz(43.8512, 26.1719, 39.2941)
Luminance0.2617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51A7 #51EA94
analogous
#E151EA #EA51A7 #EA515A
triadic
#EA51A7 #A7EA51 #51A7EA
tetradic
#EA51A7 #EAE151 #51EA94 #515AEA
square
#EA51A7 #EAE151 #51EA94 #515AEA
split-complementary
#EA51A7 #5AEA51 #51EAE1
monochromatic
#AC156A #E21B8B #EA51A7 #F188C3 #F7BEDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EA51A7#FFFFFF#000000##000000
##EA51A71.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)
#667BAA
Deuteranopia (green-blind)
#9196A3
Tritanopia (blue-blind)
#FA4A75
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ea51a7;
/* rgb */ color: rgb(234, 81, 167);
/* oklch */ color: oklch(66.7% 0.206 349.4);
Tailwind
colors: {
  custom: {
    50: '#f58bc1',
    500: '#ea51a7',
    950: '#000000',
  },
}
SCSS
$custom: #ea51a7;
$custom-light: #f58bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51a7",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 326.275,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66675,
    "c": 0.20575,
    "h": 349.4
  },
  "luminance": 0.26167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA51A7

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

Preview Lab → · Contrast checker → · Palette generator →

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