#E152C7#E152C7

#E152C7 is a light, highly saturated pink. Relative luminance 0.262; OKLCH L 66.8% C 0.218 H 335.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#E152C7
RGBrgb(225, 82, 199)
HSLhsl(311, 70%, 60%)
HSVhsv(311, 64%, 88%)
CMYKcmyk(0%, 63.6%, 11.6%, 11.8%)
CIE-LABlab(58.20, 68.08, -33.01)
CIE-LCHlch(58.20, 75.66, 334.13°)
OKLaboklab(66.81% 0.1986 -0.0898)
OKLCHoklch(66.81% 0.218 335.7)
XYZxyz(44.3779, 26.1693, 56.7357)
Luminance0.2617 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E152C7 #52E16C
analogous
#B352E1 #E152C7 #E15280
triadic
#E152C7 #C7E152 #52C7E1
tetradic
#E152C7 #E1B352 #52E16C #5280E1
square
#E152C7 #E1B352 #52E16C #5280E1
split-complementary
#E152C7 #80E152 #52E1B3
monochromatic
#9D1B86 #D124B2 #E152C7 #EA86D8 #F3BAE9

Accessibility & contrast

On white

3.37
#E152C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#E152C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E152C7
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E152C7#FFFFFF#000000##000000
##E152C71.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#537ECA
Deuteranopia (green-blind)
#8194C3
Tritanopia (blue-blind)
#EC5B85
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #e152c7;
/* rgb */ color: rgb(225, 82, 199);
/* oklch */ color: oklch(66.8% 0.218 335.7);
Tailwind
colors: {
  custom: {
    50: '#ee8cd8',
    500: '#e152c7',
    950: '#000000',
  },
}
SCSS
$custom: #e152c7;
$custom-light: #ee8cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#e152c7",
  "rgb": {
    "r": 225,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 310.909,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66814,
    "c": 0.218,
    "h": 335.7
  },
  "luminance": 0.26166
}

Semantic roles & 50–950 ramp

primary
#E152C7
secondary
#ACE3B6
accent
#D23613
background
#FFF9FD
surface
#FEF1FA
border
#D6CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #E152C7

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

Preview Lab → · Contrast checker → · Palette generator →

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