#EB51C5#EB51C5

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

Color values

HEX#EB51C5
RGBrgb(235, 81, 197)
HSLhsl(315, 79%, 62%)
HSVhsv(315, 66%, 92%)
CMYKcmyk(0%, 65.5%, 16.2%, 7.8%)
CIE-LABlab(59.51, 70.71, -29.71)
CIE-LCHlch(59.51, 76.70, 337.21°)
OKLaboklab(68.04% 0.2094 -0.0803)
OKLCHoklch(68.04% 0.224 339)
XYZxyz(47.2824, 27.5825, 55.6463)
Luminance0.2758 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51C5 #51EB77
analogous
#C451EB #EB51C5 #EB5178
triadic
#EB51C5 #C5EB51 #51C5EB
tetradic
#EB51C5 #EBC451 #51EB77 #5178EB
square
#EB51C5 #EBC451 #51EB77 #5178EB
split-complementary
#EB51C5 #78EB51 #51EBC4
monochromatic
#AE1488 #E51AB3 #EB51C5 #F188D7 #F8BFEA

Accessibility & contrast

On white

3.22
#EB51C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#EB51C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB51C5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB51C5#FFFFFF#000000##000000
##EB51C51.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5880C8
Deuteranopia (green-blind)
#8998C1
Tritanopia (blue-blind)
#F85684
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #eb51c5;
/* rgb */ color: rgb(235, 81, 197);
/* oklch */ color: oklch(68.0% 0.224 339.0);
Tailwind
colors: {
  custom: {
    50: '#f58cd7',
    500: '#eb51c5',
    950: '#000000',
  },
}
SCSS
$custom: #eb51c5;
$custom-light: #f58cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51c5",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 197
  },
  "hsl": {
    "h": 314.805,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.68042,
    "c": 0.22425,
    "h": 339
  },
  "luminance": 0.27578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB51C5

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

Preview Lab → · Contrast checker → · Palette generator →

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