#DB5271#DB5271
#DB5271 is a light, vivid red. Relative luminance 0.223; OKLCH L 62.8% C 0.172 H 9.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #DB5271 |
|---|---|
| RGB | rgb(219, 82, 113) |
| HSL | hsl(346, 66%, 59%) |
| HSV | hsv(346, 63%, 86%) |
| CMYK | cmyk(0%, 62.6%, 48.4%, 14.1%) |
| CIE-LAB | lab(54.33, 55.94, 11.36) |
| CIE-LCH | lch(54.33, 57.09, 11.48°) |
| OKLab | oklab(62.83% 0.1698 0.0293) |
| OKLCH | oklch(62.83% 0.172 9.8) |
| XYZ | xyz(35.2141, 22.2913, 18.0678) |
| Luminance | 0.2229 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose (survey)
#CF6275
ΔE00 3.52
Blush
#DE5D83
ΔE00 4.18
Pinkish
#D46A7E
ΔE00 5.06
Cherry
#DE3163
ΔE00 5.08
Darkish Pink
#DA467D
ΔE00 5.27
Deep Rose
#C74767
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB5271 #52DBBC
analogous
#DB52B6 #DB5271 #DB7852
triadic
#DB5271 #71DB52 #5271DB
tetradic
#DB5271 #B6DB52 #52DBBC #7852DB
square
#DB5271 #B6DB52 #52DBBC #7852DB
split-complementary
#DB5271 #52DB78 #52B6DB
monochromatic
#941F39 #C6294D #DB5271 #E6859B #F0B7C4
Accessibility & contrast
On white
3.85
#DB5271 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#DB5271 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DB5271
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB5271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB5271 | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#707172
Deuteranopia (green-blind)
#948C6E
Tritanopia (blue-blind)
#EE3D5E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #db5271; /* rgb */ color: rgb(219, 82, 113); /* oklch */ color: oklch(62.8% 0.172 9.8);
Tailwind
colors: {
custom: {
50: '#eb8999',
500: '#db5271',
950: '#000000',
},
}SCSS
$custom: #db5271; $custom-light: #eb8999; $custom-dark: #000000;
JSON
{
"hex": "#db5271",
"rgb": {
"r": 219,
"g": 82,
"b": 113
},
"hsl": {
"h": 346.423,
"s": 65.55,
"l": 59.02
},
"oklch": {
"l": 0.62826,
"c": 0.17229,
"h": 9.8
},
"luminance": 0.22287
}Semantic roles & 50–950 ramp
primary
#DB5271
secondary
#AADFD3
accent
#E9C23F
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0D
muted
#857D7E