#DB3178#DB3178
#DB3178 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.9% C 0.210 H 1.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #DB3178 |
|---|---|
| RGB | rgb(219, 49, 120) |
| HSL | hsl(335, 70%, 53%) |
| HSV | hsv(335, 78%, 86%) |
| CMYK | cmyk(0%, 77.6%, 45.2%, 14.1%) |
| CIE-LAB | lab(50.24, 68.40, 1.30) |
| CIE-LCH | lch(50.24, 68.42, 1.09°) |
| OKLab | oklab(59.85% 0.2101 0.0041) |
| OKLCH | oklch(59.85% 0.21 1.1) |
| XYZ | xyz(33.7046, 18.6173, 19.5843) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.01
Dark Pink
#CB416B
ΔE00 4.23
Dark Hot Pink
#D90166
ΔE00 4.51
Cerise
#DE0C62
ΔE00 5.01
Cherry
#DE3163
ΔE00 5.74
Rose
#FF007F
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB3178 #31DB94
analogous
#DB31CD #DB3178 #DB3F31
triadic
#DB3178 #78DB31 #3178DB
tetradic
#DB3178 #CDDB31 #31DB94 #3F31DB
square
#DB3178 #CDDB31 #31DB94 #3F31DB
split-complementary
#DB3178 #31DB3F #31CDDB
monochromatic
#7C1640 #B01F5B #DB3178 #E4659A #ED99BC
Accessibility & contrast
On white
4.45
#DB3178 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#DB3178 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DB3178
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB3178 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB3178 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A637A
Deuteranopia (green-blind)
#878374
Tritanopia (blue-blind)
#EE0351
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #db3178; /* rgb */ color: rgb(219, 49, 120); /* oklch */ color: oklch(59.9% 0.210 1.1);
Tailwind
colors: {
custom: {
50: '#ec7a9e',
500: '#db3178',
950: '#000000',
},
}SCSS
$custom: #db3178; $custom-light: #ec7a9e; $custom-dark: #000000;
JSON
{
"hex": "#db3178",
"rgb": {
"r": 219,
"g": 49,
"b": 120
},
"hsl": {
"h": 334.941,
"s": 70.248,
"l": 52.549
},
"oklch": {
"l": 0.59852,
"c": 0.21011,
"h": 1.1
},
"luminance": 0.18613
}Semantic roles & 50–950 ramp
primary
#DB3178
secondary
#8FD9BA
accent
#EDA33B
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170A0E
muted
#857C7E