#ED40C6#ED40C6

#ED40C6 is a light, highly saturated pink. Relative luminance 0.257; OKLCH L 66.9% C 0.246 H 338.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#ED40C6
RGBrgb(237, 64, 198)
HSLhsl(314, 83%, 59%)
HSVhsv(314, 73%, 93%)
CMYKcmyk(0%, 73%, 16.5%, 7.1%)
CIE-LABlab(57.80, 77.14, -32.91)
CIE-LCHlch(57.80, 83.87, 336.89°)
OKLaboklab(66.88% 0.2289 -0.0892)
OKLCHoklch(66.88% 0.246 338.7)
XYZxyz(46.9526, 25.7531, 55.9132)
Luminance0.2575 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED40C6 #40ED67
analogous
#BE40ED #ED40C6 #ED4070
triadic
#ED40C6 #C6ED40 #40C6ED
tetradic
#ED40C6 #EDBE40 #40ED67 #4070ED
square
#ED40C6 #EDBE40 #40ED67 #4070ED
split-complementary
#ED40C6 #70ED40 #40EDBE
monochromatic
#A30F82 #DB15AE #ED40C6 #F278D7 #F8B0E7

Accessibility & contrast

On white

3.41
#ED40C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#ED40C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED40C6
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED40C6#FFFFFF#000000##000000
##ED40C61.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACA
Deuteranopia (green-blind)
#8395C2
Tritanopia (blue-blind)
#FA487F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ed40c6;
/* rgb */ color: rgb(237, 64, 198);
/* oklch */ color: oklch(66.9% 0.246 338.7);
Tailwind
colors: {
  custom: {
    50: '#f785d7',
    500: '#ed40c6',
    950: '#000000',
  },
}
SCSS
$custom: #ed40c6;
$custom-light: #f785d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ed40c6",
  "rgb": {
    "r": 237,
    "g": 64,
    "b": 198
  },
  "hsl": {
    "h": 313.526,
    "s": 82.775,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66877,
    "c": 0.24568,
    "h": 338.7
  },
  "luminance": 0.25749
}

Semantic roles & 50–950 ramp

primary
#ED40C6
secondary
#A2E6B2
accent
#F95C2F
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#180C14
muted
#867D83

Preview Lab

Preview with #ED40C6

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

Preview Lab → · Contrast checker → · Palette generator →

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