#DB42B3#DB42B3
#DB42B3 is a light, highly saturated pink. Relative luminance 0.222; OKLCH L 63.5% C 0.221 H 340.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #DB42B3 |
|---|---|
| RGB | rgb(219, 66, 179) |
| HSL | hsl(316, 68%, 56%) |
| HSV | hsv(316, 70%, 86%) |
| CMYK | cmyk(0%, 69.9%, 18.3%, 14.1%) |
| CIE-LAB | lab(54.25, 69.67, -27.69) |
| CIE-LCH | lch(54.25, 74.97, 338.33°) |
| OKLab | oklab(63.48% 0.2076 -0.0747) |
| OKLCH | oklch(63.48% 0.221 340.2) |
| XYZ | xyz(39.2994, 22.2149, 44.8573) |
| Luminance | 0.2221 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.96
Pinky Purple
#C94CBE
ΔE00 4.22
Purplish Pink
#CE5DAE
ΔE00 4.43
Hot Magenta
#F504C9
ΔE00 4.79
Purpley Pink
#C83CB9
ΔE00 5.00
Bright Pink
#FE01B1
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB42B3 #42DB6A
analogous
#B642DB #DB42B3 #DB4266
triadic
#DB42B3 #B3DB42 #42B3DB
tetradic
#DB42B3 #DBB642 #42DB6A #4266DB
square
#DB42B3 #DBB642 #42DB6A #4266DB
split-complementary
#DB42B3 #66DB42 #42DBB6
monochromatic
#891A6C #BC2494 #DB42B3 #E575C8 #EFA9DC
Accessibility & contrast
On white
3.86
#DB42B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#DB42B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DB42B3
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB42B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB42B3 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C72B6
Deuteranopia (green-blind)
#7D8BAF
Tritanopia (blue-blind)
#E84675
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #db42b3; /* rgb */ color: rgb(219, 66, 179); /* oklch */ color: oklch(63.5% 0.221 340.2);
Tailwind
colors: {
custom: {
50: '#ea83ca',
500: '#db42b3',
950: '#000000',
},
}SCSS
$custom: #db42b3; $custom-light: #ea83ca; $custom-dark: #000000;
JSON
{
"hex": "#db42b3",
"rgb": {
"r": 219,
"g": 66,
"b": 179
},
"hsl": {
"h": 315.686,
"s": 68,
"l": 55.882
},
"oklch": {
"l": 0.63478,
"c": 0.22065,
"h": 340.2
},
"luminance": 0.22211
}Semantic roles & 50–950 ramp
primary
#DB42B3
secondary
#9DDCAD
accent
#EB6A3D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82