#EA51BA#EA51BA

#EA51BA is a light, highly saturated pink. Relative luminance 0.269; OKLCH L 67.4% C 0.217 H 342.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#EA51BA
RGBrgb(234, 81, 186)
HSLhsl(319, 78%, 62%)
HSVhsv(319, 65%, 92%)
CMYKcmyk(0%, 65.4%, 20.5%, 8.2%)
CIE-LABlab(58.91, 68.94, -24.36)
CIE-LCHlch(58.91, 73.12, 340.54°)
OKLaboklab(67.43% 0.2065 -0.0652)
OKLCHoklch(67.43% 0.217 342.5)
XYZxyz(45.7384, 26.9268, 49.2334)
Luminance0.2692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51BA #51EA81
analogous
#CE51EA #EA51BA #EA516D
triadic
#EA51BA #BAEA51 #51BAEA
tetradic
#EA51BA #EACE51 #51EA81 #516DEA
square
#EA51BA #EACE51 #51EA81 #516DEA
split-complementary
#EA51BA #6DEA51 #51EACE
monochromatic
#AC157C #E21BA4 #EA51BA #F188D0 #F7BEE5

Accessibility & contrast

On white

3.29
#EA51BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#EA51BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51BA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51BA#FFFFFF#000000##000000
##EA51BA1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBD
Deuteranopia (green-blind)
#8C97B6
Tritanopia (blue-blind)
#F8527E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ea51ba;
/* rgb */ color: rgb(234, 81, 186);
/* oklch */ color: oklch(67.4% 0.217 342.5);
Tailwind
colors: {
  custom: {
    50: '#f58ccf',
    500: '#ea51ba',
    950: '#000000',
  },
}
SCSS
$custom: #ea51ba;
$custom-light: #f58ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51ba",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 318.824,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67425,
    "c": 0.21655,
    "h": 342.5
  },
  "luminance": 0.26922
}

Semantic roles & 50–950 ramp

primary
#EA51BA
secondary
#AFE8C1
accent
#DB4C0B
background
#FFF9FC
surface
#FFF1F9
border
#D7CBD2
text
#180D13
muted
#867E82

Preview Lab

Preview with #EA51BA

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

Preview Lab → · Contrast checker → · Palette generator →

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