#E052D2#E052D2

#E052D2 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.2% C 0.225 H 331.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#E052D2
RGBrgb(224, 82, 210)
HSLhsl(306, 70%, 60%)
HSVhsv(306, 63%, 88%)
CMYKcmyk(0%, 63.4%, 6.3%, 12.2%)
CIE-LABlab(58.54, 69.51, -38.74)
CIE-LCHlch(58.54, 79.58, 330.87°)
OKLaboklab(67.2% 0.1989 -0.1062)
OKLCHoklch(67.2% 0.225 331.9)
XYZxyz(45.3906, 26.5384, 63.6920)
Luminance0.2653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E052D2 #52E060
analogous
#A752E0 #E052D2 #E0528B
triadic
#E052D2 #D2E052 #52D2E0
tetradic
#E052D2 #E0A752 #52E060 #528BE0
square
#E052D2 #E0A752 #52E060 #528BE0
split-complementary
#E052D2 #8BE052 #52E0A7
monochromatic
#9C1C8F #D025BF #E052D2 #E986E0 #F3BAED

Accessibility & contrast

On white

3.33
#E052D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#E052D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E052D2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E052D2#FFFFFF#000000##000000
##E052D21.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B80D6
Deuteranopia (green-blind)
#7B94CE
Tritanopia (blue-blind)
#E95F8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #e052d2;
/* rgb */ color: rgb(224, 82, 210);
/* oklch */ color: oklch(67.2% 0.225 331.9);
Tailwind
colors: {
  custom: {
    50: '#ed8ce0',
    500: '#e052d2',
    950: '#000000',
  },
}
SCSS
$custom: #e052d2;
$custom-light: #ed8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#e052d2",
  "rgb": {
    "r": 224,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 305.915,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.67199,
    "c": 0.22549,
    "h": 331.9
  },
  "luminance": 0.26535
}

Semantic roles & 50–950 ramp

primary
#E052D2
secondary
#ACE2B1
accent
#EC4D3B
background
#FFF9FD
surface
#FEF1FB
border
#D6CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E052D2

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

Preview Lab → · Contrast checker → · Palette generator →

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