#EB52A2#EB52A2

#EB52A2 is a light, highly saturated pink. Relative luminance 0.263; OKLCH L 66.7% C 0.203 H 351.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#EB52A2
RGBrgb(235, 82, 162)
HSLhsl(329, 79%, 62%)
HSVhsv(329, 65%, 92%)
CMYKcmyk(0%, 65.1%, 31.1%, 7.8%)
CIE-LABlab(58.33, 65.82, -11.34)
CIE-LCHlch(58.33, 66.79, 350.22°)
OKLaboklab(66.75% 0.2007 -0.0293)
OKLCHoklch(66.75% 0.203 351.7)
XYZxyz(43.8021, 26.3101, 36.9470)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB52A2 #52EB9B
analogous
#E752EB #EB52A2 #EB5256
triadic
#EB52A2 #A2EB52 #52A2EB
tetradic
#EB52A2 #EBE752 #52EB9B #5256EB
square
#EB52A2 #EBE752 #52EB9B #5256EB
split-complementary
#EB52A2 #56EB52 #52EBE7
monochromatic
#AE1465 #E51B85 #EB52A2 #F189BF #F8C0DD

Accessibility & contrast

On white

3.35
#EB52A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#EB52A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB52A2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB52A2#FFFFFF#000000##000000
##EB52A21.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#697BA4
Deuteranopia (green-blind)
#94969E
Tritanopia (blue-blind)
#FC4973
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #eb52a2;
/* rgb */ color: rgb(235, 82, 162);
/* oklch */ color: oklch(66.7% 0.203 351.7);
Tailwind
colors: {
  custom: {
    50: '#f68cbd',
    500: '#eb52a2',
    950: '#000000',
  },
}
SCSS
$custom: #eb52a2;
$custom-light: #f68cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#eb52a2",
  "rgb": {
    "r": 235,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 328.627,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66746,
    "c": 0.20278,
    "h": 351.7
  },
  "luminance": 0.26305
}

Semantic roles & 50–950 ramp

primary
#EB52A2
secondary
#B0E8CB
accent
#DC6E0A
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EB52A2

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

Preview Lab → · Contrast checker → · Palette generator →

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