#EA51B7#EA51B7

#EA51B7 is a light, highly saturated pink. Relative luminance 0.268; OKLCH L 67.3% C 0.215 H 343.5°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#EA51B7
RGBrgb(234, 81, 183)
HSLhsl(320, 78%, 62%)
HSVhsv(320, 65%, 92%)
CMYKcmyk(0%, 65.4%, 21.8%, 8.2%)
CIE-LABlab(58.79, 68.55, -22.81)
CIE-LCHlch(58.79, 72.24, 341.59°)
OKLaboklab(67.3% 0.2059 -0.0609)
OKLCHoklch(67.3% 0.215 343.5)
XYZxyz(45.4228, 26.8006, 47.5714)
Luminance0.2680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51B7 #51EA84
analogous
#D151EA #EA51B7 #EA516B
triadic
#EA51B7 #B7EA51 #51B7EA
tetradic
#EA51B7 #EAD151 #51EA84 #516BEA
square
#EA51B7 #EAD151 #51EA84 #516BEA
split-complementary
#EA51B7 #6BEA51 #51EAD1
monochromatic
#AC1579 #E21BA0 #EA51B7 #F188CE #F7BEE4

Accessibility & contrast

On white

3.30
#EA51B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#EA51B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51B7
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51B7#FFFFFF#000000##000000
##EA51B71.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7DBA
Deuteranopia (green-blind)
#8D97B3
Tritanopia (blue-blind)
#F8517D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ea51b7;
/* rgb */ color: rgb(234, 81, 183);
/* oklch */ color: oklch(67.3% 0.215 343.5);
Tailwind
colors: {
  custom: {
    50: '#f58ccc',
    500: '#ea51b7',
    950: '#000000',
  },
}
SCSS
$custom: #ea51b7;
$custom-light: #f58ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51b7",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 183
  },
  "hsl": {
    "h": 320,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67301,
    "c": 0.21472,
    "h": 343.5
  },
  "luminance": 0.26796
}

Semantic roles & 50–950 ramp

primary
#EA51B7
secondary
#AFE8C2
accent
#DB500B
background
#FFF9FC
surface
#FFF1F9
border
#D7CBD2
text
#180D13
muted
#867E82

Preview Lab

Preview with #EA51B7

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

Preview Lab → · Contrast checker → · Palette generator →

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