#E151C2#E151C2

#E151C2 is a light, highly saturated pink. Relative luminance 0.258; OKLCH L 66.5% C 0.216 H 337.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#E151C2
RGBrgb(225, 81, 194)
HSLhsl(313, 71%, 60%)
HSVhsv(313, 64%, 88%)
CMYKcmyk(0%, 64%, 13.8%, 11.8%)
CIE-LABlab(57.84, 67.73, -30.71)
CIE-LCHlch(57.84, 74.37, 335.61°)
OKLaboklab(66.48% 0.1991 -0.0832)
OKLCHoklch(66.48% 0.216 337.3)
XYZxyz(43.7320, 25.7912, 53.7034)
Luminance0.2579 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E151C2 #51E170
analogous
#B851E1 #E151C2 #E1517A
triadic
#E151C2 #C2E151 #51C2E1
tetradic
#E151C2 #E1B851 #51E170 #517AE1
square
#E151C2 #E1B851 #51E170 #517AE1
split-complementary
#E151C2 #7AE151 #51E1B8
monochromatic
#9D1B81 #D124AC #E151C2 #EA85D4 #F3B9E7

Accessibility & contrast

On white

3.41
#E151C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#E151C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E151C2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E151C2#FFFFFF#000000##000000
##E151C21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#557DC5
Deuteranopia (green-blind)
#8293BE
Tritanopia (blue-blind)
#EC5882
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #e151c2;
/* rgb */ color: rgb(225, 81, 194);
/* oklch */ color: oklch(66.5% 0.216 337.3);
Tailwind
colors: {
  custom: {
    50: '#ee8bd4',
    500: '#e151c2',
    950: '#000000',
  },
}
SCSS
$custom: #e151c2;
$custom-light: #ee8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#e151c2",
  "rgb": {
    "r": 225,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 312.917,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.66481,
    "c": 0.21579,
    "h": 337.3
  },
  "luminance": 0.25787
}

Semantic roles & 50–950 ramp

primary
#E151C2
secondary
#ABE3B7
accent
#ED613A
background
#FFF9FD
surface
#FEF1FA
border
#D6CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #E151C2

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

Preview Lab → · Contrast checker → · Palette generator →

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