#D42D5C#D42D5C
#D42D5C is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.6% C 0.202 H 10.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #D42D5C |
|---|---|
| RGB | rgb(212, 45, 92) |
| HSL | hsl(343, 66%, 50%) |
| HSV | hsv(343, 79%, 83%) |
| CMYK | cmyk(0%, 78.8%, 56.6%, 16.9%) |
| CIE-LAB | lab(47.82, 65.45, 14.79) |
| CIE-LCH | lch(47.82, 67.10, 12.74°) |
| OKLab | oklab(57.6% 0.1983 0.0371) |
| OKLCH | oklch(57.6% 0.202 10.6) |
| XYZ | xyz(30.0245, 16.6509, 11.7561) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry
#E30B5C
ΔE00 2.48
Cherry
#DE3163
ΔE00 2.52
Cerise
#DE0C62
ΔE00 2.95
Lipstick
#D5174E
ΔE00 3.24
Deep Rose
#C74767
ΔE00 3.94
Dark Pink
#CB416B
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D42D5C #2DD4A5
analogous
#D42DAF #D42D5C #D4522D
triadic
#D42D5C #5CD42D #2D5CD4
tetradic
#D42D5C #AFD42D #2DD4A5 #522DD4
square
#D42D5C #AFD42D #2DD4A5 #522DD4
split-complementary
#D42D5C #2DD452 #2DAFD4
monochromatic
#701730 #A32146 #D42D5C #DE6083 #E993AB
Accessibility & contrast
On white
4.85
#D42D5C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#D42D5C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D42D5C
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D42D5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D42D5C | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5C5D
Deuteranopia (green-blind)
#867E58
Tritanopia (blue-blind)
#E80042
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #d42d5c; /* rgb */ color: rgb(212, 45, 92); /* oklch */ color: oklch(57.6% 0.202 10.6);
Tailwind
colors: {
custom: {
50: '#e97789',
500: '#d42d5c',
950: '#000000',
},
}SCSS
$custom: #d42d5c; $custom-light: #e97789; $custom-dark: #000000;
JSON
{
"hex": "#d42d5c",
"rgb": {
"r": 212,
"g": 45,
"b": 92
},
"hsl": {
"h": 343.114,
"s": 66.008,
"l": 50.392
},
"oklch": {
"l": 0.57604,
"c": 0.20178,
"h": 10.6
},
"luminance": 0.16647
}Semantic roles & 50–950 ramp
primary
#D42D5C
secondary
#89D4BF
accent
#E9B93F
background
#FFF7F8
surface
#FFEEF0
border
#D7C9CB
text
#170A0B
muted
#857C7C