#DF42B3#DF42B3
#DF42B3 is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 64.1% C 0.223 H 341.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #DF42B3 |
|---|---|
| RGB | rgb(223, 66, 179) |
| HSL | hsl(317, 71%, 57%) |
| HSV | hsv(317, 70%, 87%) |
| CMYK | cmyk(0%, 70.4%, 19.7%, 12.5%) |
| CIE-LAB | lab(54.91, 70.66, -26.62) |
| CIE-LCH | lch(54.91, 75.50, 339.35°) |
| OKLab | oklab(64.08% 0.2114 -0.0716) |
| OKLCH | oklch(64.08% 0.223 341.3) |
| XYZ | xyz(40.5175, 22.8431, 44.9144) |
| Luminance | 0.2284 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.92
Purplish Pink
#CE5DAE
ΔE00 4.39
Hot Magenta
#F504C9
ΔE00 4.63
Bright Pink
#FE01B1
ΔE00 4.84
Pinky Purple
#C94CBE
ΔE00 4.90
Purpley Pink
#C83CB9
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF42B3 #42DF6E
analogous
#BC42DF #DF42B3 #DF4265
triadic
#DF42B3 #B3DF42 #42B3DF
tetradic
#DF42B3 #DFBC42 #42DF6E #4265DF
square
#DF42B3 #DFBC42 #42DF6E #4265DF
split-complementary
#DF42B3 #65DF42 #42DFBC
monochromatic
#8E186D #C32195 #DF42B3 #E876C8 #F1ABDD
Accessibility & contrast
On white
3.77
#DF42B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#DF42B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DF42B3
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF42B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF42B3 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F73B6
Deuteranopia (green-blind)
#808DAF
Tritanopia (blue-blind)
#EC4575
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #df42b3; /* rgb */ color: rgb(223, 66, 179); /* oklch */ color: oklch(64.1% 0.223 341.3);
Tailwind
colors: {
custom: {
50: '#ed83ca',
500: '#df42b3',
950: '#000000',
},
}SCSS
$custom: #df42b3; $custom-light: #ed83ca; $custom-dark: #000000;
JSON
{
"hex": "#df42b3",
"rgb": {
"r": 223,
"g": 66,
"b": 179
},
"hsl": {
"h": 316.815,
"s": 71.041,
"l": 56.667
},
"oklch": {
"l": 0.64079,
"c": 0.22318,
"h": 341.3
},
"luminance": 0.22839
}Semantic roles & 50–950 ramp
primary
#DF42B3
secondary
#9EDFB0
accent
#EE6C3A
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82