#DF797D#DF797D
#DF797D is a light, vivid red. Relative luminance 0.308; OKLCH L 69.1% C 0.127 H 18.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #DF797D |
|---|---|
| RGB | rgb(223, 121, 125) |
| HSL | hsl(358, 61%, 67%) |
| HSV | hsv(358, 46%, 87%) |
| CMYK | cmyk(0%, 45.7%, 43.9%, 12.5%) |
| CIE-LAB | lab(62.38, 39.87, 15.69) |
| CIE-LCH | lch(62.38, 42.85, 21.48°) |
| OKLab | oklab(69.1% 0.1202 0.0401) |
| OKLCH | oklch(69.1% 0.127 18.4) |
| XYZ | xyz(40.9729, 30.8473, 23.1944) |
| Luminance | 0.3084 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 3.74
Dirty Pink
#CA7B80
ΔE00 4.32
Ugly Pink
#CD7584
ΔE00 5.65
Salmon Pink
#FE7B7C
ΔE00 5.73
Blush Pink
#FE828C
ΔE00 5.88
Old Rose
#C87F89
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF797D #79DFDB
analogous
#DF79B0 #DF797D #DFA879
triadic
#DF797D #7DDF79 #797DDF
tetradic
#DF797D #B0DF79 #79DFDB #A879DF
square
#DF797D #B0DF79 #79DFDB #A879DF
split-complementary
#DF797D #79DFA8 #79B0DF
monochromatic
#B32B30 #D3484D #DF797D #EBAAAD #F7DCDD
Accessibility & contrast
On white
2.93
#DF797D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#DF797D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DF797D
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF797D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF797D | 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)
#8E8A7D
Deuteranopia (green-blind)
#A79F7B
Tritanopia (blue-blind)
#F06C7B
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #df797d; /* rgb */ color: rgb(223, 121, 125); /* oklch */ color: oklch(69.1% 0.127 18.4);
Tailwind
colors: {
custom: {
50: '#eca1a2',
500: '#df797d',
950: '#000000',
},
}SCSS
$custom: #df797d; $custom-light: #eca1a2; $custom-dark: #000000;
JSON
{
"hex": "#df797d",
"rgb": {
"r": 223,
"g": 121,
"b": 125
},
"hsl": {
"h": 357.647,
"s": 61.446,
"l": 67.451
},
"oklch": {
"l": 0.69098,
"c": 0.12672,
"h": 18.4
},
"luminance": 0.30843
}Semantic roles & 50–950 ramp
primary
#DF797D
secondary
#CAEAE9
accent
#C9C21C
background
#FEFAF9
surface
#FDF4F2
border
#D5CECC
text
#170F0F
muted
#857F7E