#DC42B6#DC42B6
#DC42B6 is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.8% C 0.223 H 339.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #DC42B6 |
|---|---|
| RGB | rgb(220, 66, 182) |
| HSL | hsl(315, 69%, 56%) |
| HSV | hsv(315, 70%, 86%) |
| CMYK | cmyk(0%, 70%, 17.3%, 13.7%) |
| CIE-LAB | lab(54.55, 70.33, -28.97) |
| CIE-LCH | lch(54.55, 76.06, 337.61°) |
| OKLab | oklab(63.76% 0.209 -0.0782) |
| OKLCH | oklch(63.76% 0.223 339.5) |
| XYZ | xyz(39.9079, 22.4933, 46.4868) |
| Luminance | 0.2249 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.49
Pinky Purple
#C94CBE
ΔE00 4.01
Hot Magenta
#F504C9
ΔE00 4.44
Purplish Pink
#CE5DAE
ΔE00 4.56
Purpley Pink
#C83CB9
ΔE00 4.95
Bright Pink
#FE01B1
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC42B6 #42DC68
analogous
#B542DC #DC42B6 #DC4269
triadic
#DC42B6 #B6DC42 #42B6DC
tetradic
#DC42B6 #DCB542 #42DC68 #4269DC
square
#DC42B6 #DCB542 #42DC68 #4269DC
split-complementary
#DC42B6 #69DC42 #42DCB5
monochromatic
#8A1A6E #BE2398 #DC42B6 #E676CA #EFA9DE
Accessibility & contrast
On white
3.82
#DC42B6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#DC42B6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DC42B6
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC42B6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC42B6 | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B73B9
Deuteranopia (green-blind)
#7C8BB2
Tritanopia (blue-blind)
#E84777
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #dc42b6; /* rgb */ color: rgb(220, 66, 182); /* oklch */ color: oklch(63.8% 0.223 339.5);
Tailwind
colors: {
custom: {
50: '#eb83cc',
500: '#dc42b6',
950: '#000000',
},
}SCSS
$custom: #dc42b6; $custom-light: #eb83cc; $custom-dark: #000000;
JSON
{
"hex": "#dc42b6",
"rgb": {
"r": 220,
"g": 66,
"b": 182
},
"hsl": {
"h": 314.805,
"s": 68.75,
"l": 56.078
},
"oklch": {
"l": 0.63763,
"c": 0.2232,
"h": 339.5
},
"luminance": 0.22489
}Semantic roles & 50–950 ramp
primary
#DC42B6
secondary
#9DDDAD
accent
#EC673C
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82