#E240A4#E240A4

#E240A4 is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.7% C 0.219 H 347.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#E240A4
RGBrgb(226, 64, 164)
HSLhsl(323, 74%, 57%)
HSVhsv(323, 72%, 89%)
CMYKcmyk(0%, 71.7%, 27.4%, 11.4%)
CIE-LABlab(54.57, 70.18, -18.34)
CIE-LCHlch(54.57, 72.54, 345.36°)
OKLaboklab(63.73% 0.2133 -0.0484)
OKLCHoklch(63.73% 0.219 347.2)
XYZxyz(39.9001, 22.5202, 37.3604)
Luminance0.2252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E240A4 #40E27E
analogous
#CF40E2 #E240A4 #E24053
triadic
#E240A4 #A4E240 #40A4E2
tetradic
#E240A4 #E2CF40 #40E27E #4053E2
square
#E240A4 #E2CF40 #40E27E #4053E2
split-complementary
#E240A4 #53E240 #40E2CF
monochromatic
#921662 #C71E86 #E240A4 #EA75BD #F2AAD7

Accessibility & contrast

On white

3.82
#E240A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#E240A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E240A4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E240A4#FFFFFF#000000##000000
##E240A41.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5671A7
Deuteranopia (green-blind)
#868DA0
Tritanopia (blue-blind)
#F23A6D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #e240a4;
/* rgb */ color: rgb(226, 64, 164);
/* oklch */ color: oklch(63.7% 0.219 347.2);
Tailwind
colors: {
  custom: {
    50: '#f082bf',
    500: '#e240a4',
    950: '#000000',
  },
}
SCSS
$custom: #e240a4;
$custom-light: #f082bf;
$custom-dark: #000000;
JSON
{
  "hex": "#e240a4",
  "rgb": {
    "r": 226,
    "g": 64,
    "b": 164
  },
  "hsl": {
    "h": 322.963,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63734,
    "c": 0.21875,
    "h": 347.2
  },
  "luminance": 0.22516
}

Semantic roles & 50–950 ramp

primary
#E240A4
secondary
#9EE0B7
accent
#F07E38
background
#FFF8FB
surface
#FFF0F7
border
#D7CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #E240A4

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

Preview Lab → · Contrast checker → · Palette generator →

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