#EB51B9#EB51B9

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

Color values

HEX#EB51B9
RGBrgb(235, 81, 185)
HSLhsl(319, 79%, 62%)
HSVhsv(319, 66%, 92%)
CMYKcmyk(0%, 65.5%, 21.3%, 7.8%)
CIE-LABlab(59.02, 69.07, -23.59)
CIE-LCHlch(59.02, 72.99, 341.14°)
OKLaboklab(67.53% 0.2073 -0.063)
OKLCHoklch(67.53% 0.217 343.1)
XYZxyz(45.9618, 27.0543, 48.6909)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51B9 #51EB83
analogous
#D051EB #EB51B9 #EB516C
triadic
#EB51B9 #B9EB51 #51B9EB
tetradic
#EB51B9 #EBD051 #51EB83 #516CEB
square
#EB51B9 #EBD051 #51EB83 #516CEB
split-complementary
#EB51B9 #6CEB51 #51EBD0
monochromatic
#AE147C #E51AA3 #EB51B9 #F188CF #F8BFE5

Accessibility & contrast

On white

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

On black

6.41
#EB51B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB51B9
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB51B9#FFFFFF#000000##000000
##EB51B91.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7EBC
Deuteranopia (green-blind)
#8D97B5
Tritanopia (blue-blind)
#F9517E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #eb51b9;
/* rgb */ color: rgb(235, 81, 185);
/* oklch */ color: oklch(67.5% 0.217 343.1);
Tailwind
colors: {
  custom: {
    50: '#f58cce',
    500: '#eb51b9',
    950: '#000000',
  },
}
SCSS
$custom: #eb51b9;
$custom-light: #f58cce;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51b9",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 185
  },
  "hsl": {
    "h": 319.481,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67529,
    "c": 0.21663,
    "h": 343.1
  },
  "luminance": 0.2705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB51B9

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

Preview Lab → · Contrast checker → · Palette generator →

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