#E252CD#E252CD

#E252CD is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.2% C 0.223 H 334.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#E252CD
RGBrgb(226, 82, 205)
HSLhsl(309, 71%, 60%)
HSVhsv(309, 64%, 89%)
CMYKcmyk(0%, 63.7%, 9.3%, 11.4%)
CIE-LABlab(58.62, 69.23, -35.77)
CIE-LCHlch(58.62, 77.92, 332.68°)
OKLaboklab(67.24% 0.2004 -0.0976)
OKLCHoklch(67.24% 0.223 334)
XYZxyz(45.4010, 26.6147, 60.4917)
Luminance0.2661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252CD #52E267
analogous
#AF52E2 #E252CD #E25285
triadic
#E252CD #CDE252 #52CDE2
tetradic
#E252CD #E2AF52 #52E267 #5285E2
square
#E252CD #E2AF52 #52E267 #5285E2
split-complementary
#E252CD #85E252 #52E2AF
monochromatic
#9F1B8C #D323BA #E252CD #EB86DC #F4BBEB

Accessibility & contrast

On white

3.32
#E252CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#E252CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252CD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252CD#FFFFFF#000000##000000
##E252CD1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FD1
Deuteranopia (green-blind)
#7F95C9
Tritanopia (blue-blind)
#EC5D88
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #e252cd;
/* rgb */ color: rgb(226, 82, 205);
/* oklch */ color: oklch(67.2% 0.223 334.0);
Tailwind
colors: {
  custom: {
    50: '#ef8cdc',
    500: '#e252cd',
    950: '#000000',
  },
}
SCSS
$custom: #e252cd;
$custom-light: #ef8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#e252cd",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 308.75,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.67236,
    "c": 0.22294,
    "h": 334
  },
  "luminance": 0.26611
}

Semantic roles & 50–950 ramp

primary
#E252CD
secondary
#ACE3B4
accent
#D32E12
background
#FFF9FD
surface
#FEF1FB
border
#D6CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E252CD

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

Preview Lab → · Contrast checker → · Palette generator →

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