#EB51B8#EB51B8

#EB51B8 is a light, highly saturated pink. Relative luminance 0.270; OKLCH L 67.5% C 0.216 H 343.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#EB51B8
RGBrgb(235, 81, 184)
HSLhsl(320, 79%, 62%)
HSVhsv(320, 66%, 92%)
CMYKcmyk(0%, 65.5%, 21.7%, 7.8%)
CIE-LABlab(58.99, 68.94, -23.07)
CIE-LCHlch(58.99, 72.70, 341.50°)
OKLaboklab(67.49% 0.2071 -0.0616)
OKLCHoklch(67.49% 0.216 343.4)
XYZxyz(45.8566, 27.0122, 48.1369)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51B8 #51EB84
analogous
#D151EB #EB51B8 #EB516B
triadic
#EB51B8 #B8EB51 #51B8EB
tetradic
#EB51B8 #EBD151 #51EB84 #516BEB
square
#EB51B8 #EBD151 #51EB84 #516BEB
split-complementary
#EB51B8 #6BEB51 #51EBD1
monochromatic
#AE147B #E51AA2 #EB51B8 #F188CE #F8BFE5

Accessibility & contrast

On white

3.28
#EB51B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#EB51B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB51B8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB51B8#FFFFFF#000000##000000
##EB51B81.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7EBB
Deuteranopia (green-blind)
#8D97B4
Tritanopia (blue-blind)
#F9517D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #eb51b8;
/* rgb */ color: rgb(235, 81, 184);
/* oklch */ color: oklch(67.5% 0.216 343.4);
Tailwind
colors: {
  custom: {
    50: '#f58ccd',
    500: '#eb51b8',
    950: '#000000',
  },
}
SCSS
$custom: #eb51b8;
$custom-light: #f58ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51b8",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 184
  },
  "hsl": {
    "h": 319.87,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67488,
    "c": 0.21603,
    "h": 343.4
  },
  "luminance": 0.27008
}

Semantic roles & 50–950 ramp

primary
#EB51B8
secondary
#B0E8C2
accent
#DC4F0A
background
#FFF9FC
surface
#FFF1F9
border
#D7CBD2
text
#180D13
muted
#867E82

Preview Lab

Preview with #EB51B8

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

Preview Lab → · Contrast checker → · Palette generator →

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