#DF5151#DF5151
#DF5151 is a light, vivid red. Relative luminance 0.222; OKLCH L 62.7% C 0.178 H 23.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #DF5151 |
|---|---|
| RGB | rgb(223, 81, 81) |
| HSL | hsl(0, 69%, 60%) |
| HSV | hsv(0, 64%, 87%) |
| CMYK | cmyk(0%, 63.7%, 63.7%, 12.5%) |
| CIE-LAB | lab(54.21, 55.29, 30.14) |
| CIE-LCH | lch(54.21, 62.97, 28.59°) |
| OKLab | oklab(62.65% 0.1626 0.0716) |
| OKLCH | oklch(62.65% 0.178 23.8) |
| XYZ | xyz(34.8625, 22.1717, 10.2268) |
| Luminance | 0.2217 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pastel Red
#DB5856
ΔE00 1.37
Pale Red
#D9544D
ΔE00 1.89
Dark Coral
#CF524E
ΔE00 3.08
Faded Red
#D3494E
ΔE00 3.53
Indianred
#CD5C5C
ΔE00 3.98
Dark Salmon
#C85A53
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF5151 #51DFDF
analogous
#DF5198 #DF5151 #DF9851
triadic
#DF5151 #51DF51 #5151DF
tetradic
#DF5151 #98DF51 #51DFDF #9851DF
square
#DF5151 #98DF51 #51DFDF #9851DF
split-complementary
#DF5151 #51DF98 #5198DF
monochromatic
#991C1C #CD2626 #DF5151 #E98585 #F2B8B8
Accessibility & contrast
On white
3.86
#DF5151 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#DF5151 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DF5151
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF5151 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF5151 | 1.00 | 3.86 | 5.43 | 5.43 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766E50
Deuteranopia (green-blind)
#9A8D4D
Tritanopia (blue-blind)
#F43152
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #df5151; /* rgb */ color: rgb(223, 81, 81); /* oklch */ color: oklch(62.7% 0.178 23.8);
Tailwind
colors: {
custom: {
50: '#f08882',
500: '#df5151',
950: '#000000',
},
}SCSS
$custom: #df5151; $custom-light: #f08882; $custom-dark: #000000;
JSON
{
"hex": "#df5151",
"rgb": {
"r": 223,
"g": 81,
"b": 81
},
"hsl": {
"h": 0,
"s": 68.932,
"l": 59.608
},
"oklch": {
"l": 0.62653,
"c": 0.17769,
"h": 23.8
},
"luminance": 0.22167
}Semantic roles & 50–950 ramp
primary
#DF5151
secondary
#AAE1E1
accent
#ECEC3C
background
#FFF8F7
surface
#FFF0EE
border
#D7CBC9
text
#180C0A
muted
#867D7C