#ED51C6#ED51C6
#ED51C6 is a light, highly saturated pink. Relative luminance 0.280; OKLCH L 68.4% C 0.226 H 339.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #ED51C6 |
|---|---|
| RGB | rgb(237, 81, 198) |
| HSL | hsl(315, 81%, 62%) |
| HSV | hsv(315, 66%, 93%) |
| CMYK | cmyk(0%, 65.8%, 16.5%, 7.1%) |
| CIE-LAB | lab(59.86, 71.35, -29.71) |
| CIE-LCH | lch(59.86, 77.29, 337.39°) |
| OKLab | oklab(68.37% 0.2115 -0.0802) |
| OKLCH | oklch(68.37% 0.226 339.2) |
| XYZ | xyz(48.0616, 27.9710, 56.2828) |
| Luminance | 0.2797 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.10
Hot Magenta
#F504C9
ΔE00 5.43
Purplish Pink
#CE5DAE
ΔE00 5.72
Bright Pink
#FE01B1
ΔE00 6.07
Orchid
#DA70D6
ΔE00 6.11
Pale Magenta
#D767AD
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ED51C6 #51ED78
analogous
#C651ED #ED51C6 #ED5178
triadic
#ED51C6 #C6ED51 #51C6ED
tetradic
#ED51C6 #EDC651 #51ED78 #5178ED
square
#ED51C6 #EDC651 #51ED78 #5178ED
split-complementary
#ED51C6 #78ED51 #51EDC6
monochromatic
#B1128A #E71AB4 #ED51C6 #F388D8 #F8C0EA
Accessibility & contrast
On white
3.19
#ED51C6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#ED51C6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #ED51C6
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ED51C6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ED51C6 | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5981C9
Deuteranopia (green-blind)
#8A99C2
Tritanopia (blue-blind)
#FA5684
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ed51c6; /* rgb */ color: rgb(237, 81, 198); /* oklch */ color: oklch(68.4% 0.226 339.2);
Tailwind
colors: {
custom: {
50: '#f78cd7',
500: '#ed51c6',
950: '#000000',
},
}SCSS
$custom: #ed51c6; $custom-light: #f78cd7; $custom-dark: #000000;
JSON
{
"hex": "#ed51c6",
"rgb": {
"r": 237,
"g": 81,
"b": 198
},
"hsl": {
"h": 315,
"s": 81.25,
"l": 62.353
},
"oklch": {
"l": 0.68373,
"c": 0.22619,
"h": 339.2
},
"luminance": 0.27967
}Semantic roles & 50–950 ramp
primary
#ED51C6
secondary
#B0E9BF
accent
#DE3D08
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83