#DB4778#DB4778
#DB4778 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.187 H 4.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #DB4778 |
|---|---|
| RGB | rgb(219, 71, 120) |
| HSL | hsl(340, 67%, 57%) |
| HSV | hsv(340, 68%, 86%) |
| CMYK | cmyk(0%, 67.6%, 45.2%, 14.1%) |
| CIE-LAB | lab(52.87, 61.05, 5.11) |
| CIE-LCH | lch(52.87, 61.26, 4.78°) |
| OKLab | oklab(61.79% 0.1865 0.0138) |
| OKLCH | oklch(61.79% 0.187 4.2) |
| XYZ | xyz(34.8595, 20.9270, 19.9693) |
| Luminance | 0.2092 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 1.53
Dark Pink
#CB416B
ΔE00 4.17
Blush
#DE5D83
ΔE00 4.47
Cherry
#DE3163
ΔE00 4.96
Deep Rose
#C74767
ΔE00 5.02
Rose
#FF007F
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB4778 #47DBAA
analogous
#DB47C2 #DB4778 #DB6047
triadic
#DB4778 #78DB47 #4778DB
tetradic
#DB4778 #C2DB47 #47DBAA #6047DB
square
#DB4778 #C2DB47 #47DBAA #6047DB
split-complementary
#DB4778 #47DB60 #47C2DB
monochromatic
#8C1B41 #BF2558 #DB4778 #E57A9E #EFADC3
Accessibility & contrast
On white
4.05
#DB4778 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#DB4778 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DB4778
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB4778 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB4778 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#676C79
Deuteranopia (green-blind)
#8E8975
Tritanopia (blue-blind)
#EE315B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #db4778; /* rgb */ color: rgb(219, 71, 120); /* oklch */ color: oklch(61.8% 0.187 4.2);
Tailwind
colors: {
custom: {
50: '#ec849e',
500: '#db4778',
950: '#000000',
},
}SCSS
$custom: #db4778; $custom-light: #ec849e; $custom-dark: #000000;
JSON
{
"hex": "#db4778",
"rgb": {
"r": 219,
"g": 71,
"b": 120
},
"hsl": {
"h": 340.135,
"s": 67.273,
"l": 56.863
},
"oklch": {
"l": 0.61794,
"c": 0.18704,
"h": 4.2
},
"luminance": 0.20923
}Semantic roles & 50–950 ramp
primary
#DB4778
secondary
#A1DDC9
accent
#EAB13E
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E