#ED40C4#ED40C4

#ED40C4 is a light, highly saturated pink. Relative luminance 0.257; OKLCH L 66.8% C 0.244 H 339.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#ED40C4
RGBrgb(237, 64, 196)
HSLhsl(314, 83%, 59%)
HSVhsv(314, 73%, 93%)
CMYKcmyk(0%, 73%, 17.3%, 7.1%)
CIE-LABlab(57.71, 76.88, -31.90)
CIE-LCHlch(57.71, 83.23, 337.46°)
OKLaboklab(66.79% 0.2287 -0.0863)
OKLCHoklch(66.79% 0.244 339.3)
XYZxyz(46.7235, 25.6614, 54.7063)
Luminance0.2566 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED40C4 #40ED69
analogous
#C040ED #ED40C4 #ED406E
triadic
#ED40C4 #C4ED40 #40C4ED
tetradic
#ED40C4 #EDC040 #40ED69 #406EED
square
#ED40C4 #EDC040 #40ED69 #406EED
split-complementary
#ED40C4 #6EED40 #40EDC0
monochromatic
#A30F80 #DB15AC #ED40C4 #F278D5 #F8B0E7

Accessibility & contrast

On white

3.42
#ED40C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#ED40C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED40C4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED40C4#FFFFFF#000000##000000
##ED40C41.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C8
Deuteranopia (green-blind)
#8494C0
Tritanopia (blue-blind)
#FB477E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ed40c4;
/* rgb */ color: rgb(237, 64, 196);
/* oklch */ color: oklch(66.8% 0.244 339.3);
Tailwind
colors: {
  custom: {
    50: '#f785d6',
    500: '#ed40c4',
    950: '#000000',
  },
}
SCSS
$custom: #ed40c4;
$custom-light: #f785d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ed40c4",
  "rgb": {
    "r": 237,
    "g": 64,
    "b": 196
  },
  "hsl": {
    "h": 314.22,
    "s": 82.775,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66785,
    "c": 0.24442,
    "h": 339.3
  },
  "luminance": 0.25657
}

Semantic roles & 50–950 ramp

primary
#ED40C4
secondary
#A2E6B3
accent
#F95F2F
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#180C14
muted
#867D83

Preview Lab

Preview with #ED40C4

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

Preview Lab → · Contrast checker → · Palette generator →

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