#DB5170#DB5170
#DB5170 is a light, vivid red. Relative luminance 0.221; OKLCH L 62.7% C 0.173 H 10.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #DB5170 |
|---|---|
| RGB | rgb(219, 81, 112) |
| HSL | hsl(347, 66%, 59%) |
| HSV | hsv(347, 63%, 86%) |
| CMYK | cmyk(0%, 63%, 48.9%, 14.1%) |
| CIE-LAB | lab(54.15, 56.28, 11.70) |
| CIE-LCH | lch(54.15, 57.49, 11.75°) |
| OKLab | oklab(62.68% 0.1708 0.0301) |
| OKLCH | oklch(62.68% 0.173 10) |
| XYZ | xyz(35.0833, 22.1191, 17.7480) |
| Luminance | 0.2212 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose (survey)
#CF6275
ΔE00 3.66
Blush
#DE5D83
ΔE00 4.41
Cherry
#DE3163
ΔE00 4.87
Deep Rose
#C74767
ΔE00 5.22
Pinkish
#D46A7E
ΔE00 5.26
Darkish Pink
#DA467D
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB5170 #51DBBC
analogous
#DB51B5 #DB5170 #DB7751
triadic
#DB5170 #70DB51 #5170DB
tetradic
#DB5170 #B5DB51 #51DBBC #7751DB
square
#DB5170 #B5DB51 #51DBBC #7751DB
split-complementary
#DB5170 #51DB77 #51B5DB
monochromatic
#931E39 #C6294C #DB5170 #E5849A #F0B6C3
Accessibility & contrast
On white
3.87
#DB5170 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#DB5170 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DB5170
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB5170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB5170 | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#707071
Deuteranopia (green-blind)
#948C6D
Tritanopia (blue-blind)
#EE3C5D
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #db5170; /* rgb */ color: rgb(219, 81, 112); /* oklch */ color: oklch(62.7% 0.173 10.0);
Tailwind
colors: {
custom: {
50: '#ec8998',
500: '#db5170',
950: '#000000',
},
}SCSS
$custom: #db5170; $custom-light: #ec8998; $custom-dark: #000000;
JSON
{
"hex": "#db5170",
"rgb": {
"r": 219,
"g": 81,
"b": 112
},
"hsl": {
"h": 346.522,
"s": 65.714,
"l": 58.824
},
"oklch": {
"l": 0.62683,
"c": 0.17338,
"h": 10
},
"luminance": 0.22115
}Semantic roles & 50–950 ramp
primary
#DB5170
secondary
#A9DFD3
accent
#E9C33F
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0D
muted
#857D7E