#EB51BA#EB51BA

#EB51BA is a light, highly saturated pink. Relative luminance 0.271; OKLCH L 67.6% C 0.217 H 342.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#EB51BA
RGBrgb(235, 81, 186)
HSLhsl(319, 79%, 62%)
HSVhsv(319, 66%, 92%)
CMYKcmyk(0%, 65.5%, 20.9%, 7.8%)
CIE-LABlab(59.06, 69.21, -24.10)
CIE-LCHlch(59.06, 73.28, 340.80°)
OKLaboklab(67.57% 0.2075 -0.0645)
OKLCHoklch(67.57% 0.217 342.7)
XYZxyz(46.0677, 27.0966, 49.2489)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51BA #51EB82
analogous
#CF51EB #EB51BA #EB516D
triadic
#EB51BA #BAEB51 #51BAEB
tetradic
#EB51BA #EBCF51 #51EB82 #516DEB
square
#EB51BA #EBCF51 #51EB82 #516DEB
split-complementary
#EB51BA #6DEB51 #51EBCF
monochromatic
#AE147D #E51AA4 #EB51BA #F188D0 #F8BFE6

Accessibility & contrast

On white

3.27
#EB51BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#EB51BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB51BA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB51BA#FFFFFF#000000##000000
##EB51BA1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBD
Deuteranopia (green-blind)
#8C97B6
Tritanopia (blue-blind)
#F9527E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #eb51ba;
/* rgb */ color: rgb(235, 81, 186);
/* oklch */ color: oklch(67.6% 0.217 342.7);
Tailwind
colors: {
  custom: {
    50: '#f58ccf',
    500: '#eb51ba',
    950: '#000000',
  },
}
SCSS
$custom: #eb51ba;
$custom-light: #f58ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51ba",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 319.091,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6757,
    "c": 0.21723,
    "h": 342.7
  },
  "luminance": 0.27092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB51BA

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

Preview Lab → · Contrast checker → · Palette generator →

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