#ED40C3#ED40C3

#ED40C3 is a light, highly saturated pink. Relative luminance 0.256; OKLCH L 66.7% C 0.244 H 339.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#ED40C3
RGBrgb(237, 64, 195)
HSLhsl(315, 83%, 59%)
HSVhsv(315, 73%, 93%)
CMYKcmyk(0%, 73%, 17.7%, 7.1%)
CIE-LABlab(57.67, 76.74, -31.40)
CIE-LCHlch(57.67, 82.92, 337.75°)
OKLaboklab(66.74% 0.2286 -0.0849)
OKLCHoklch(66.74% 0.244 339.6)
XYZxyz(46.6100, 25.6160, 54.1088)
Luminance0.2561 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED40C3 #40ED6A
analogous
#C040ED #ED40C3 #ED406D
triadic
#ED40C3 #C3ED40 #40C3ED
tetradic
#ED40C3 #EDC040 #40ED6A #406DED
square
#ED40C3 #EDC040 #40ED6A #406DED
split-complementary
#ED40C3 #6DED40 #40EDC0
monochromatic
#A30F7F #DB15AB #ED40C3 #F278D5 #F8B0E6

Accessibility & contrast

On white

3.43
#ED40C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#ED40C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED40C3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED40C3#FFFFFF#000000##000000
##ED40C31.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C7
Deuteranopia (green-blind)
#8494BF
Tritanopia (blue-blind)
#FB467D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ed40c3;
/* rgb */ color: rgb(237, 64, 195);
/* oklch */ color: oklch(66.7% 0.244 339.6);
Tailwind
colors: {
  custom: {
    50: '#f785d5',
    500: '#ed40c3',
    950: '#000000',
  },
}
SCSS
$custom: #ed40c3;
$custom-light: #f785d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ed40c3",
  "rgb": {
    "r": 237,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 314.566,
    "s": 82.775,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66739,
    "c": 0.2438,
    "h": 339.6
  },
  "luminance": 0.25611
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED40C3

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

Preview Lab → · Contrast checker → · Palette generator →

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