#DB315F#DB315F
#DB315F is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.2% C 0.205 H 11.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #DB315F |
|---|---|
| RGB | rgb(219, 49, 95) |
| HSL | hsl(344, 70%, 53%) |
| HSV | hsv(344, 78%, 86%) |
| CMYK | cmyk(0%, 77.6%, 56.6%, 14.1%) |
| CIE-LAB | lab(49.60, 66.44, 15.62) |
| CIE-LCH | lch(49.60, 68.25, 13.23°) |
| OKLab | oklab(59.18% 0.2012 0.0391) |
| OKLCH | oklch(59.18% 0.205 11) |
| XYZ | xyz(32.3805, 18.0876, 12.6105) |
| Luminance | 0.1808 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cherry
#DE3163
ΔE00 1.03
Raspberry
#E30B5C
ΔE00 2.28
Cerise
#DE0C62
ΔE00 3.48
Deep Rose
#C74767
ΔE00 4.15
Lipstick
#D5174E
ΔE00 4.22
Dark Pink
#CB416B
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB315F #31DBAD
analogous
#DB31B4 #DB315F #DB5831
triadic
#DB315F #5FDB31 #315FDB
tetradic
#DB315F #B4DB31 #31DBAD #5831DB
square
#DB315F #B4DB31 #31DBAD #5831DB
split-complementary
#DB315F #31DB58 #31B4DB
monochromatic
#7C1631 #B01F46 #DB315F #E46587 #ED99B0
Accessibility & contrast
On white
4.55
#DB315F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#DB315F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DB315F
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB315F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB315F | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606060
Deuteranopia (green-blind)
#8C825B
Tritanopia (blue-blind)
#EF0045
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #db315f; /* rgb */ color: rgb(219, 49, 95); /* oklch */ color: oklch(59.2% 0.205 11.0);
Tailwind
colors: {
custom: {
50: '#ee798c',
500: '#db315f',
950: '#000000',
},
}SCSS
$custom: #db315f; $custom-light: #ee798c; $custom-dark: #000000;
JSON
{
"hex": "#db315f",
"rgb": {
"r": 219,
"g": 49,
"b": 95
},
"hsl": {
"h": 343.765,
"s": 70.248,
"l": 52.549
},
"oklch": {
"l": 0.59179,
"c": 0.20492,
"h": 11
},
"luminance": 0.18083
}Semantic roles & 50–950 ramp
primary
#DB315F
secondary
#8FD9C5
accent
#EDBD3B
background
#FFF7F8
surface
#FFEEF0
border
#D7C9CB
text
#180A0C
muted
#867C7D