#EB51C8#EB51C8

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

Color values

HEX#EB51C8
RGBrgb(235, 81, 200)
HSLhsl(314, 79%, 62%)
HSVhsv(314, 66%, 92%)
CMYKcmyk(0%, 65.5%, 14.9%, 7.8%)
CIE-LABlab(59.64, 71.13, -31.23)
CIE-LCHlch(59.64, 77.68, 336.30°)
OKLaboklab(68.18% 0.2099 -0.0845)
OKLCHoklch(68.18% 0.226 338.1)
XYZxyz(47.6296, 27.7214, 57.4747)
Luminance0.2772 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51C8 #51EB74
analogous
#C151EB #EB51C8 #EB517B
triadic
#EB51C8 #C8EB51 #51C8EB
tetradic
#EB51C8 #EBC151 #51EB74 #517BEB
square
#EB51C8 #EBC151 #51EB74 #517BEB
split-complementary
#EB51C8 #7BEB51 #51EBC1
monochromatic
#AE148B #E51AB7 #EB51C8 #F188D9 #F8BFEB

Accessibility & contrast

On white

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

On black

6.54
#EB51C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB51C8
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB51C8#FFFFFF#000000##000000
##EB51C81.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CB
Deuteranopia (green-blind)
#8898C4
Tritanopia (blue-blind)
#F75885
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #eb51c8;
/* rgb */ color: rgb(235, 81, 200);
/* oklch */ color: oklch(68.2% 0.226 338.1);
Tailwind
colors: {
  custom: {
    50: '#f58cd9',
    500: '#eb51c8',
    950: '#000000',
  },
}
SCSS
$custom: #eb51c8;
$custom-light: #f58cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51c8",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 313.636,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.68176,
    "c": 0.22625,
    "h": 338.1
  },
  "luminance": 0.27717
}

Semantic roles & 50–950 ramp

primary
#EB51C8
secondary
#B0E8BC
accent
#DC3A0A
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EB51C8

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

Preview Lab → · Contrast checker → · Palette generator →

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