#E040C1#E040C1

#E040C1 is a light, highly saturated pink. Relative luminance 0.234; OKLCH L 64.7% C 0.235 H 336.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#E040C1
RGBrgb(224, 64, 193)
HSLhsl(312, 72%, 56%)
HSVhsv(312, 71%, 88%)
CMYKcmyk(0%, 71.4%, 13.8%, 12.2%)
CIE-LABlab(55.45, 73.47, -33.87)
CIE-LCHlch(55.45, 80.90, 335.25°)
OKLaboklab(64.7% 0.2162 -0.0921)
OKLCHoklch(64.7% 0.235 336.9)
XYZxyz(42.2003, 23.3682, 52.7297)
Luminance0.2336 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E040C1 #40E05F
analogous
#AF40E0 #E040C1 #E04071
triadic
#E040C1 #C1E040 #40C1E0
tetradic
#E040C1 #E0AF40 #40E05F #4071E0
square
#E040C1 #E0AF40 #40E05F #4071E0
split-complementary
#E040C1 #71E040 #40E0AF
monochromatic
#8E1777 #C320A3 #E040C1 #E975D2 #F1A9E3

Accessibility & contrast

On white

3.70
#E040C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#E040C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E040C1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E040C1#FFFFFF#000000##000000
##E040C11.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4475C5
Deuteranopia (green-blind)
#7B8EBD
Tritanopia (blue-blind)
#EC4A7C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #e040c1;
/* rgb */ color: rgb(224, 64, 193);
/* oklch */ color: oklch(64.7% 0.235 336.9);
Tailwind
colors: {
  custom: {
    50: '#ee83d4',
    500: '#e040c1',
    950: '#000000',
  },
}
SCSS
$custom: #e040c1;
$custom-light: #ee83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#e040c1",
  "rgb": {
    "r": 224,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 311.625,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64701,
    "c": 0.23504,
    "h": 336.9
  },
  "luminance": 0.23364
}

Semantic roles & 50–950 ramp

primary
#E040C1
secondary
#9DDFAA
accent
#EF5C39
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #E040C1

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

Preview Lab → · Contrast checker → · Palette generator →

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