#DF797E#DF797E
#DF797E is a light, vivid red. Relative luminance 0.309; OKLCH L 69.1% C 0.127 H 17.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #DF797E |
|---|---|
| RGB | rgb(223, 121, 126) |
| HSL | hsl(357, 61%, 67%) |
| HSV | hsv(357, 46%, 87%) |
| CMYK | cmyk(0%, 45.7%, 43.5%, 12.5%) |
| CIE-LAB | lab(62.40, 39.97, 15.15) |
| CIE-LCH | lch(62.40, 42.75, 20.76°) |
| OKLab | oklab(69.12% 0.1206 0.0388) |
| OKLCH | oklch(69.12% 0.127 17.8) |
| XYZ | xyz(41.0371, 30.8730, 23.5325) |
| Luminance | 0.3087 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 3.89
Dirty Pink
#CA7B80
ΔE00 4.22
Ugly Pink
#CD7584
ΔE00 5.39
Blush Pink
#FE828C
ΔE00 5.82
Salmon Pink
#FE7B7C
ΔE00 5.86
Old Rose
#C87F89
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF797E #79DFDA
analogous
#DF79B1 #DF797E #DFA779
triadic
#DF797E #7EDF79 #797EDF
tetradic
#DF797E #B1DF79 #79DFDA #A779DF
square
#DF797E #B1DF79 #79DFDA #A779DF
split-complementary
#DF797E #79DFA7 #79B1DF
monochromatic
#B32B31 #D3484E #DF797E #EBAAAE #F7DCDD
Accessibility & contrast
On white
2.93
#DF797E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#DF797E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DF797E
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF797E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF797E | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E8A7E
Deuteranopia (green-blind)
#A79F7C
Tritanopia (blue-blind)
#F06C7B
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #df797e; /* rgb */ color: rgb(223, 121, 126); /* oklch */ color: oklch(69.1% 0.127 17.8);
Tailwind
colors: {
custom: {
50: '#eca1a3',
500: '#df797e',
950: '#000000',
},
}SCSS
$custom: #df797e; $custom-light: #eca1a3; $custom-dark: #000000;
JSON
{
"hex": "#df797e",
"rgb": {
"r": 223,
"g": 121,
"b": 126
},
"hsl": {
"h": 357.059,
"s": 61.446,
"l": 67.451
},
"oklch": {
"l": 0.69121,
"c": 0.12668,
"h": 17.8
},
"luminance": 0.30869
}Semantic roles & 50–950 ramp
primary
#DF797E
secondary
#CAEAE8
accent
#C9C11C
background
#FEFAFA
surface
#FDF4F3
border
#D5CECD
text
#170F0F
muted
#857F7F