#ED797F#ED797F
#ED797F is a light, vivid red. Relative luminance 0.332; OKLCH L 71.0% C 0.143 H 18.2°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #ED797F |
|---|---|
| RGB | rgb(237, 121, 127) |
| HSL | hsl(357, 76%, 70%) |
| HSV | hsv(357, 49%, 93%) |
| CMYK | cmyk(0%, 48.9%, 46.4%, 7.1%) |
| CIE-LAB | lab(64.34, 45.14, 17.55) |
| CIE-LCH | lch(64.34, 48.43, 21.25°) |
| OKLab | oklab(70.99% 0.1359 0.0446) |
| OKLCH | oklch(70.99% 0.143 18.2) |
| XYZ | xyz(45.5962, 33.2163, 24.0847) |
| Luminance | 0.3321 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 2.28
Salmon Pink
#FE7B7C
ΔE00 3.60
Blush Pink
#FE828C
ΔE00 3.76
Carnation
#FD798F
ΔE00 4.76
Watermelon
#FC6C85
ΔE00 4.77
Rose Pink
#F7879A
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ED797F #79EDE7
analogous
#ED79B9 #ED797F #EDAD79
triadic
#ED797F #7FED79 #797FED
tetradic
#ED797F #B9ED79 #79EDE7 #AD79ED
square
#ED797F #B9ED79 #79EDE7 #AD79ED
split-complementary
#ED797F #79EDAD #79B9ED
monochromatic
#D01C25 #E6434B #ED797F #F4AFB3 #FBE4E5
Accessibility & contrast
On white
2.75
#ED797F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#ED797F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ED797F
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ED797F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ED797F | 1.00 | 2.75 | 7.64 | 7.64 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928D7F
Deuteranopia (green-blind)
#AFA57D
Tritanopia (blue-blind)
#FF6A7C
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ed797f; /* rgb */ color: rgb(237, 121, 127); /* oklch */ color: oklch(71.0% 0.143 18.2);
Tailwind
colors: {
custom: {
50: '#f7a2a4',
500: '#ed797f',
950: '#000000',
},
}SCSS
$custom: #ed797f; $custom-light: #f7a2a4; $custom-dark: #000000;
JSON
{
"hex": "#ed797f",
"rgb": {
"r": 237,
"g": 121,
"b": 127
},
"hsl": {
"h": 356.897,
"s": 76.316,
"l": 70.196
},
"oklch": {
"l": 0.7099,
"c": 0.143,
"h": 18.2
},
"luminance": 0.33212
}Semantic roles & 50–950 ramp
primary
#ED797F
secondary
#D1F1EF
accent
#D9CE0D
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F