#ED40CF#ED40CF

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

Color values

HEX#ED40CF
RGBrgb(237, 64, 207)
HSLhsl(310, 83%, 59%)
HSVhsv(310, 73%, 93%)
CMYKcmyk(0%, 73%, 12.7%, 7.1%)
CIE-LABlab(58.21, 78.37, -37.42)
CIE-LCHlch(58.21, 86.84, 334.48°)
OKLaboklab(67.3% 0.2299 -0.102)
OKLCHoklch(67.3% 0.251 336.1)
XYZxyz(48.0217, 26.1807, 61.5436)
Luminance0.2618 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED40CF #40ED5E
analogous
#B540ED #ED40CF #ED4079
triadic
#ED40CF #CFED40 #40CFED
tetradic
#ED40CF #EDB540 #40ED5E #4079ED
square
#ED40CF #EDB540 #40ED5E #4079ED
split-complementary
#ED40CF #79ED40 #40EDB5
monochromatic
#A30F8A #DB15B9 #ED40CF #F278DD #F8B0EB

Accessibility & contrast

On white

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

On black

6.24
#ED40CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED40CF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED40CF#FFFFFF#000000##000000
##ED40CF1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#427BD3
Deuteranopia (green-blind)
#7F95CB
Tritanopia (blue-blind)
#F94D84
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ed40cf;
/* rgb */ color: rgb(237, 64, 207);
/* oklch */ color: oklch(67.3% 0.251 336.1);
Tailwind
colors: {
  custom: {
    50: '#f785de',
    500: '#ed40cf',
    950: '#000000',
  },
}
SCSS
$custom: #ed40cf;
$custom-light: #f785de;
$custom-dark: #000000;
JSON
{
  "hex": "#ed40cf",
  "rgb": {
    "r": 237,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 310.405,
    "s": 82.775,
    "l": 59.02
  },
  "oklch": {
    "l": 0.67302,
    "c": 0.25149,
    "h": 336.1
  },
  "luminance": 0.26176
}

Semantic roles & 50–950 ramp

primary
#ED40CF
secondary
#A2E6AE
accent
#F9522F
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#180C15
muted
#867D83

Preview Lab

Preview with #ED40CF

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

Preview Lab → · Contrast checker → · Palette generator →

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