#DB317A#DB317A
#DB317A is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 59.9% C 0.211 H 0.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #DB317A |
|---|---|
| RGB | rgb(219, 49, 122) |
| HSL | hsl(334, 70%, 53%) |
| HSV | hsv(334, 78%, 86%) |
| CMYK | cmyk(0%, 77.6%, 44.3%, 14.1%) |
| CIE-LAB | lab(50.29, 68.58, 0.18) |
| CIE-LCH | lch(50.29, 68.58, 0.15°) |
| OKLab | oklab(59.91% 0.2107 0.0012) |
| OKLCH | oklch(59.91% 0.211 0.3) |
| XYZ | xyz(33.8273, 18.6664, 20.2303) |
| Luminance | 0.1866 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.07
Dark Pink
#CB416B
ΔE00 4.60
Dark Hot Pink
#D90166
ΔE00 4.81
Cerise
#DE0C62
ΔE00 5.44
Rose
#FF007F
ΔE00 5.97
Strong Pink
#FF0789
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB317A #31DB92
analogous
#DB31CF #DB317A #DB3D31
triadic
#DB317A #7ADB31 #317ADB
tetradic
#DB317A #CFDB31 #31DB92 #3D31DB
square
#DB317A #CFDB31 #31DB92 #3D31DB
split-complementary
#DB317A #31DB3D #31CFDB
monochromatic
#7C1642 #B01F5D #DB317A #E4659C #ED99BD
Accessibility & contrast
On white
4.44
#DB317A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#DB317A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DB317A
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB317A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB317A | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59637C
Deuteranopia (green-blind)
#878376
Tritanopia (blue-blind)
#EE0652
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #db317a; /* rgb */ color: rgb(219, 49, 122); /* oklch */ color: oklch(59.9% 0.211 0.3);
Tailwind
colors: {
custom: {
50: '#ec7aa0',
500: '#db317a',
950: '#000000',
},
}SCSS
$custom: #db317a; $custom-light: #ec7aa0; $custom-dark: #000000;
JSON
{
"hex": "#db317a",
"rgb": {
"r": 219,
"g": 49,
"b": 122
},
"hsl": {
"h": 334.235,
"s": 70.248,
"l": 52.549
},
"oklch": {
"l": 0.59914,
"c": 0.21072,
"h": 0.3
},
"luminance": 0.18662
}Semantic roles & 50–950 ramp
primary
#DB317A
secondary
#8FD9B9
accent
#EDA03B
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170A0E
muted
#857C7E