#E240A7#E240A7

#E240A7 is a light, highly saturated pink. Relative luminance 0.226; OKLCH L 63.9% C 0.220 H 346.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#E240A7
RGBrgb(226, 64, 167)
HSLhsl(322, 74%, 57%)
HSVhsv(322, 72%, 89%)
CMYKcmyk(0%, 71.7%, 26.1%, 11.4%)
CIE-LABlab(54.69, 70.54, -19.92)
CIE-LCHlch(54.69, 73.30, 344.23°)
OKLaboklab(63.86% 0.214 -0.0528)
OKLCHoklch(63.86% 0.22 346.1)
XYZxyz(40.1742, 22.6299, 38.8040)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E240A7 #40E27B
analogous
#CC40E2 #E240A7 #E24056
triadic
#E240A7 #A7E240 #40A7E2
tetradic
#E240A7 #E2CC40 #40E27B #4056E2
square
#E240A7 #E2CC40 #40E27B #4056E2
split-complementary
#E240A7 #56E240 #40E2CC
monochromatic
#921665 #C71E89 #E240A7 #EA75BF #F2AAD8

Accessibility & contrast

On white

3.80
#E240A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#E240A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E240A7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E240A7#FFFFFF#000000##000000
##E240A71.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5571AA
Deuteranopia (green-blind)
#858DA3
Tritanopia (blue-blind)
#F13C6E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #e240a7;
/* rgb */ color: rgb(226, 64, 167);
/* oklch */ color: oklch(63.9% 0.220 346.1);
Tailwind
colors: {
  custom: {
    50: '#f082c1',
    500: '#e240a7',
    950: '#000000',
  },
}
SCSS
$custom: #e240a7;
$custom-light: #f082c1;
$custom-dark: #000000;
JSON
{
  "hex": "#e240a7",
  "rgb": {
    "r": 226,
    "g": 64,
    "b": 167
  },
  "hsl": {
    "h": 321.852,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63855,
    "c": 0.22037,
    "h": 346.1
  },
  "luminance": 0.22626
}

Semantic roles & 50–950 ramp

primary
#E240A7
secondary
#9EE0B6
accent
#F07B38
background
#FFF8FB
surface
#FFF0F7
border
#D7CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #E240A7

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

Preview Lab → · Contrast checker → · Palette generator →

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