#DF797F#DF797F
#DF797F is a light, vivid red. Relative luminance 0.309; OKLCH L 69.1% C 0.127 H 17.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #DF797F |
|---|---|
| RGB | rgb(223, 121, 127) |
| HSL | hsl(356, 61%, 67%) |
| HSV | hsv(356, 46%, 87%) |
| CMYK | cmyk(0%, 45.7%, 43%, 12.5%) |
| CIE-LAB | lab(62.42, 40.08, 14.61) |
| CIE-LCH | lch(62.42, 42.66, 20.03°) |
| OKLab | oklab(69.15% 0.121 0.0375) |
| OKLCH | oklch(69.15% 0.127 17.2) |
| XYZ | xyz(41.1019, 30.8990, 23.8740) |
| Luminance | 0.3090 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 4.06
Dirty Pink
#CA7B80
ΔE00 4.14
Ugly Pink
#CD7584
ΔE00 5.15
Pinkish
#D46A7E
ΔE00 5.72
Old Rose
#C87F89
ΔE00 5.74
Blush Pink
#FE828C
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF797F #79DFD9
analogous
#DF79B2 #DF797F #DFA679
triadic
#DF797F #7FDF79 #797FDF
tetradic
#DF797F #B2DF79 #79DFD9 #A679DF
square
#DF797F #B2DF79 #79DFD9 #A679DF
split-complementary
#DF797F #79DFA6 #79B2DF
monochromatic
#B32B33 #D34850 #DF797F #EBAAAE #F7DCDD
Accessibility & contrast
On white
2.93
#DF797F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#DF797F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DF797F
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF797F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF797F | 1.00 | 2.93 | 7.18 | 7.18 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E8A7F
Deuteranopia (green-blind)
#A79F7D
Tritanopia (blue-blind)
#F06C7C
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #df797f; /* rgb */ color: rgb(223, 121, 127); /* oklch */ color: oklch(69.1% 0.127 17.2);
Tailwind
colors: {
custom: {
50: '#eca1a4',
500: '#df797f',
950: '#000000',
},
}SCSS
$custom: #df797f; $custom-light: #eca1a4; $custom-dark: #000000;
JSON
{
"hex": "#df797f",
"rgb": {
"r": 223,
"g": 121,
"b": 127
},
"hsl": {
"h": 356.471,
"s": 61.446,
"l": 67.451
},
"oklch": {
"l": 0.69145,
"c": 0.12666,
"h": 17.2
},
"luminance": 0.30895
}Semantic roles & 50–950 ramp
primary
#DF797F
secondary
#CAEAE8
accent
#C9BF1C
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#170F0F
muted
#857F7F