#D42DAF#D42DAF
#D42DAF is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.6% C 0.235 H 339.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #D42DAF |
|---|---|
| RGB | rgb(212, 45, 175) |
| HSL | hsl(313, 66%, 50%) |
| HSV | hsv(313, 79%, 83%) |
| CMYK | cmyk(0%, 78.8%, 17.5%, 16.9%) |
| CIE-LAB | lab(50.66, 73.88, -31.04) |
| CIE-LCH | lch(50.66, 80.14, 337.21°) |
| OKLab | oklab(60.6% 0.22 -0.0841) |
| OKLCH | oklch(60.6% 0.236 339.1) |
| XYZ | xyz(35.8286, 18.9726, 42.3243) |
| Luminance | 0.1897 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.07
Pinky Purple
#C94CBE
ΔE00 4.73
Hot Magenta
#F504C9
ΔE00 6.04
Purpleish Pink
#DF4EC8
ΔE00 6.81
Fuchsia (survey)
#ED0DD9
ΔE00 6.85
Purple Pink
#D725DE
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D42DAF #2DD452
analogous
#A52DD4 #D42DAF #D42D5C
triadic
#D42DAF #AFD42D #2DAFD4
tetradic
#D42DAF #D4A52D #2DD452 #2D5CD4
square
#D42DAF #D4A52D #2DD452 #2D5CD4
split-complementary
#D42DAF #5CD42D #2DD4A5
monochromatic
#70175C #A32186 #D42DAF #DE60C2 #E993D6
Accessibility & contrast
On white
4.38
#D42DAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#D42DAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D42DAF
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D42DAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D42DAF | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#7182AB
Tritanopia (blue-blind)
#E0356D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #d42daf; /* rgb */ color: rgb(212, 45, 175); /* oklch */ color: oklch(60.6% 0.235 339.1);
Tailwind
colors: {
custom: {
50: '#e679c7',
500: '#d42daf',
950: '#000000',
},
}SCSS
$custom: #d42daf; $custom-light: #e679c7; $custom-dark: #000000;
JSON
{
"hex": "#d42daf",
"rgb": {
"r": 212,
"g": 45,
"b": 175
},
"hsl": {
"h": 313.293,
"s": 66.008,
"l": 50.392
},
"oklch": {
"l": 0.60596,
"c": 0.2355,
"h": 339.1
},
"luminance": 0.18969
}Semantic roles & 50–950 ramp
primary
#D42DAF
secondary
#89D49A
accent
#E9653F
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170A13
muted
#857C82