#E252E1#E252E1

#E252E1 is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.2% C 0.238 H 328.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#E252E1
RGBrgb(226, 82, 225)
HSLhsl(300, 71%, 60%)
HSVhsv(300, 64%, 89%)
CMYKcmyk(0%, 63.7%, 0.4%, 11.4%)
CIE-LABlab(59.56, 72.38, -45.58)
CIE-LCHlch(59.56, 85.54, 327.80°)
OKLaboklab(68.23% 0.2021 -0.1259)
OKLCHoklch(68.23% 0.238 328.1)
XYZxyz(47.9713, 27.6428, 74.0285)
Luminance0.2764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252E1 #52E253
analogous
#9B52E2 #E252E1 #E25299
triadic
#E252E1 #E1E252 #52E1E2
tetradic
#E252E1 #E29B52 #52E253 #5299E2
square
#E252E1 #E29B52 #52E253 #5299E2
split-complementary
#E252E1 #99E252 #52E29B
monochromatic
#9F1B9E #D323D2 #E252E1 #EB86EA #F4BBF3

Accessibility & contrast

On white

3.22
#E252E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#E252E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252E1
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252E1#FFFFFF#000000##000000
##E252E11.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F83E5
Deuteranopia (green-blind)
#7696DD
Tritanopia (blue-blind)
#E96593
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #e252e1;
/* rgb */ color: rgb(226, 82, 225);
/* oklch */ color: oklch(68.2% 0.238 328.1);
Tailwind
colors: {
  custom: {
    50: '#ef8deb',
    500: '#e252e1',
    950: '#000000',
  },
}
SCSS
$custom: #e252e1;
$custom-light: #ef8deb;
$custom-dark: #000000;
JSON
{
  "hex": "#e252e1",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 300.417,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.68233,
    "c": 0.23812,
    "h": 328.1
  },
  "luminance": 0.2764
}

Semantic roles & 50–950 ramp

primary
#E252E1
secondary
#ACE3AD
accent
#D31412
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E252E1

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

Preview Lab → · Contrast checker → · Palette generator →

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