#D32F52#D32F52
#D32F52 is a mid, vivid red. Relative luminance 0.165; OKLCH L 57.4% C 0.198 H 14.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #D32F52 |
|---|---|
| RGB | rgb(211, 47, 82) |
| HSL | hsl(347, 65%, 51%) |
| HSV | hsv(347, 78%, 83%) |
| CMYK | cmyk(0%, 77.7%, 61.1%, 17.3%) |
| CIE-LAB | lab(47.62, 63.96, 20.62) |
| CIE-LCH | lch(47.62, 67.20, 17.87°) |
| OKLab | oklab(57.36% 0.1919 0.0503) |
| OKLCH | oklch(57.36% 0.198 14.7) |
| XYZ | xyz(29.4066, 16.4955, 9.6165) |
| Luminance | 0.1649 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 2.10
Raspberry
#E30B5C
ΔE00 4.11
Cherry
#DE3163
ΔE00 4.36
Ruby
#CA0147
ΔE00 4.75
Crimson
#DC143C
ΔE00 5.42
Cerise
#DE0C62
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D32F52 #2FD3B0
analogous
#D32FA4 #D32F52 #D35E2F
triadic
#D32F52 #52D32F #2F52D3
tetradic
#D32F52 #A4D32F #2FD3B0 #5E2FD3
square
#D32F52 #A4D32F #2FD3B0 #5E2FD3
split-complementary
#D32F52 #2FD35E #2FA4D3
monochromatic
#70182B #A2223E #D32F52 #DE627C #E894A6
Accessibility & contrast
On white
4.89
#D32F52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#D32F52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D32F52
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D32F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D32F52 | 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)
#5E5B52
Deuteranopia (green-blind)
#887D4E
Tritanopia (blue-blind)
#E7003E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #d32f52; /* rgb */ color: rgb(211, 47, 82); /* oklch */ color: oklch(57.4% 0.198 14.7);
Tailwind
colors: {
custom: {
50: '#e87782',
500: '#d32f52',
950: '#000000',
},
}SCSS
$custom: #d32f52; $custom-light: #e87782; $custom-dark: #000000;
JSON
{
"hex": "#d32f52",
"rgb": {
"r": 211,
"g": 47,
"b": 82
},
"hsl": {
"h": 347.195,
"s": 65.079,
"l": 50.588
},
"oklch": {
"l": 0.57355,
"c": 0.19841,
"h": 14.7
},
"luminance": 0.16491
}Semantic roles & 50–950 ramp
primary
#D32F52
secondary
#8AD3C4
accent
#E8C440
background
#FFF7F7
surface
#FFEEEE
border
#D7C9C9
text
#170A0A
muted
#857C7C