#E151C5#E151C5

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

Color values

HEX#E151C5
RGBrgb(225, 81, 197)
HSLhsl(312, 71%, 60%)
HSVhsv(312, 64%, 88%)
CMYKcmyk(0%, 64%, 12.4%, 11.8%)
CIE-LABlab(57.97, 68.17, -32.23)
CIE-LCHlch(57.97, 75.41, 334.70°)
OKLaboklab(66.62% 0.1995 -0.0875)
OKLCHoklch(66.62% 0.218 336.3)
XYZxyz(44.0724, 25.9273, 55.4958)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E151C5 #51E16D
analogous
#B551E1 #E151C5 #E1517D
triadic
#E151C5 #C5E151 #51C5E1
tetradic
#E151C5 #E1B551 #51E16D #517DE1
square
#E151C5 #E1B551 #51E16D #517DE1
split-complementary
#E151C5 #7DE151 #51E1B5
monochromatic
#9D1B83 #D124AF #E151C5 #EA85D6 #F3B9E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E151C5#FFFFFF#000000##000000
##E151C51.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)
#537DC8
Deuteranopia (green-blind)
#8193C1
Tritanopia (blue-blind)
#EC5984
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #e151c5;
/* rgb */ color: rgb(225, 81, 197);
/* oklch */ color: oklch(66.6% 0.218 336.3);
Tailwind
colors: {
  custom: {
    50: '#ee8bd7',
    500: '#e151c5',
    950: '#000000',
  },
}
SCSS
$custom: #e151c5;
$custom-light: #ee8bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#e151c5",
  "rgb": {
    "r": 225,
    "g": 81,
    "b": 197
  },
  "hsl": {
    "h": 311.667,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.66618,
    "c": 0.21788,
    "h": 336.3
  },
  "luminance": 0.25924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E151C5

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

Preview Lab → · Contrast checker → · Palette generator →

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