#DF5252#DF5252
#DF5252 is a light, vivid red. Relative luminance 0.223; OKLCH L 62.8% C 0.177 H 23.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #DF5252 |
|---|---|
| RGB | rgb(223, 82, 82) |
| HSL | hsl(0, 69%, 60%) |
| HSV | hsv(0, 63%, 87%) |
| CMYK | cmyk(0%, 63.2%, 63.2%, 12.5%) |
| CIE-LAB | lab(54.38, 54.93, 29.78) |
| CIE-LCH | lch(54.38, 62.48, 28.46°) |
| OKLab | oklab(62.79% 0.1616 0.0709) |
| OKLCH | oklch(62.79% 0.177 23.7) |
| XYZ | xyz(34.9751, 22.3365, 10.4507) |
| Luminance | 0.2233 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pastel Red
#DB5856
ΔE00 1.19
Pale Red
#D9544D
ΔE00 1.98
Dark Coral
#CF524E
ΔE00 3.17
Faded Red
#D3494E
ΔE00 3.64
Indianred
#CD5C5C
ΔE00 3.87
Dark Salmon
#C85A53
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF5252 #52DFDF
analogous
#DF5299 #DF5252 #DF9952
triadic
#DF5252 #52DF52 #5252DF
tetradic
#DF5252 #99DF52 #52DFDF #9952DF
square
#DF5252 #99DF52 #52DFDF #9952DF
split-complementary
#DF5252 #52DF99 #5299DF
monochromatic
#9A1D1D #CE2626 #DF5252 #E98686 #F2B9B9
Accessibility & contrast
On white
3.84
#DF5252 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#DF5252 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DF5252
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF5252 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF5252 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776F51
Deuteranopia (green-blind)
#9A8D4E
Tritanopia (blue-blind)
#F43353
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #df5252; /* rgb */ color: rgb(223, 82, 82); /* oklch */ color: oklch(62.8% 0.177 23.7);
Tailwind
colors: {
custom: {
50: '#f08982',
500: '#df5252',
950: '#000000',
},
}SCSS
$custom: #df5252; $custom-light: #f08982; $custom-dark: #000000;
JSON
{
"hex": "#df5252",
"rgb": {
"r": 223,
"g": 82,
"b": 82
},
"hsl": {
"h": 0,
"s": 68.78,
"l": 59.804
},
"oklch": {
"l": 0.62788,
"c": 0.17653,
"h": 23.7
},
"luminance": 0.22332
}Semantic roles & 50–950 ramp
primary
#DF5252
secondary
#ABE2E2
accent
#ECEC3C
background
#FFF8F8
surface
#FFF0EF
border
#D7CBCA
text
#180C0A
muted
#867D7C