#E152E7#E152E7

#E152E7 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.4% C 0.242 H 326.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#E152E7
RGBrgb(225, 82, 231)
HSLhsl(298, 76%, 61%)
HSVhsv(298, 65%, 91%)
CMYKcmyk(2.6%, 64.5%, 0%, 9.4%)
CIE-LABlab(59.72, 73.14, -48.71)
CIE-LCHlch(59.72, 87.88, 326.34°)
OKLaboklab(68.42% 0.2013 -0.135)
OKLCHoklch(68.42% 0.242 326.2)
XYZxyz(48.4915, 27.8147, 78.4005)
Luminance0.2781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E152E7 #58E752
analogous
#9752E7 #E152E7 #E752A3
triadic
#E152E7 #E7E152 #52E7E1
tetradic
#E152E7 #E79752 #58E752 #52A3E7
square
#E152E7 #E79752 #58E752 #52A3E7
split-complementary
#E152E7 #A3E752 #52E797
monochromatic
#A217A7 #D51FDD #E152E7 #EA88EE #F4BDF6

Accessibility & contrast

On white

3.20
#E152E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#E152E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E152E7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E152E7#FFFFFF#000000##000000
##E152E71.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EB
Deuteranopia (green-blind)
#7296E3
Tritanopia (blue-blind)
#E76896
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #e152e7;
/* rgb */ color: rgb(225, 82, 231);
/* oklch */ color: oklch(68.4% 0.242 326.2);
Tailwind
colors: {
  custom: {
    50: '#ee8def',
    500: '#e152e7',
    950: '#000000',
  },
}
SCSS
$custom: #e152e7;
$custom-light: #ee8def;
$custom-dark: #000000;
JSON
{
  "hex": "#e152e7",
  "rgb": {
    "r": 225,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 297.584,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.68415,
    "c": 0.24237,
    "h": 326.2
  },
  "luminance": 0.27812
}

Semantic roles & 50–950 ramp

primary
#E152E7
secondary
#B1E6AF
accent
#D80E16
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E152E7

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

Preview Lab → · Contrast checker → · Palette generator →

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