#E151D4#E151D4

#E151D4 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.3% C 0.229 H 331.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#E151D4
RGBrgb(225, 81, 212)
HSLhsl(305, 71%, 60%)
HSVhsv(305, 64%, 88%)
CMYKcmyk(0%, 64%, 5.8%, 11.8%)
CIE-LABlab(58.65, 70.45, -39.70)
CIE-LCHlch(58.65, 80.87, 330.60°)
OKLaboklab(67.33% 0.2013 -0.1089)
OKLCHoklch(67.33% 0.229 331.6)
XYZxyz(45.8774, 26.6493, 65.0021)
Luminance0.2665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E151D4 #51E15E
analogous
#A651E1 #E151D4 #E1518C
triadic
#E151D4 #D4E151 #51D4E1
tetradic
#E151D4 #E1A651 #51E15E #518CE1
square
#E151D4 #E1A651 #51E15E #518CE1
split-complementary
#E151D4 #8CE151 #51E1A6
monochromatic
#9D1B91 #D124C1 #E151D4 #EA85E1 #F3B9EE

Accessibility & contrast

On white

3.32
#E151D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#E151D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E151D4
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E151D4#FFFFFF#000000##000000
##E151D41.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4980D8
Deuteranopia (green-blind)
#7B94D0
Tritanopia (blue-blind)
#EA5F8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #e151d4;
/* rgb */ color: rgb(225, 81, 212);
/* oklch */ color: oklch(67.3% 0.229 331.6);
Tailwind
colors: {
  custom: {
    50: '#ee8ce1',
    500: '#e151d4',
    950: '#000000',
  },
}
SCSS
$custom: #e151d4;
$custom-light: #ee8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#e151d4",
  "rgb": {
    "r": 225,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 305.417,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.67335,
    "c": 0.22884,
    "h": 331.6
  },
  "luminance": 0.26646
}

Semantic roles & 50–950 ramp

primary
#E151D4
secondary
#ABE3B0
accent
#ED4B3A
background
#FFF9FD
surface
#FEF1FB
border
#D6CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E151D4

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

Preview Lab → · Contrast checker → · Palette generator →

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