#D42CA7#D42CA7
#D42CA7 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 60.2% C 0.232 H 341.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D42CA7 |
|---|---|
| RGB | rgb(212, 44, 167) |
| HSL | hsl(316, 66%, 50%) |
| HSV | hsv(316, 79%, 83%) |
| CMYK | cmyk(0%, 79.2%, 21.2%, 16.9%) |
| CIE-LAB | lab(50.21, 73.11, -27.03) |
| CIE-LCH | lch(50.21, 77.94, 339.71°) |
| OKLab | oklab(60.16% 0.2198 -0.0727) |
| OKLCH | oklch(60.16% 0.232 341.7) |
| XYZ | xyz(35.0283, 18.5921, 38.2957) |
| Luminance | 0.1859 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.31
Pinky Purple
#C94CBE
ΔE00 5.82
Hot Magenta
#F504C9
ΔE00 6.82
Mediumvioletred
#C71585
ΔE00 6.85
Bright Pink
#FE01B1
ΔE00 7.27
Purplish Pink
#CE5DAE
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D42CA7 #2CD459
analogous
#AD2CD4 #D42CA7 #D42C53
triadic
#D42CA7 #A7D42C #2CA7D4
tetradic
#D42CA7 #D4AD2C #2CD459 #2C53D4
square
#D42CA7 #D4AD2C #2CD459 #2C53D4
split-complementary
#D42CA7 #53D42C #2CD4AD
monochromatic
#6F1757 #A2217F #D42CA7 #DE5FBC #E992D1
Accessibility & contrast
On white
4.45
#D42CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#D42CA7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D42CA7
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D42CA7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D42CA7 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E66AA
Deuteranopia (green-blind)
#7481A3
Tritanopia (blue-blind)
#E12F68
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #d42ca7; /* rgb */ color: rgb(212, 44, 167); /* oklch */ color: oklch(60.2% 0.232 341.7);
Tailwind
colors: {
custom: {
50: '#e679c1',
500: '#d42ca7',
950: '#000000',
},
}SCSS
$custom: #d42ca7; $custom-light: #e679c1; $custom-dark: #000000;
JSON
{
"hex": "#d42ca7",
"rgb": {
"r": 212,
"g": 44,
"b": 167
},
"hsl": {
"h": 316.071,
"s": 66.142,
"l": 50.196
},
"oklch": {
"l": 0.60156,
"c": 0.23151,
"h": 341.7
},
"luminance": 0.18588
}Semantic roles & 50–950 ramp
primary
#D42CA7
secondary
#88D39C
accent
#E96C3F
background
#FEF7FB
surface
#FDEEF7
border
#D5C9D0
text
#170A12
muted
#857C81