#EA51A2#EA51A2

#EA51A2 is a light, highly saturated pink. Relative luminance 0.260; OKLCH L 66.5% C 0.203 H 351.3°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#EA51A2
RGBrgb(234, 81, 162)
HSLhsl(328, 78%, 62%)
HSVhsv(328, 65%, 92%)
CMYKcmyk(0%, 65.4%, 30.8%, 8.2%)
CIE-LABlab(58.03, 65.93, -11.81)
CIE-LCHlch(58.03, 66.98, 349.84°)
OKLaboklab(66.49% 0.201 -0.0306)
OKLCHoklch(66.49% 0.203 351.3)
XYZxyz(43.3979, 25.9906, 36.9066)
Luminance0.2599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51A2 #51EA99
analogous
#E551EA #EA51A2 #EA5156
triadic
#EA51A2 #A2EA51 #51A2EA
tetradic
#EA51A2 #EAE551 #51EA99 #5156EA
square
#EA51A2 #EAE551 #51EA99 #5156EA
split-complementary
#EA51A2 #56EA51 #51EAE5
monochromatic
#AC1565 #E21B85 #EA51A2 #F188BF #F7BEDC

Accessibility & contrast

On white

3.39
#EA51A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#EA51A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51A2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51A2#FFFFFF#000000##000000
##EA51A21.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#687AA4
Deuteranopia (green-blind)
#93969E
Tritanopia (blue-blind)
#FB4873
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ea51a2;
/* rgb */ color: rgb(234, 81, 162);
/* oklch */ color: oklch(66.5% 0.203 351.3);
Tailwind
colors: {
  custom: {
    50: '#f58bbd',
    500: '#ea51a2',
    950: '#000000',
  },
}
SCSS
$custom: #ea51a2;
$custom-light: #f58bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51a2",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 328.235,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66492,
    "c": 0.20326,
    "h": 351.3
  },
  "luminance": 0.25986
}

Semantic roles & 50–950 ramp

primary
#EA51A2
secondary
#AFE8CA
accent
#DB6D0B
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EA51A2

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

Preview Lab → · Contrast checker → · Palette generator →

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