#E252A8#E252A8

#E252A8 is a light, vivid pink. Relative luminance 0.250; OKLCH L 65.6% C 0.199 H 347.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#E252A8
RGBrgb(226, 82, 168)
HSLhsl(324, 71%, 60%)
HSVhsv(324, 64%, 89%)
CMYKcmyk(0%, 63.7%, 25.7%, 11.4%)
CIE-LABlab(57.11, 64.04, -16.82)
CIE-LCHlch(57.11, 66.22, 345.29°)
OKLaboklab(65.64% 0.1937 -0.0443)
OKLCHoklch(65.64% 0.199 347.1)
XYZxyz(41.4508, 25.0347, 39.6874)
Luminance0.2503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252A8 #52E28C
analogous
#D452E2 #E252A8 #E25260
triadic
#E252A8 #A8E252 #52A8E2
tetradic
#E252A8 #E2D452 #52E28C #5260E2
square
#E252A8 #E2D452 #52E28C #5260E2
split-complementary
#E252A8 #60E252 #52E2D4
monochromatic
#9F1B6A #D3238D #E252A8 #EB86C2 #F4BBDD

Accessibility & contrast

On white

3.50
#E252A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#E252A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252A8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252A8#FFFFFF#000000##000000
##E252A81.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6379AB
Deuteranopia (green-blind)
#8C92A5
Tritanopia (blue-blind)
#F14E76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e252a8;
/* rgb */ color: rgb(226, 82, 168);
/* oklch */ color: oklch(65.6% 0.199 347.1);
Tailwind
colors: {
  custom: {
    50: '#ef8bc2',
    500: '#e252a8',
    950: '#000000',
  },
}
SCSS
$custom: #e252a8;
$custom-light: #ef8bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#e252a8",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 324.167,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6564,
    "c": 0.19875,
    "h": 347.1
  },
  "luminance": 0.2503
}

Semantic roles & 50–950 ramp

primary
#E252A8
secondary
#ACE3C3
accent
#D36012
background
#FFF8FB
surface
#FEF0F7
border
#D6CBD0
text
#170D12
muted
#857D81

Preview Lab

Preview with #E252A8

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

Preview Lab → · Contrast checker → · Palette generator →

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