#D42D52#D42D52
#D42D52 is a mid, highly saturated red. Relative luminance 0.165; OKLCH L 57.4% C 0.201 H 14.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #D42D52 |
|---|---|
| RGB | rgb(212, 45, 82) |
| HSL | hsl(347, 66%, 50%) |
| HSV | hsv(347, 79%, 83%) |
| CMYK | cmyk(0%, 78.8%, 61.3%, 16.9%) |
| CIE-LAB | lab(47.61, 64.80, 20.64) |
| CIE-LCH | lch(47.61, 68.01, 17.67°) |
| OKLab | oklab(57.38% 0.1945 0.0503) |
| OKLCH | oklch(57.38% 0.201 14.5) |
| XYZ | xyz(29.6159, 16.4875, 9.6040) |
| Luminance | 0.1648 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 1.94
Raspberry
#E30B5C
ΔE00 3.92
Cherry
#DE3163
ΔE00 4.27
Ruby
#CA0147
ΔE00 4.68
Cerise
#DE0C62
ΔE00 5.42
Crimson
#DC143C
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D42D52 #2DD4AF
analogous
#D42DA5 #D42D52 #D45C2D
triadic
#D42D52 #52D42D #2D52D4
tetradic
#D42D52 #A5D42D #2DD4AF #5C2DD4
square
#D42D52 #A5D42D #2DD4AF #5C2DD4
split-complementary
#D42D52 #2DD45C #2DA5D4
monochromatic
#70172B #A3213E #D42D52 #DE607C #E993A6
Accessibility & contrast
On white
4.89
#D42D52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#D42D52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D42D52
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D42D52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D42D52 | 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)
#5D5B52
Deuteranopia (green-blind)
#887D4D
Tritanopia (blue-blind)
#E8003D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #d42d52; /* rgb */ color: rgb(212, 45, 82); /* oklch */ color: oklch(57.4% 0.201 14.5);
Tailwind
colors: {
custom: {
50: '#e97682',
500: '#d42d52',
950: '#000000',
},
}SCSS
$custom: #d42d52; $custom-light: #e97682; $custom-dark: #000000;
JSON
{
"hex": "#d42d52",
"rgb": {
"r": 212,
"g": 45,
"b": 82
},
"hsl": {
"h": 346.707,
"s": 66.008,
"l": 50.392
},
"oklch": {
"l": 0.57381,
"c": 0.20092,
"h": 14.5
},
"luminance": 0.16483
}Semantic roles & 50–950 ramp
primary
#D42D52
secondary
#89D4C3
accent
#E9C33F
background
#FFF7F7
surface
#FFEEEE
border
#D7C9C9
text
#180A0A
muted
#867C7C