#DB317B#DB317B
#DB317B is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 59.9% C 0.211 H 359.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #DB317B |
|---|---|
| RGB | rgb(219, 49, 123) |
| HSL | hsl(334, 70%, 53%) |
| HSV | hsv(334, 78%, 86%) |
| CMYK | cmyk(0%, 77.6%, 43.8%, 14.1%) |
| CIE-LAB | lab(50.32, 68.67, -0.39) |
| CIE-LCH | lch(50.32, 68.67, 359.68°) |
| OKLab | oklab(59.95% 0.211 -0.0002) |
| OKLCH | oklch(59.95% 0.211 359.9) |
| XYZ | xyz(33.8896, 18.6913, 20.5583) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.13
Dark Pink
#CB416B
ΔE00 4.79
Dark Hot Pink
#D90166
ΔE00 4.97
Cerise
#DE0C62
ΔE00 5.65
Rose
#FF007F
ΔE00 6.01
Strong Pink
#FF0789
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB317B #31DB91
analogous
#DB31D0 #DB317B #DB3C31
triadic
#DB317B #7BDB31 #317BDB
tetradic
#DB317B #D0DB31 #31DB91 #3C31DB
square
#DB317B #D0DB31 #31DB91 #3C31DB
split-complementary
#DB317B #31DB3C #31D0DB
monochromatic
#7C1642 #B01F5E #DB317B #E4659C #ED99BE
Accessibility & contrast
On white
4.43
#DB317B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#DB317B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DB317B
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB317B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB317B | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59637D
Deuteranopia (green-blind)
#878377
Tritanopia (blue-blind)
#EE0852
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #db317b; /* rgb */ color: rgb(219, 49, 123); /* oklch */ color: oklch(59.9% 0.211 359.9);
Tailwind
colors: {
custom: {
50: '#ec7aa1',
500: '#db317b',
950: '#000000',
},
}SCSS
$custom: #db317b; $custom-light: #ec7aa1; $custom-dark: #000000;
JSON
{
"hex": "#db317b",
"rgb": {
"r": 219,
"g": 49,
"b": 123
},
"hsl": {
"h": 333.882,
"s": 70.248,
"l": 52.549
},
"oklch": {
"l": 0.59945,
"c": 0.21104,
"h": 359.9
},
"luminance": 0.18687
}Semantic roles & 50–950 ramp
primary
#DB317B
secondary
#8FD9B9
accent
#ED9F3B
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170A0E
muted
#857C7E