#ED40C5#ED40C5

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

Color values

HEX#ED40C5
RGBrgb(237, 64, 197)
HSLhsl(314, 83%, 59%)
HSVhsv(314, 73%, 93%)
CMYKcmyk(0%, 73%, 16.9%, 7.1%)
CIE-LABlab(57.76, 77.01, -32.41)
CIE-LCHlch(57.76, 83.55, 337.18°)
OKLaboklab(66.83% 0.2288 -0.0877)
OKLCHoklch(66.83% 0.245 339)
XYZxyz(46.8377, 25.7071, 55.3077)
Luminance0.2570 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED40C5 #40ED68
analogous
#BF40ED #ED40C5 #ED406F
triadic
#ED40C5 #C5ED40 #40C5ED
tetradic
#ED40C5 #EDBF40 #40ED68 #406FED
square
#ED40C5 #EDBF40 #40ED68 #406FED
split-complementary
#ED40C5 #6FED40 #40EDBF
monochromatic
#A30F81 #DB15AD #ED40C5 #F278D6 #F8B0E7

Accessibility & contrast

On white

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

On black

6.14
#ED40C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED40C5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED40C5#FFFFFF#000000##000000
##ED40C51.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A79C9
Deuteranopia (green-blind)
#8394C1
Tritanopia (blue-blind)
#FA477E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ed40c5;
/* rgb */ color: rgb(237, 64, 197);
/* oklch */ color: oklch(66.8% 0.245 339.0);
Tailwind
colors: {
  custom: {
    50: '#f785d7',
    500: '#ed40c5',
    950: '#000000',
  },
}
SCSS
$custom: #ed40c5;
$custom-light: #f785d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ed40c5",
  "rgb": {
    "r": 237,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 313.873,
    "s": 82.775,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66831,
    "c": 0.24506,
    "h": 339
  },
  "luminance": 0.25703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED40C5

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

Preview Lab → · Contrast checker → · Palette generator →

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