#ED40CE#ED40CE

#ED40CE is a light, highly saturated pink. Relative luminance 0.261; OKLCH L 67.3% C 0.251 H 336.4°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#ED40CE
RGBrgb(237, 64, 206)
HSLhsl(311, 83%, 59%)
HSVhsv(311, 73%, 93%)
CMYKcmyk(0%, 73%, 13.1%, 7.1%)
CIE-LABlab(58.16, 78.23, -36.92)
CIE-LCHlch(58.16, 86.51, 334.74°)
OKLaboklab(67.25% 0.2298 -0.1006)
OKLCHoklch(67.25% 0.251 336.4)
XYZxyz(47.8998, 26.1319, 60.9018)
Luminance0.2613 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED40CE #40ED5F
analogous
#B540ED #ED40CE #ED4078
triadic
#ED40CE #CEED40 #40CEED
tetradic
#ED40CE #EDB540 #40ED5F #4078ED
square
#ED40CE #EDB540 #40ED5F #4078ED
split-complementary
#ED40CE #78ED40 #40EDB5
monochromatic
#A30F89 #DB15B8 #ED40CE #F278DC #F8B0EB

Accessibility & contrast

On white

3.37
#ED40CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#ED40CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED40CE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED40CE#FFFFFF#000000##000000
##ED40CE1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD2
Deuteranopia (green-blind)
#8095CA
Tritanopia (blue-blind)
#F94C83
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ed40ce;
/* rgb */ color: rgb(237, 64, 206);
/* oklch */ color: oklch(67.3% 0.251 336.4);
Tailwind
colors: {
  custom: {
    50: '#f785dd',
    500: '#ed40ce',
    950: '#000000',
  },
}
SCSS
$custom: #ed40ce;
$custom-light: #f785dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ed40ce",
  "rgb": {
    "r": 237,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 310.751,
    "s": 82.775,
    "l": 59.02
  },
  "oklch": {
    "l": 0.67254,
    "c": 0.25083,
    "h": 336.4
  },
  "luminance": 0.26128
}

Semantic roles & 50–950 ramp

primary
#ED40CE
secondary
#A2E6AF
accent
#F9532F
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#180C15
muted
#867D83

Preview Lab

Preview with #ED40CE

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

Preview Lab → · Contrast checker → · Palette generator →

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