#EB51BC#EB51BC

#EB51BC is a light, highly saturated pink. Relative luminance 0.272; OKLCH L 67.7% C 0.218 H 342.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#EB51BC
RGBrgb(235, 81, 188)
HSLhsl(318, 79%, 62%)
HSVhsv(318, 66%, 92%)
CMYKcmyk(0%, 65.5%, 20%, 7.8%)
CIE-LABlab(59.14, 69.47, -25.13)
CIE-LCHlch(59.14, 73.88, 340.11°)
OKLaboklab(67.65% 0.2078 -0.0673)
OKLCHoklch(67.65% 0.218 342)
XYZxyz(46.2818, 27.1823, 50.3765)
Luminance0.2718 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51BC #51EB80
analogous
#CD51EB #EB51BC #EB516F
triadic
#EB51BC #BCEB51 #51BCEB
tetradic
#EB51BC #EBCD51 #51EB80 #516FEB
square
#EB51BC #EBCD51 #51EB80 #516FEB
split-complementary
#EB51BC #6FEB51 #51EBCD
monochromatic
#AE147F #E51AA7 #EB51BC #F188D1 #F8BFE6

Accessibility & contrast

On white

3.26
#EB51BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#EB51BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB51BC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB51BC#FFFFFF#000000##000000
##EB51BC1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#8C98B8
Tritanopia (blue-blind)
#F9537F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #eb51bc;
/* rgb */ color: rgb(235, 81, 188);
/* oklch */ color: oklch(67.7% 0.218 342.0);
Tailwind
colors: {
  custom: {
    50: '#f58cd0',
    500: '#eb51bc',
    950: '#000000',
  },
}
SCSS
$custom: #eb51bc;
$custom-light: #f58cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51bc",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 318.312,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67654,
    "c": 0.21848,
    "h": 342
  },
  "luminance": 0.27178
}

Semantic roles & 50–950 ramp

primary
#EB51BC
secondary
#B0E8C1
accent
#DC4A0A
background
#FFF9FC
surface
#FFF1F9
border
#D7CBD2
text
#180D14
muted
#867E82

Preview Lab

Preview with #EB51BC

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

Preview Lab → · Contrast checker → · Palette generator →

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