#E2797D#E2797D
#E2797D is a light, vivid red. Relative luminance 0.313; OKLCH L 69.5% C 0.130 H 18.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #E2797D |
|---|---|
| RGB | rgb(226, 121, 125) |
| HSL | hsl(358, 64%, 68%) |
| HSV | hsv(358, 46%, 89%) |
| CMYK | cmyk(0%, 46.5%, 44.7%, 11.4%) |
| CIE-LAB | lab(62.78, 40.97, 16.31) |
| CIE-LCH | lch(62.78, 44.10, 21.71°) |
| OKLab | oklab(69.49% 0.1234 0.0416) |
| OKLCH | oklch(69.49% 0.13 18.6) |
| XYZ | xyz(41.9056, 31.3283, 23.2381) |
| Luminance | 0.3132 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 3.27
Dirty Pink
#CA7B80
ΔE00 4.86
Salmon Pink
#FE7B7C
ΔE00 5.19
Blush Pink
#FE828C
ΔE00 5.43
Watermelon
#FC6C85
ΔE00 5.97
Ugly Pink
#CD7584
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2797D #79E2DE
analogous
#E279B1 #E2797D #E2A979
triadic
#E2797D #7DE279 #797DE2
tetradic
#E2797D #B1E279 #79E2DE #A979E2
square
#E2797D #B1E279 #79E2DE #A979E2
split-complementary
#E2797D #79E2A9 #79B1E2
monochromatic
#B9282D #D7474C #E2797D #EDABAE #F8DEDF
Accessibility & contrast
On white
2.89
#E2797D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#E2797D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2797D
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2797D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2797D | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8B7D
Deuteranopia (green-blind)
#A9A07B
Tritanopia (blue-blind)
#F46C7B
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #e2797d; /* rgb */ color: rgb(226, 121, 125); /* oklch */ color: oklch(69.5% 0.130 18.6);
Tailwind
colors: {
custom: {
50: '#efa2a2',
500: '#e2797d',
950: '#000000',
},
}SCSS
$custom: #e2797d; $custom-light: #efa2a2; $custom-dark: #000000;
JSON
{
"hex": "#e2797d",
"rgb": {
"r": 226,
"g": 121,
"b": 125
},
"hsl": {
"h": 357.714,
"s": 64.417,
"l": 68.039
},
"oklch": {
"l": 0.69489,
"c": 0.13025,
"h": 18.6
},
"luminance": 0.31324
}Semantic roles & 50–950 ramp
primary
#E2797D
secondary
#CBEBEA
accent
#CCC519
background
#FFFAF9
surface
#FEF4F2
border
#D6CECC
text
#170F0F
muted
#857F7E