#EA51B5#EA51B5

#EA51B5 is a light, highly saturated pink. Relative luminance 0.267; OKLCH L 67.2% C 0.214 H 344.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#EA51B5
RGBrgb(234, 81, 181)
HSLhsl(321, 78%, 62%)
HSVhsv(321, 65%, 92%)
CMYKcmyk(0%, 65.4%, 22.6%, 8.2%)
CIE-LABlab(58.71, 68.29, -21.78)
CIE-LCHlch(58.71, 71.67, 342.31°)
OKLaboklab(67.22% 0.2055 -0.058)
OKLCHoklch(67.22% 0.214 344.2)
XYZxyz(45.2162, 26.7179, 46.4829)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51B5 #51EA86
analogous
#D251EA #EA51B5 #EA5169
triadic
#EA51B5 #B5EA51 #51B5EA
tetradic
#EA51B5 #EAD251 #51EA86 #5169EA
square
#EA51B5 #EAD251 #51EA86 #5169EA
split-complementary
#EA51B5 #69EA51 #51EAD2
monochromatic
#AC1578 #E21B9D #EA51B5 #F188CC #F7BEE3

Accessibility & contrast

On white

3.31
#EA51B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#EA51B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51B5
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51B5#FFFFFF#000000##000000
##EA51B51.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#607DB8
Deuteranopia (green-blind)
#8D97B1
Tritanopia (blue-blind)
#F9507C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ea51b5;
/* rgb */ color: rgb(234, 81, 181);
/* oklch */ color: oklch(67.2% 0.214 344.2);
Tailwind
colors: {
  custom: {
    50: '#f58ccb',
    500: '#ea51b5',
    950: '#000000',
  },
}
SCSS
$custom: #ea51b5;
$custom-light: #f58ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51b5",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 181
  },
  "hsl": {
    "h": 320.784,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67219,
    "c": 0.21352,
    "h": 344.2
  },
  "luminance": 0.26713
}

Semantic roles & 50–950 ramp

primary
#EA51B5
secondary
#AFE8C3
accent
#DB530B
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EA51B5

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

Preview Lab → · Contrast checker → · Palette generator →

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