#EB51C7#EB51C7

#EB51C7 is a light, highly saturated pink. Relative luminance 0.277; OKLCH L 68.1% C 0.226 H 338.4°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#EB51C7
RGBrgb(235, 81, 199)
HSLhsl(314, 79%, 62%)
HSVhsv(314, 66%, 92%)
CMYKcmyk(0%, 65.5%, 15.3%, 7.8%)
CIE-LABlab(59.59, 70.99, -30.72)
CIE-LCHlch(59.59, 77.35, 336.60°)
OKLaboklab(68.13% 0.2097 -0.0831)
OKLCHoklch(68.13% 0.226 338.4)
XYZxyz(47.5131, 27.6748, 56.8612)
Luminance0.2767 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51C7 #51EB75
analogous
#C251EB #EB51C7 #EB517A
triadic
#EB51C7 #C7EB51 #51C7EB
tetradic
#EB51C7 #EBC251 #51EB75 #517AEB
square
#EB51C7 #EBC251 #51EB75 #517AEB
split-complementary
#EB51C7 #7AEB51 #51EBC2
monochromatic
#AE148A #E51AB5 #EB51C7 #F188D9 #F8BFEA

Accessibility & contrast

On white

3.21
#EB51C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#EB51C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB51C7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB51C7#FFFFFF#000000##000000
##EB51C71.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CA
Deuteranopia (green-blind)
#8898C3
Tritanopia (blue-blind)
#F85785
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #eb51c7;
/* rgb */ color: rgb(235, 81, 199);
/* oklch */ color: oklch(68.1% 0.226 338.4);
Tailwind
colors: {
  custom: {
    50: '#f58cd8',
    500: '#eb51c7',
    950: '#000000',
  },
}
SCSS
$custom: #eb51c7;
$custom-light: #f58cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51c7",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 314.026,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.68131,
    "c": 0.22558,
    "h": 338.4
  },
  "luminance": 0.27671
}

Semantic roles & 50–950 ramp

primary
#EB51C7
secondary
#B0E8BD
accent
#DC3B0A
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EB51C7

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

Preview Lab → · Contrast checker → · Palette generator →

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