#EB51C4#EB51C4

#EB51C4 is a light, highly saturated pink. Relative luminance 0.275; OKLCH L 68.0% C 0.224 H 339.4°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#EB51C4
RGBrgb(235, 81, 196)
HSLhsl(315, 79%, 62%)
HSVhsv(315, 66%, 92%)
CMYKcmyk(0%, 65.5%, 16.6%, 7.8%)
CIE-LABlab(59.47, 70.57, -29.21)
CIE-LCHlch(59.47, 76.37, 337.52°)
OKLaboklab(68% 0.2092 -0.0788)
OKLCHoklch(68% 0.224 339.4)
XYZxyz(47.1682, 27.5368, 55.0448)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51C4 #51EB78
analogous
#C551EB #EB51C4 #EB5177
triadic
#EB51C4 #C4EB51 #51C4EB
tetradic
#EB51C4 #EBC551 #51EB78 #5177EB
square
#EB51C4 #EBC551 #51EB78 #5177EB
split-complementary
#EB51C4 #77EB51 #51EBC5
monochromatic
#AE1487 #E51AB1 #EB51C4 #F188D7 #F8BFE9

Accessibility & contrast

On white

3.23
#EB51C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#EB51C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB51C4
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB51C4#FFFFFF#000000##000000
##EB51C41.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5980C7
Deuteranopia (green-blind)
#8998C0
Tritanopia (blue-blind)
#F85683
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #eb51c4;
/* rgb */ color: rgb(235, 81, 196);
/* oklch */ color: oklch(68.0% 0.224 339.4);
Tailwind
colors: {
  custom: {
    50: '#f58cd6',
    500: '#eb51c4',
    950: '#000000',
  },
}
SCSS
$custom: #eb51c4;
$custom-light: #f58cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51c4",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 196
  },
  "hsl": {
    "h": 315.195,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67998,
    "c": 0.22359,
    "h": 339.4
  },
  "luminance": 0.27533
}

Semantic roles & 50–950 ramp

primary
#EB51C4
secondary
#B0E8BE
accent
#DC3F0A
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EB51C4

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

Preview Lab → · Contrast checker → · Palette generator →

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