#EB51B6#EB51B6

#EB51B6 is a light, highly saturated pink. Relative luminance 0.269; OKLCH L 67.4% C 0.215 H 344.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#EB51B6
RGBrgb(235, 81, 182)
HSLhsl(321, 79%, 62%)
HSVhsv(321, 66%, 92%)
CMYKcmyk(0%, 65.5%, 22.6%, 7.8%)
CIE-LABlab(58.91, 68.68, -22.04)
CIE-LCHlch(58.91, 72.13, 342.21°)
OKLaboklab(67.41% 0.2067 -0.0587)
OKLCHoklch(67.41% 0.215 344.1)
XYZxyz(45.6484, 26.9289, 47.0406)
Luminance0.2692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51B6 #51EB86
analogous
#D351EB #EB51B6 #EB5169
triadic
#EB51B6 #B6EB51 #51B6EB
tetradic
#EB51B6 #EBD351 #51EB86 #5169EB
square
#EB51B6 #EBD351 #51EB86 #5169EB
split-complementary
#EB51B6 #69EB51 #51EBD3
monochromatic
#AE1479 #E51A9F #EB51B6 #F188CD #F8BFE4

Accessibility & contrast

On white

3.29
#EB51B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#EB51B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB51B6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB51B6#FFFFFF#000000##000000
##EB51B61.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#607DB9
Deuteranopia (green-blind)
#8E97B2
Tritanopia (blue-blind)
#FA507C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #eb51b6;
/* rgb */ color: rgb(235, 81, 182);
/* oklch */ color: oklch(67.4% 0.215 344.1);
Tailwind
colors: {
  custom: {
    50: '#f58ccc',
    500: '#eb51b6',
    950: '#000000',
  },
}
SCSS
$custom: #eb51b6;
$custom-light: #f58ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51b6",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 182
  },
  "hsl": {
    "h": 320.649,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67406,
    "c": 0.21483,
    "h": 344.1
  },
  "luminance": 0.26924
}

Semantic roles & 50–950 ramp

primary
#EB51B6
secondary
#B0E8C3
accent
#DC520A
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EB51B6

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

Preview Lab → · Contrast checker → · Palette generator →

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