#D42CAD#D42CAD
#D42CAD is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.4% C 0.235 H 339.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #D42CAD |
|---|---|
| RGB | rgb(212, 44, 173) |
| HSL | hsl(314, 66%, 50%) |
| HSV | hsv(314, 79%, 83%) |
| CMYK | cmyk(0%, 79.2%, 18.4%, 16.9%) |
| CIE-LAB | lab(50.48, 73.87, -30.15) |
| CIE-LCH | lch(50.48, 79.79, 337.80°) |
| OKLab | oklab(60.44% 0.2205 -0.0816) |
| OKLCH | oklch(60.44% 0.235 339.7) |
| XYZ | xyz(35.5959, 18.8192, 41.2849) |
| Luminance | 0.1882 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.36
Pinky Purple
#C94CBE
ΔE00 5.03
Hot Magenta
#F504C9
ΔE00 6.24
Purpleish Pink
#DF4EC8
ΔE00 7.07
Fuchsia (survey)
#ED0DD9
ΔE00 7.16
Bright Pink
#FE01B1
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D42CAD #2CD453
analogous
#A72CD4 #D42CAD #D42C59
triadic
#D42CAD #ADD42C #2CADD4
tetradic
#D42CAD #D4A72C #2CD453 #2C59D4
square
#D42CAD #D4A72C #2CD453 #2C59D4
split-complementary
#D42CAD #59D42C #2CD4A7
monochromatic
#6F175A #A22184 #D42CAD #DE5FC1 #E992D5
Accessibility & contrast
On white
4.41
#D42CAD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#D42CAD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D42CAD
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D42CAD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D42CAD | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3967B0
Deuteranopia (green-blind)
#7281A9
Tritanopia (blue-blind)
#E1336B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #d42cad; /* rgb */ color: rgb(212, 44, 173); /* oklch */ color: oklch(60.4% 0.235 339.7);
Tailwind
colors: {
custom: {
50: '#e679c5',
500: '#d42cad',
950: '#000000',
},
}SCSS
$custom: #d42cad; $custom-light: #e679c5; $custom-dark: #000000;
JSON
{
"hex": "#d42cad",
"rgb": {
"r": 212,
"g": 44,
"b": 173
},
"hsl": {
"h": 313.929,
"s": 66.142,
"l": 50.196
},
"oklch": {
"l": 0.60437,
"c": 0.23513,
"h": 339.7
},
"luminance": 0.18816
}Semantic roles & 50–950 ramp
primary
#D42CAD
secondary
#88D39A
accent
#E9663F
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170A13
muted
#857C82