#E252A5#E252A5

#E252A5 is a light, vivid pink. Relative luminance 0.249; OKLCH L 65.5% C 0.197 H 348.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#E252A5
RGBrgb(226, 82, 165)
HSLhsl(325, 71%, 60%)
HSVhsv(325, 64%, 89%)
CMYKcmyk(0%, 63.7%, 27%, 11.4%)
CIE-LABlab(57.00, 63.67, -15.23)
CIE-LCHlch(57.00, 65.46, 346.54°)
OKLaboklab(65.53% 0.193 -0.04)
OKLCHoklch(65.53% 0.197 348.3)
XYZxyz(41.1746, 24.9242, 38.2324)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252A5 #52E28F
analogous
#D752E2 #E252A5 #E2525D
triadic
#E252A5 #A5E252 #52A5E2
tetradic
#E252A5 #E2D752 #52E28F #525DE2
square
#E252A5 #E2D752 #52E28F #525DE2
split-complementary
#E252A5 #5DE252 #52E2D7
monochromatic
#9F1B67 #D32389 #E252A5 #EB86C0 #F4BBDC

Accessibility & contrast

On white

3.51
#E252A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#E252A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252A5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252A5#FFFFFF#000000##000000
##E252A51.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6479A7
Deuteranopia (green-blind)
#8D92A2
Tritanopia (blue-blind)
#F14D75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e252a5;
/* rgb */ color: rgb(226, 82, 165);
/* oklch */ color: oklch(65.5% 0.197 348.3);
Tailwind
colors: {
  custom: {
    50: '#ef8bbf',
    500: '#e252a5',
    950: '#000000',
  },
}
SCSS
$custom: #e252a5;
$custom-light: #ef8bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#e252a5",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 165
  },
  "hsl": {
    "h": 325.417,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65525,
    "c": 0.1971,
    "h": 348.3
  },
  "luminance": 0.2492
}

Semantic roles & 50–950 ramp

primary
#E252A5
secondary
#ACE3C4
accent
#D36412
background
#FFF8FB
surface
#FEF0F7
border
#D6CBD0
text
#170D12
muted
#857D81

Preview Lab

Preview with #E252A5

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

Preview Lab → · Contrast checker → · Palette generator →

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