#E252BC#E252BC

#E252BC is a light, highly saturated pink. Relative luminance 0.258; OKLCH L 66.5% C 0.211 H 339.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#E252BC
RGBrgb(226, 82, 188)
HSLhsl(316, 71%, 60%)
HSVhsv(316, 64%, 89%)
CMYKcmyk(0%, 63.7%, 16.8%, 11.4%)
CIE-LABlab(57.88, 66.74, -27.19)
CIE-LCHlch(57.88, 72.06, 337.83°)
OKLaboklab(66.46% 0.1979 -0.0733)
OKLCHoklch(66.46% 0.211 339.7)
XYZxyz(43.4594, 25.8381, 50.2656)
Luminance0.2583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252BC #52E278
analogous
#C052E2 #E252BC #E25274
triadic
#E252BC #BCE252 #52BCE2
tetradic
#E252BC #E2C052 #52E278 #5274E2
square
#E252BC #E2C052 #52E278 #5274E2
split-complementary
#E252BC #74E252 #52E2C0
monochromatic
#9F1B7C #D323A5 #E252BC #EB86D0 #F4BBE5

Accessibility & contrast

On white

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

On black

6.17
#E252BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252BC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252BC#FFFFFF#000000##000000
##E252BC1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DBF
Deuteranopia (green-blind)
#8693B8
Tritanopia (blue-blind)
#EE5680
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #e252bc;
/* rgb */ color: rgb(226, 82, 188);
/* oklch */ color: oklch(66.5% 0.211 339.7);
Tailwind
colors: {
  custom: {
    50: '#ef8cd0',
    500: '#e252bc',
    950: '#000000',
  },
}
SCSS
$custom: #e252bc;
$custom-light: #ef8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#e252bc",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 315.833,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66461,
    "c": 0.21105,
    "h": 339.7
  },
  "luminance": 0.25834
}

Semantic roles & 50–950 ramp

primary
#E252BC
secondary
#ACE3BB
accent
#D34512
background
#FFF9FC
surface
#FEF1F9
border
#D6CBD2
text
#170D14
muted
#857E82

Preview Lab

Preview with #E252BC

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

Preview Lab → · Contrast checker → · Palette generator →

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