#E252BA#E252BA

#E252BA is a light, highly saturated pink. Relative luminance 0.257; OKLCH L 66.4% C 0.210 H 340.4°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#E252BA
RGBrgb(226, 82, 186)
HSLhsl(317, 71%, 60%)
HSVhsv(317, 64%, 89%)
CMYKcmyk(0%, 63.7%, 17.7%, 11.4%)
CIE-LABlab(57.80, 66.46, -26.16)
CIE-LCHlch(57.80, 71.42, 338.51°)
OKLaboklab(66.38% 0.1976 -0.0704)
OKLCHoklch(66.38% 0.21 340.4)
XYZxyz(43.2453, 25.7524, 49.1380)
Luminance0.2575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252BA #52E27A
analogous
#C252E2 #E252BA #E25272
triadic
#E252BA #BAE252 #52BAE2
tetradic
#E252BA #E2C252 #52E27A #5272E2
square
#E252BA #E2C252 #52E27A #5272E2
split-complementary
#E252BA #72E252 #52E2C2
monochromatic
#9F1B7A #D323A2 #E252BA #EB86CF #F4BBE4

Accessibility & contrast

On white

3.41
#E252BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#E252BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252BA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252BA#FFFFFF#000000##000000
##E252BA1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBD
Deuteranopia (green-blind)
#8693B6
Tritanopia (blue-blind)
#EF557F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #e252ba;
/* rgb */ color: rgb(226, 82, 186);
/* oklch */ color: oklch(66.4% 0.210 340.4);
Tailwind
colors: {
  custom: {
    50: '#ef8ccf',
    500: '#e252ba',
    950: '#000000',
  },
}
SCSS
$custom: #e252ba;
$custom-light: #ef8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#e252ba",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 316.667,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66375,
    "c": 0.20972,
    "h": 340.4
  },
  "luminance": 0.25749
}

Semantic roles & 50–950 ramp

primary
#E252BA
secondary
#ACE3BC
accent
#D34812
background
#FFF9FC
surface
#FEF1F9
border
#D6CBD2
text
#170D13
muted
#857E82

Preview Lab

Preview with #E252BA

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

Preview Lab → · Contrast checker → · Palette generator →

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