#EB51C1#EB51C1

#EB51C1 is a light, highly saturated pink. Relative luminance 0.274; OKLCH L 67.9% C 0.222 H 340.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#EB51C1
RGBrgb(235, 81, 193)
HSLhsl(316, 79%, 62%)
HSVhsv(316, 66%, 92%)
CMYKcmyk(0%, 65.5%, 17.9%, 7.8%)
CIE-LABlab(59.34, 70.15, -27.68)
CIE-LCHlch(59.34, 75.42, 338.46°)
OKLaboklab(67.87% 0.2087 -0.0745)
OKLCHoklch(67.87% 0.222 340.4)
XYZxyz(46.8302, 27.4016, 53.2644)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51C1 #51EB7B
analogous
#C851EB #EB51C1 #EB5174
triadic
#EB51C1 #C1EB51 #51C1EB
tetradic
#EB51C1 #EBC851 #51EB7B #5174EB
square
#EB51C1 #EBC851 #51EB7B #5174EB
split-complementary
#EB51C1 #74EB51 #51EBC8
monochromatic
#AE1484 #E51AAD #EB51C1 #F188D5 #F8BFE8

Accessibility & contrast

On white

3.24
#EB51C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#EB51C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB51C1
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB51C1#FFFFFF#000000##000000
##EB51C11.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7FC4
Deuteranopia (green-blind)
#8A98BD
Tritanopia (blue-blind)
#F85582
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #eb51c1;
/* rgb */ color: rgb(235, 81, 193);
/* oklch */ color: oklch(67.9% 0.222 340.4);
Tailwind
colors: {
  custom: {
    50: '#f58cd4',
    500: '#eb51c1',
    950: '#000000',
  },
}
SCSS
$custom: #eb51c1;
$custom-light: #f58cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51c1",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 193
  },
  "hsl": {
    "h": 316.364,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67867,
    "c": 0.22164,
    "h": 340.4
  },
  "luminance": 0.27397
}

Semantic roles & 50–950 ramp

primary
#EB51C1
secondary
#B0E8BF
accent
#DC430A
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EB51C1

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

Preview Lab → · Contrast checker → · Palette generator →

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