#E151D2#E151D2

#E151D2 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.2% C 0.227 H 332.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#E151D2
RGBrgb(225, 81, 210)
HSLhsl(306, 71%, 60%)
HSVhsv(306, 64%, 88%)
CMYKcmyk(0%, 64%, 6.7%, 11.8%)
CIE-LABlab(58.55, 70.14, -38.71)
CIE-LCHlch(58.55, 80.12, 331.10°)
OKLaboklab(67.24% 0.2011 -0.1061)
OKLCHoklch(67.24% 0.227 332.2)
XYZxyz(45.6266, 26.5490, 63.6816)
Luminance0.2655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E151D2 #51E160
analogous
#A851E1 #E151D2 #E1518A
triadic
#E151D2 #D2E151 #51D2E1
tetradic
#E151D2 #E1A851 #51E160 #518AE1
square
#E151D2 #E1A851 #51E160 #518AE1
split-complementary
#E151D2 #8AE151 #51E1A8
monochromatic
#9D1B8F #D124BF #E151D2 #EA85DF #F3B9ED

Accessibility & contrast

On white

3.33
#E151D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#E151D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E151D2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E151D2#FFFFFF#000000##000000
##E151D21.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A80D6
Deuteranopia (green-blind)
#7C94CE
Tritanopia (blue-blind)
#EA5E8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #e151d2;
/* rgb */ color: rgb(225, 81, 210);
/* oklch */ color: oklch(67.2% 0.227 332.2);
Tailwind
colors: {
  custom: {
    50: '#ee8ce0',
    500: '#e151d2',
    950: '#000000',
  },
}
SCSS
$custom: #e151d2;
$custom-light: #ee8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#e151d2",
  "rgb": {
    "r": 225,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 306.25,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.67236,
    "c": 0.22735,
    "h": 332.2
  },
  "luminance": 0.26546
}

Semantic roles & 50–950 ramp

primary
#E151D2
secondary
#ABE3B1
accent
#ED4D3A
background
#FFF9FD
surface
#FEF1FB
border
#D6CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E151D2

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

Preview Lab → · Contrast checker → · Palette generator →

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