#E151C4#E151C4

#E151C4 is a light, highly saturated pink. Relative luminance 0.259; OKLCH L 66.6% C 0.217 H 336.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#E151C4
RGBrgb(225, 81, 196)
HSLhsl(312, 71%, 60%)
HSVhsv(312, 64%, 88%)
CMYKcmyk(0%, 64%, 12.9%, 11.8%)
CIE-LABlab(57.92, 68.03, -31.72)
CIE-LCHlch(57.92, 75.06, 335.00°)
OKLaboklab(66.57% 0.1994 -0.0861)
OKLCHoklch(66.57% 0.217 336.6)
XYZxyz(43.9582, 25.8816, 54.8943)
Luminance0.2588 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E151C4 #51E16E
analogous
#B651E1 #E151C4 #E1517C
triadic
#E151C4 #C4E151 #51C4E1
tetradic
#E151C4 #E1B651 #51E16E #517CE1
square
#E151C4 #E1B651 #51E16E #517CE1
split-complementary
#E151C4 #7CE151 #51E1B6
monochromatic
#9D1B83 #D124AE #E151C4 #EA85D6 #F3B9E7

Accessibility & contrast

On white

3.40
#E151C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#E151C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E151C4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E151C4#FFFFFF#000000##000000
##E151C41.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#547DC7
Deuteranopia (green-blind)
#8293C0
Tritanopia (blue-blind)
#EC5983
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #e151c4;
/* rgb */ color: rgb(225, 81, 196);
/* oklch */ color: oklch(66.6% 0.217 336.6);
Tailwind
colors: {
  custom: {
    50: '#ee8bd6',
    500: '#e151c4',
    950: '#000000',
  },
}
SCSS
$custom: #e151c4;
$custom-light: #ee8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#e151c4",
  "rgb": {
    "r": 225,
    "g": 81,
    "b": 196
  },
  "hsl": {
    "h": 312.083,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.66572,
    "c": 0.21718,
    "h": 336.6
  },
  "luminance": 0.25878
}

Semantic roles & 50–950 ramp

primary
#E151C4
secondary
#ABE3B6
accent
#ED5E3A
background
#FFF9FD
surface
#FEF1FA
border
#D6CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #E151C4

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

Preview Lab → · Contrast checker → · Palette generator →

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