#D42C5D#D42C5D
#D42C5D is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.6% C 0.203 H 10.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D42C5D |
|---|---|
| RGB | rgb(212, 44, 93) |
| HSL | hsl(343, 66%, 50%) |
| HSV | hsv(343, 79%, 83%) |
| CMYK | cmyk(0%, 79.2%, 56.1%, 16.9%) |
| CIE-LAB | lab(47.74, 65.79, 14.08) |
| CIE-LCH | lch(47.74, 67.28, 12.08°) |
| OKLab | oklab(57.56% 0.1996 0.0354) |
| OKLCH | oklch(57.56% 0.203 10.1) |
| XYZ | xyz(30.0308, 16.5931, 11.9753) |
| Luminance | 0.1659 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry
#E30B5C
ΔE00 2.47
Cherry
#DE3163
ΔE00 2.54
Cerise
#DE0C62
ΔE00 2.64
Lipstick
#D5174E
ΔE00 3.48
Dark Pink
#CB416B
ΔE00 3.86
Deep Rose
#C74767
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D42C5D #2CD4A3
analogous
#D42CB1 #D42C5D #D44F2C
triadic
#D42C5D #5DD42C #2C5DD4
tetradic
#D42C5D #B1D42C #2CD4A3 #4F2CD4
square
#D42C5D #B1D42C #2CD4A3 #4F2CD4
split-complementary
#D42C5D #2CD44F #2CB1D4
monochromatic
#6F1730 #A22147 #D42C5D #DE5F84 #E992AB
Accessibility & contrast
On white
4.86
#D42C5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#D42C5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D42C5D
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D42C5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D42C5D | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5C5E
Deuteranopia (green-blind)
#867D59
Tritanopia (blue-blind)
#E80042
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #d42c5d; /* rgb */ color: rgb(212, 44, 93); /* oklch */ color: oklch(57.6% 0.203 10.1);
Tailwind
colors: {
custom: {
50: '#e9768a',
500: '#d42c5d',
950: '#000000',
},
}SCSS
$custom: #d42c5d; $custom-light: #e9768a; $custom-dark: #000000;
JSON
{
"hex": "#d42c5d",
"rgb": {
"r": 212,
"g": 44,
"b": 93
},
"hsl": {
"h": 342.5,
"s": 66.142,
"l": 50.196
},
"oklch": {
"l": 0.57557,
"c": 0.20272,
"h": 10.1
},
"luminance": 0.16589
}Semantic roles & 50–950 ramp
primary
#D42C5D
secondary
#88D3BE
accent
#E9B73F
background
#FFF7F8
surface
#FFEEF0
border
#D7C9CB
text
#170A0B
muted
#857C7C