#E252E8#E252E8

#E252E8 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.6% C 0.244 H 326.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#E252E8
RGBrgb(226, 82, 232)
HSLhsl(298, 77%, 62%)
HSVhsv(298, 65%, 91%)
CMYKcmyk(2.6%, 64.7%, 0%, 9%)
CIE-LABlab(59.92, 73.54, -48.94)
CIE-LCHlch(59.92, 88.34, 326.35°)
OKLaboklab(68.6% 0.2024 -0.1356)
OKLCHoklch(68.6% 0.244 326.2)
XYZxyz(48.9459, 28.0327, 79.1611)
Luminance0.2803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252E8 #58E852
analogous
#9752E8 #E252E8 #E852A3
triadic
#E252E8 #E8E252 #52E8E2
tetradic
#E252E8 #E89752 #58E852 #52A3E8
square
#E252E8 #E89752 #58E852 #52A3E8
split-complementary
#E252E8 #A3E852 #52E897
monochromatic
#A316A9 #D71EDF #E252E8 #EB88EF #F4BEF6

Accessibility & contrast

On white

3.18
#E252E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#E252E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252E8
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252E8#FFFFFF#000000##000000
##E252E81.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3885EC
Deuteranopia (green-blind)
#7297E4
Tritanopia (blue-blind)
#E86896
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #e252e8;
/* rgb */ color: rgb(226, 82, 232);
/* oklch */ color: oklch(68.6% 0.244 326.2);
Tailwind
colors: {
  custom: {
    50: '#ef8df0',
    500: '#e252e8',
    950: '#000000',
  },
}
SCSS
$custom: #e252e8;
$custom-light: #ef8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#e252e8",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 297.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.68603,
    "c": 0.24366,
    "h": 326.2
  },
  "luminance": 0.2803
}

Semantic roles & 50–950 ramp

primary
#E252E8
secondary
#B1E7AF
accent
#D90D15
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E252E8

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

Preview Lab → · Contrast checker → · Palette generator →

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