#EA40C4#EA40C4

#EA40C4 is a light, highly saturated pink. Relative luminance 0.251; OKLCH L 66.3% C 0.243 H 338.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#EA40C4
RGBrgb(234, 64, 196)
HSLhsl(313, 80%, 58%)
HSVhsv(313, 73%, 92%)
CMYKcmyk(0%, 72.6%, 16.2%, 8.2%)
CIE-LABlab(57.22, 76.19, -32.71)
CIE-LCHlch(57.22, 82.91, 336.76°)
OKLaboklab(66.33% 0.2259 -0.0886)
OKLCHoklch(66.33% 0.243 338.6)
XYZxyz(45.7300, 25.1491, 54.6597)
Luminance0.2515 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA40C4 #40EA66
analogous
#BB40EA #EA40C4 #EA406F
triadic
#EA40C4 #C4EA40 #40C4EA
tetradic
#EA40C4 #EABB40 #40EA66 #406FEA
square
#EA40C4 #EABB40 #40EA66 #406FEA
split-complementary
#EA40C4 #6FEA40 #40EABB
monochromatic
#9E117F #D517AB #EA40C4 #F077D5 #F6AEE6

Accessibility & contrast

On white

3.48
#EA40C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#EA40C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA40C4
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA40C4#FFFFFF#000000##000000
##EA40C41.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4978C8
Deuteranopia (green-blind)
#8193C0
Tritanopia (blue-blind)
#F7487E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ea40c4;
/* rgb */ color: rgb(234, 64, 196);
/* oklch */ color: oklch(66.3% 0.243 338.6);
Tailwind
colors: {
  custom: {
    50: '#f584d6',
    500: '#ea40c4',
    950: '#000000',
  },
}
SCSS
$custom: #ea40c4;
$custom-light: #f584d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ea40c4",
  "rgb": {
    "r": 234,
    "g": 64,
    "b": 196
  },
  "hsl": {
    "h": 313.412,
    "s": 80.189,
    "l": 58.431
  },
  "oklch": {
    "l": 0.66335,
    "c": 0.2427,
    "h": 338.6
  },
  "luminance": 0.25145
}

Semantic roles & 50–950 ramp

primary
#EA40C4
secondary
#A1E5B0
accent
#F75D31
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#180C14
muted
#867D83

Preview Lab

Preview with #EA40C4

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

Preview Lab → · Contrast checker → · Palette generator →

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