#D42CB3#D42CB3
#D42CB3 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.7% C 0.239 H 337.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #D42CB3 |
|---|---|
| RGB | rgb(212, 44, 179) |
| HSL | hsl(312, 66%, 50%) |
| HSV | hsv(312, 79%, 83%) |
| CMYK | cmyk(0%, 79.2%, 15.6%, 16.9%) |
| CIE-LAB | lab(50.75, 74.67, -33.23) |
| CIE-LCH | lch(50.75, 81.73, 336.01°) |
| OKLab | oklab(60.73% 0.2211 -0.0904) |
| OKLCH | oklch(60.73% 0.239 337.8) |
| XYZ | xyz(36.1896, 19.0566, 44.4115) |
| Luminance | 0.1905 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.57
Pinky Purple
#C94CBE
ΔE00 4.39
Hot Magenta
#F504C9
ΔE00 5.80
Fuchsia (survey)
#ED0DD9
ΔE00 6.33
Purpleish Pink
#DF4EC8
ΔE00 6.59
Purple Pink
#D725DE
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D42CB3 #2CD44D
analogous
#A12CD4 #D42CB3 #D42C5F
triadic
#D42CB3 #B3D42C #2CB3D4
tetradic
#D42CB3 #D4A12C #2CD44D #2C5FD4
square
#D42CB3 #D4A12C #2CD44D #2C5FD4
split-complementary
#D42CB3 #5FD42C #2CD4A1
monochromatic
#6F175E #A22189 #D42CB3 #DE5FC5 #E992D8
Accessibility & contrast
On white
4.37
#D42CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#D42CB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D42CB3
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D42CB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D42CB3 | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3469B6
Deuteranopia (green-blind)
#7082AF
Tritanopia (blue-blind)
#E0376F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #d42cb3; /* rgb */ color: rgb(212, 44, 179); /* oklch */ color: oklch(60.7% 0.239 337.8);
Tailwind
colors: {
custom: {
50: '#e679ca',
500: '#d42cb3',
950: '#000000',
},
}SCSS
$custom: #d42cb3; $custom-light: #e679ca; $custom-dark: #000000;
JSON
{
"hex": "#d42cb3",
"rgb": {
"r": 212,
"g": 44,
"b": 179
},
"hsl": {
"h": 311.786,
"s": 66.142,
"l": 50.196
},
"oklch": {
"l": 0.60727,
"c": 0.23886,
"h": 337.8
},
"luminance": 0.19053
}Semantic roles & 50–950 ramp
primary
#D42CB3
secondary
#88D397
accent
#E9603F
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170A13
muted
#857C82