#ED40D1#ED40D1

#ED40D1 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.4% C 0.253 H 335.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#ED40D1
RGBrgb(237, 64, 209)
HSLhsl(310, 83%, 59%)
HSVhsv(310, 73%, 93%)
CMYKcmyk(0%, 73%, 11.8%, 7.1%)
CIE-LABlab(58.30, 78.65, -38.41)
CIE-LCHlch(58.30, 87.53, 333.97°)
OKLaboklab(67.4% 0.23 -0.1049)
OKLCHoklch(67.4% 0.253 335.5)
XYZxyz(48.2677, 26.2791, 62.8395)
Luminance0.2627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED40D1 #40ED5C
analogous
#B340ED #ED40D1 #ED407B
triadic
#ED40D1 #D1ED40 #40D1ED
tetradic
#ED40D1 #EDB340 #40ED5C #407BED
square
#ED40D1 #EDB340 #40ED5C #407BED
split-complementary
#ED40D1 #7BED40 #40EDB3
monochromatic
#A30F8B #DB15BB #ED40D1 #F278DE #F8B0EC

Accessibility & contrast

On white

3.36
#ED40D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#ED40D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED40D1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED40D1#FFFFFF#000000##000000
##ED40D11.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#417CD5
Deuteranopia (green-blind)
#7E95CD
Tritanopia (blue-blind)
#F94E85
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ed40d1;
/* rgb */ color: rgb(237, 64, 209);
/* oklch */ color: oklch(67.4% 0.253 335.5);
Tailwind
colors: {
  custom: {
    50: '#f785df',
    500: '#ed40d1',
    950: '#000000',
  },
}
SCSS
$custom: #ed40d1;
$custom-light: #f785df;
$custom-dark: #000000;
JSON
{
  "hex": "#ed40d1",
  "rgb": {
    "r": 237,
    "g": 64,
    "b": 209
  },
  "hsl": {
    "h": 309.711,
    "s": 82.775,
    "l": 59.02
  },
  "oklch": {
    "l": 0.674,
    "c": 0.25281,
    "h": 335.5
  },
  "luminance": 0.26275
}

Semantic roles & 50–950 ramp

primary
#ED40D1
secondary
#A2E6AD
accent
#F94F2F
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#180C15
muted
#867D83

Preview Lab

Preview with #ED40D1

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

Preview Lab → · Contrast checker → · Palette generator →

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