#EB51B5#EB51B5

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

Color values

HEX#EB51B5
RGBrgb(235, 81, 181)
HSLhsl(321, 79%, 62%)
HSVhsv(321, 66%, 92%)
CMYKcmyk(0%, 65.5%, 23%, 7.8%)
CIE-LABlab(58.87, 68.55, -21.52)
CIE-LCHlch(58.87, 71.85, 342.57°)
OKLaboklab(67.36% 0.2064 -0.0573)
OKLCHoklch(67.36% 0.214 344.5)
XYZxyz(45.5455, 26.8877, 46.4983)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51B5 #51EB87
analogous
#D451EB #EB51B5 #EB5168
triadic
#EB51B5 #B5EB51 #51B5EB
tetradic
#EB51B5 #EBD451 #51EB87 #5168EB
square
#EB51B5 #EBD451 #51EB87 #5168EB
split-complementary
#EB51B5 #68EB51 #51EBD4
monochromatic
#AE1478 #E51A9E #EB51B5 #F188CC #F8BFE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EB51B5#FFFFFF#000000##000000
##EB51B51.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)
#617DB8
Deuteranopia (green-blind)
#8E97B1
Tritanopia (blue-blind)
#FA507C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #eb51b5;
/* rgb */ color: rgb(235, 81, 181);
/* oklch */ color: oklch(67.4% 0.214 344.5);
Tailwind
colors: {
  custom: {
    50: '#f58ccb',
    500: '#eb51b5',
    950: '#000000',
  },
}
SCSS
$custom: #eb51b5;
$custom-light: #f58ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51b5",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 181
  },
  "hsl": {
    "h": 321.039,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67365,
    "c": 0.21423,
    "h": 344.5
  },
  "luminance": 0.26883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB51B5

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

Preview Lab → · Contrast checker → · Palette generator →

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