#E252E2#E252E2

#E252E2 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.3% C 0.239 H 327.8°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#E252E2
RGBrgb(226, 82, 226)
HSLhsl(300, 71%, 60%)
HSVhsv(300, 64%, 89%)
CMYKcmyk(0%, 63.7%, 0%, 11.4%)
CIE-LABlab(59.61, 72.55, -46.06)
CIE-LCHlch(59.61, 85.93, 327.59°)
OKLaboklab(68.29% 0.2022 -0.1273)
OKLCHoklch(68.29% 0.239 327.8)
XYZxyz(48.1081, 27.6976, 74.7490)
Luminance0.2769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252E2 #52E252
analogous
#9A52E2 #E252E2 #E2529A
triadic
#E252E2 #E2E252 #52E2E2
tetradic
#E252E2 #E29A52 #52E252 #529AE2
square
#E252E2 #E29A52 #52E252 #529AE2
split-complementary
#E252E2 #9AE252 #52E29A
monochromatic
#9F1B9F #D323D3 #E252E2 #EB86EB #F4BBF4

Accessibility & contrast

On white

3.21
#E252E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#E252E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252E2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252E2#FFFFFF#000000##000000
##E252E21.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E84E6
Deuteranopia (green-blind)
#7596DE
Tritanopia (blue-blind)
#E96593
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #e252e2;
/* rgb */ color: rgb(226, 82, 226);
/* oklch */ color: oklch(68.3% 0.239 327.8);
Tailwind
colors: {
  custom: {
    50: '#ef8deb',
    500: '#e252e2',
    950: '#000000',
  },
}
SCSS
$custom: #e252e2;
$custom-light: #ef8deb;
$custom-dark: #000000;
JSON
{
  "hex": "#e252e2",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 300,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.68285,
    "c": 0.2389,
    "h": 327.8
  },
  "luminance": 0.27694
}

Semantic roles & 50–950 ramp

primary
#E252E2
secondary
#ACE3AC
accent
#D31212
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E252E2

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

Preview Lab → · Contrast checker → · Palette generator →

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