#D32F51#D32F51
#D32F51 is a mid, vivid red. Relative luminance 0.165; OKLCH L 57.3% C 0.198 H 15.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #D32F51 |
|---|---|
| RGB | rgb(211, 47, 81) |
| HSL | hsl(348, 65%, 51%) |
| HSV | hsv(348, 78%, 83%) |
| CMYK | cmyk(0%, 77.7%, 61.6%, 17.3%) |
| CIE-LAB | lab(47.60, 63.90, 21.20) |
| CIE-LCH | lch(47.60, 67.32, 18.36°) |
| OKLab | oklab(57.33% 0.1915 0.0516) |
| OKLCH | oklch(57.33% 0.198 15.1) |
| XYZ | xyz(29.3688, 16.4804, 9.4176) |
| Luminance | 0.1648 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 2.17
Raspberry
#E30B5C
ΔE00 4.34
Cherry
#DE3163
ΔE00 4.60
Ruby
#CA0147
ΔE00 4.78
Crimson
#DC143C
ΔE00 5.15
Dusty Red
#B9484E
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D32F51 #2FD3B1
analogous
#D32FA3 #D32F51 #D35F2F
triadic
#D32F51 #51D32F #2F51D3
tetradic
#D32F51 #A3D32F #2FD3B1 #5F2FD3
square
#D32F51 #A3D32F #2FD3B1 #5F2FD3
split-complementary
#D32F51 #2FD35F #2FA3D3
monochromatic
#70182A #A2223D #D32F51 #DE627B #E894A6
Accessibility & contrast
On white
4.89
#D32F51 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#D32F51 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D32F51
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D32F51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D32F51 | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5B51
Deuteranopia (green-blind)
#887D4D
Tritanopia (blue-blind)
#E7003E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #d32f51; /* rgb */ color: rgb(211, 47, 81); /* oklch */ color: oklch(57.3% 0.198 15.1);
Tailwind
colors: {
custom: {
50: '#e87781',
500: '#d32f51',
950: '#000000',
},
}SCSS
$custom: #d32f51; $custom-light: #e87781; $custom-dark: #000000;
JSON
{
"hex": "#d32f51",
"rgb": {
"r": 211,
"g": 47,
"b": 81
},
"hsl": {
"h": 347.561,
"s": 65.079,
"l": 50.588
},
"oklch": {
"l": 0.57334,
"c": 0.19836,
"h": 15.1
},
"luminance": 0.16476
}Semantic roles & 50–950 ramp
primary
#D32F51
secondary
#8AD3C4
accent
#E8C540
background
#FFF7F7
surface
#FFEEEE
border
#D7C9C9
text
#180A0A
muted
#867C7C