#E151C8#E151C8

#E151C8 is a light, highly saturated pink. Relative luminance 0.261; OKLCH L 66.8% C 0.220 H 335.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#E151C8
RGBrgb(225, 81, 200)
HSLhsl(310, 71%, 60%)
HSVhsv(310, 64%, 88%)
CMYKcmyk(0%, 64%, 11.1%, 11.8%)
CIE-LABlab(58.10, 68.62, -33.74)
CIE-LCHlch(58.10, 76.46, 333.82°)
OKLaboklab(66.76% 0.1999 -0.0918)
OKLCHoklch(66.76% 0.22 335.3)
XYZxyz(44.4195, 26.0662, 57.3242)
Luminance0.2606 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E151C8 #51E16A
analogous
#B251E1 #E151C8 #E15180
triadic
#E151C8 #C8E151 #51C8E1
tetradic
#E151C8 #E1B251 #51E16A #5180E1
square
#E151C8 #E1B251 #51E16A #5180E1
split-complementary
#E151C8 #80E151 #51E1B2
monochromatic
#9D1B86 #D124B3 #E151C8 #EA85D8 #F3B9E9

Accessibility & contrast

On white

3.38
#E151C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#E151C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E151C8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E151C8#FFFFFF#000000##000000
##E151C81.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECC
Deuteranopia (green-blind)
#8093C4
Tritanopia (blue-blind)
#EC5A85
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #e151c8;
/* rgb */ color: rgb(225, 81, 200);
/* oklch */ color: oklch(66.8% 0.220 335.3);
Tailwind
colors: {
  custom: {
    50: '#ee8bd9',
    500: '#e151c8',
    950: '#000000',
  },
}
SCSS
$custom: #e151c8;
$custom-light: #ee8bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#e151c8",
  "rgb": {
    "r": 225,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 310.417,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.66757,
    "c": 0.22002,
    "h": 335.3
  },
  "luminance": 0.26063
}

Semantic roles & 50–950 ramp

primary
#E151C8
secondary
#ABE3B5
accent
#ED5A3A
background
#FFF9FD
surface
#FEF1FA
border
#D6CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #E151C8

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

Preview Lab → · Contrast checker → · Palette generator →

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