#D42C5F#D42C5F
#D42C5F is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.6% C 0.203 H 9.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D42C5F |
|---|---|
| RGB | rgb(212, 44, 95) |
| HSL | hsl(342, 66%, 50%) |
| HSV | hsv(342, 79%, 83%) |
| CMYK | cmyk(0%, 79.2%, 55.2%, 16.9%) |
| CIE-LAB | lab(47.79, 65.93, 12.91) |
| CIE-LCH | lch(47.79, 67.19, 11.08°) |
| OKLab | oklab(57.61% 0.2004 0.0327) |
| OKLCH | oklch(57.61% 0.203 9.3) |
| XYZ | xyz(30.1206, 16.6290, 12.4479) |
| Luminance | 0.1663 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cerise
#DE0C62
ΔE00 2.30
Cherry
#DE3163
ΔE00 2.53
Raspberry
#E30B5C
ΔE00 2.57
Dark Pink
#CB416B
ΔE00 3.47
Dark Hot Pink
#D90166
ΔE00 3.74
Deep Rose
#C74767
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D42C5F #2CD4A1
analogous
#D42CB3 #D42C5F #D44D2C
triadic
#D42C5F #5FD42C #2C5FD4
tetradic
#D42C5F #B3D42C #2CD4A1 #4D2CD4
square
#D42C5F #B3D42C #2CD4A1 #4D2CD4
split-complementary
#D42C5F #2CD44D #2CB3D4
monochromatic
#6F1731 #A22148 #D42C5F #DE5F86 #E992AC
Accessibility & contrast
On white
4.86
#D42C5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#D42C5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D42C5F
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D42C5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D42C5F | 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)
#5A5C60
Deuteranopia (green-blind)
#867D5B
Tritanopia (blue-blind)
#E80043
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #d42c5f; /* rgb */ color: rgb(212, 44, 95); /* oklch */ color: oklch(57.6% 0.203 9.3);
Tailwind
colors: {
custom: {
50: '#e8768c',
500: '#d42c5f',
950: '#000000',
},
}SCSS
$custom: #d42c5f; $custom-light: #e8768c; $custom-dark: #000000;
JSON
{
"hex": "#d42c5f",
"rgb": {
"r": 212,
"g": 44,
"b": 95
},
"hsl": {
"h": 341.786,
"s": 66.142,
"l": 50.196
},
"oklch": {
"l": 0.57605,
"c": 0.203,
"h": 9.3
},
"luminance": 0.16625
}Semantic roles & 50–950 ramp
primary
#D42C5F
secondary
#88D3BD
accent
#E9B53F
background
#FFF7F8
surface
#FFEEF0
border
#D7C9CB
text
#170A0C
muted
#857C7D