#E252A2#E252A2

#E252A2 is a light, vivid pink. Relative luminance 0.248; OKLCH L 65.4% C 0.196 H 349.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#E252A2
RGBrgb(226, 82, 162)
HSLhsl(327, 71%, 60%)
HSVhsv(327, 64%, 89%)
CMYKcmyk(0%, 63.7%, 28.3%, 11.4%)
CIE-LABlab(56.90, 63.29, -13.64)
CIE-LCHlch(56.90, 64.75, 347.83°)
OKLaboklab(65.41% 0.1922 -0.0356)
OKLCHoklch(65.41% 0.196 349.5)
XYZxyz(40.9047, 24.8162, 36.8112)
Luminance0.2481 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252A2 #52E292
analogous
#DA52E2 #E252A2 #E2525A
triadic
#E252A2 #A2E252 #52A2E2
tetradic
#E252A2 #E2DA52 #52E292 #525AE2
square
#E252A2 #E2DA52 #52E292 #525AE2
split-complementary
#E252A2 #5AE252 #52E2DA
monochromatic
#9F1B64 #D32385 #E252A2 #EB86BE #F4BBDA

Accessibility & contrast

On white

3.52
#E252A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#E252A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252A2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252A2#FFFFFF#000000##000000
##E252A21.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6578A4
Deuteranopia (green-blind)
#8E929F
Tritanopia (blue-blind)
#F24C73
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #e252a2;
/* rgb */ color: rgb(226, 82, 162);
/* oklch */ color: oklch(65.4% 0.196 349.5);
Tailwind
colors: {
  custom: {
    50: '#ef8bbd',
    500: '#e252a2',
    950: '#000000',
  },
}
SCSS
$custom: #e252a2;
$custom-light: #ef8bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#e252a2",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 326.667,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65413,
    "c": 0.19551,
    "h": 349.5
  },
  "luminance": 0.24812
}

Semantic roles & 50–950 ramp

primary
#E252A2
secondary
#ACE3C5
accent
#D36812
background
#FFF8FB
surface
#FFF0F6
border
#D7CBD0
text
#170D12
muted
#857D81

Preview Lab

Preview with #E252A2

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

Preview Lab → · Contrast checker → · Palette generator →

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