#EA40C3#EA40C3

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

Color values

HEX#EA40C3
RGBrgb(234, 64, 195)
HSLhsl(314, 80%, 58%)
HSVhsv(314, 73%, 92%)
CMYKcmyk(0%, 72.6%, 16.7%, 8.2%)
CIE-LABlab(57.18, 76.05, -32.20)
CIE-LCHlch(57.18, 82.59, 337.05°)
OKLaboklab(66.29% 0.2258 -0.0872)
OKLCHoklch(66.29% 0.242 338.9)
XYZxyz(45.6165, 25.1037, 54.0623)
Luminance0.2510 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA40C3 #40EA67
analogous
#BC40EA #EA40C3 #EA406E
triadic
#EA40C3 #C3EA40 #40C3EA
tetradic
#EA40C3 #EABC40 #40EA67 #406EEA
square
#EA40C3 #EABC40 #40EA67 #406EEA
split-complementary
#EA40C3 #6EEA40 #40EABC
monochromatic
#9E117E #D517AA #EA40C3 #F077D4 #F6AEE6

Accessibility & contrast

On white

3.49
#EA40C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#EA40C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA40C3
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA40C3#FFFFFF#000000##000000
##EA40C31.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4978C7
Deuteranopia (green-blind)
#8293BF
Tritanopia (blue-blind)
#F7477D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ea40c3;
/* rgb */ color: rgb(234, 64, 195);
/* oklch */ color: oklch(66.3% 0.242 338.9);
Tailwind
colors: {
  custom: {
    50: '#f584d5',
    500: '#ea40c3',
    950: '#000000',
  },
}
SCSS
$custom: #ea40c3;
$custom-light: #f584d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ea40c3",
  "rgb": {
    "r": 234,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 313.765,
    "s": 80.189,
    "l": 58.431
  },
  "oklch": {
    "l": 0.66289,
    "c": 0.24207,
    "h": 338.9
  },
  "luminance": 0.25099
}

Semantic roles & 50–950 ramp

primary
#EA40C3
secondary
#A1E5B1
accent
#F75E31
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#180C14
muted
#867D83

Preview Lab

Preview with #EA40C3

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

Preview Lab → · Contrast checker → · Palette generator →

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