#ED787C#ED787C
#ED787C is a light, vivid red. Relative luminance 0.329; OKLCH L 70.8% C 0.144 H 19.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #ED787C |
|---|---|
| RGB | rgb(237, 120, 124) |
| HSL | hsl(358, 76%, 70%) |
| HSV | hsv(358, 49%, 93%) |
| CMYK | cmyk(0%, 49.4%, 47.7%, 7.1%) |
| CIE-LAB | lab(64.08, 45.35, 18.90) |
| CIE-LCH | lch(64.08, 49.13, 22.63°) |
| OKLab | oklab(70.77% 0.1363 0.0478) |
| OKLCH | oklch(70.77% 0.144 19.3) |
| XYZ | xyz(45.2827, 32.8975, 23.0300) |
| Luminance | 0.3289 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 2.07
Salmon Pink
#FE7B7C
ΔE00 3.28
Blush Pink
#FE828C
ΔE00 4.18
Watermelon
#FC6C85
ΔE00 5.25
Carnation
#FD798F
ΔE00 5.42
Coral Pink
#FF6163
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ED787C #78EDE9
analogous
#ED78B6 #ED787C #EDAF78
triadic
#ED787C #7CED78 #787CED
tetradic
#ED787C #B6ED78 #78EDE9 #AF78ED
square
#ED787C #B6ED78 #78EDE9 #AF78ED
split-complementary
#ED787C #78EDAF #78B6ED
monochromatic
#CF1C22 #E64248 #ED787C #F4AEB0 #FBE4E5
Accessibility & contrast
On white
2.77
#ED787C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.58
#ED787C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ED787C
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ED787C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ED787C | 1.00 | 2.77 | 7.58 | 7.58 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928D7B
Deuteranopia (green-blind)
#AFA47A
Tritanopia (blue-blind)
#FF687A
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #ed787c; /* rgb */ color: rgb(237, 120, 124); /* oklch */ color: oklch(70.8% 0.144 19.3);
Tailwind
colors: {
custom: {
50: '#f7a1a1',
500: '#ed787c',
950: '#000000',
},
}SCSS
$custom: #ed787c; $custom-light: #f7a1a1; $custom-dark: #000000;
JSON
{
"hex": "#ed787c",
"rgb": {
"r": 237,
"g": 120,
"b": 124
},
"hsl": {
"h": 357.949,
"s": 76.471,
"l": 70
},
"oklch": {
"l": 0.70774,
"c": 0.14439,
"h": 19.3
},
"luminance": 0.32893
}Semantic roles & 50–950 ramp
primary
#ED787C
secondary
#D0F1F0
accent
#D9D20D
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0F
muted
#867F7E