#EF797C#EF797C
#EF797C is a light, vivid red. Relative luminance 0.335; OKLCH L 71.2% C 0.145 H 19.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #EF797C |
|---|---|
| RGB | rgb(239, 121, 124) |
| HSL | hsl(358, 79%, 71%) |
| HSV | hsv(358, 49%, 94%) |
| CMYK | cmyk(0%, 49.4%, 48.1%, 6.3%) |
| CIE-LAB | lab(64.55, 45.57, 19.60) |
| CIE-LCH | lch(64.55, 49.60, 23.27°) |
| OKLab | oklab(71.19% 0.1368 0.0494) |
| OKLCH | oklch(71.19% 0.145 19.9) |
| XYZ | xyz(46.0752, 33.4856, 23.1018) |
| Luminance | 0.3348 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 1.67
Salmon Pink
#FE7B7C
ΔE00 2.78
Blush Pink
#FE828C
ΔE00 3.98
Watermelon
#FC6C85
ΔE00 5.49
Carnation
#FD798F
ΔE00 5.54
Salmon
#FA8072
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF797C #79EFEC
analogous
#EF79B7 #EF797C #EFB179
triadic
#EF797C #7CEF79 #797CEF
tetradic
#EF797C #B7EF79 #79EFEC #B179EF
square
#EF797C #B7EF79 #79EFEC #B179EF
split-complementary
#EF797C #79EFB1 #79B7EF
monochromatic
#D4191E #E84247 #EF797C #F6B0B1 #FCE4E4
Accessibility & contrast
On white
2.73
#EF797C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#EF797C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF797C
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF797C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF797C | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938E7B
Deuteranopia (green-blind)
#B0A67A
Tritanopia (blue-blind)
#FF697B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ef797c; /* rgb */ color: rgb(239, 121, 124); /* oklch */ color: oklch(71.2% 0.145 19.9);
Tailwind
colors: {
custom: {
50: '#f9a2a1',
500: '#ef797c',
950: '#000000',
},
}SCSS
$custom: #ef797c; $custom-light: #f9a2a1; $custom-dark: #000000;
JSON
{
"hex": "#ef797c",
"rgb": {
"r": 239,
"g": 121,
"b": 124
},
"hsl": {
"h": 358.475,
"s": 78.667,
"l": 70.588
},
"oklch": {
"l": 0.71191,
"c": 0.14546,
"h": 19.9
},
"luminance": 0.33481
}Semantic roles & 50–950 ramp
primary
#EF797C
secondary
#D2F2F1
accent
#DBD60B
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0F
muted
#867F7E