#EB51CA#EB51CA

#EB51CA is a light, highly saturated pink. Relative luminance 0.278; OKLCH L 68.3% C 0.228 H 337.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#EB51CA
RGBrgb(235, 81, 202)
HSLhsl(313, 79%, 62%)
HSVhsv(313, 66%, 92%)
CMYKcmyk(0%, 65.5%, 14%, 7.8%)
CIE-LABlab(59.72, 71.41, -32.23)
CIE-LCHlch(59.72, 78.35, 335.71°)
OKLaboklab(68.27% 0.2102 -0.0874)
OKLCHoklch(68.27% 0.228 337.4)
XYZxyz(47.8648, 27.8155, 58.7137)
Luminance0.2781 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51CA #51EB72
analogous
#BF51EB #EB51CA #EB517D
triadic
#EB51CA #CAEB51 #51CAEB
tetradic
#EB51CA #EBBF51 #51EB72 #517DEB
square
#EB51CA #EBBF51 #51EB72 #517DEB
split-complementary
#EB51CA #7DEB51 #51EBBF
monochromatic
#AE148D #E51AB9 #EB51CA #F188DB #F8BFEB

Accessibility & contrast

On white

3.20
#EB51CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#EB51CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB51CA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB51CA#FFFFFF#000000##000000
##EB51CA1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#8798C6
Tritanopia (blue-blind)
#F75886
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #eb51ca;
/* rgb */ color: rgb(235, 81, 202);
/* oklch */ color: oklch(68.3% 0.228 337.4);
Tailwind
colors: {
  custom: {
    50: '#f58cda',
    500: '#eb51ca',
    950: '#000000',
  },
}
SCSS
$custom: #eb51ca;
$custom-light: #f58cda;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51ca",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 312.857,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.68266,
    "c": 0.2276,
    "h": 337.4
  },
  "luminance": 0.27811
}

Semantic roles & 50–950 ramp

primary
#EB51CA
secondary
#B0E8BC
accent
#DC370A
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EB51CA

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

Preview Lab → · Contrast checker → · Palette generator →

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