#EA51BC#EA51BC

#EA51BC is a light, highly saturated pink. Relative luminance 0.270; OKLCH L 67.5% C 0.218 H 341.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#EA51BC
RGBrgb(234, 81, 188)
HSLhsl(318, 78%, 62%)
HSVhsv(318, 65%, 92%)
CMYKcmyk(0%, 65.4%, 19.7%, 8.2%)
CIE-LABlab(58.99, 69.21, -25.38)
CIE-LCHlch(58.99, 73.72, 339.86°)
OKLaboklab(67.51% 0.2069 -0.0681)
OKLCHoklch(67.51% 0.218 341.8)
XYZxyz(45.9525, 27.0125, 50.3610)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA51BC #51EA7F
analogous
#CC51EA #EA51BC #EA5170
triadic
#EA51BC #BCEA51 #51BCEA
tetradic
#EA51BC #EACC51 #51EA7F #5170EA
square
#EA51BC #EACC51 #51EA7F #5170EA
split-complementary
#EA51BC #70EA51 #51EACC
monochromatic
#AC157E #E21BA7 #EA51BC #F188D1 #F7BEE6

Accessibility & contrast

On white

3.28
#EA51BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#EA51BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA51BC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA51BC#FFFFFF#000000##000000
##EA51BC1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#8B97B8
Tritanopia (blue-blind)
#F8537F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ea51bc;
/* rgb */ color: rgb(234, 81, 188);
/* oklch */ color: oklch(67.5% 0.218 341.8);
Tailwind
colors: {
  custom: {
    50: '#f58cd0',
    500: '#ea51bc',
    950: '#000000',
  },
}
SCSS
$custom: #ea51bc;
$custom-light: #f58cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ea51bc",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 318.039,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67509,
    "c": 0.21779,
    "h": 341.8
  },
  "luminance": 0.27008
}

Semantic roles & 50–950 ramp

primary
#EA51BC
secondary
#AFE8C0
accent
#DB490B
background
#FFF9FC
surface
#FFF1F9
border
#D7CBD2
text
#180D14
muted
#867E82

Preview Lab

Preview with #EA51BC

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

Preview Lab → · Contrast checker → · Palette generator →

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