#DB337C#DB337C
#DB337C is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.1% C 0.210 H 359.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #DB337C |
|---|---|
| RGB | rgb(219, 51, 124) |
| HSL | hsl(334, 70%, 53%) |
| HSV | hsv(334, 77%, 86%) |
| CMYK | cmyk(0%, 76.7%, 43.4%, 14.1%) |
| CIE-LAB | lab(50.56, 68.19, -0.65) |
| CIE-LCH | lch(50.56, 68.19, 359.45°) |
| OKLab | oklab(60.12% 0.2095 -0.0009) |
| OKLCH | oklch(60.12% 0.21 359.7) |
| XYZ | xyz(34.0380, 18.8875, 20.9181) |
| Luminance | 0.1888 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.93
Dark Pink
#CB416B
ΔE00 4.88
Dark Hot Pink
#D90166
ΔE00 5.25
Cerise
#DE0C62
ΔE00 5.88
Rose
#FF007F
ΔE00 5.94
Strong Pink
#FF0789
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB337C #33DB92
analogous
#DB33D0 #DB337C #DB3E33
triadic
#DB337C #7CDB33 #337CDB
tetradic
#DB337C #D0DB33 #33DB92 #3E33DB
square
#DB337C #D0DB33 #33DB92 #3E33DB
split-complementary
#DB337C #33DB3E #33D0DB
monochromatic
#7D1643 #B11F5F #DB337C #E4679D #ED9BBF
Accessibility & contrast
On white
4.40
#DB337C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#DB337C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DB337C
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB337C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB337C | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A647E
Deuteranopia (green-blind)
#878478
Tritanopia (blue-blind)
#ED1053
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #db337c; /* rgb */ color: rgb(219, 51, 124); /* oklch */ color: oklch(60.1% 0.210 359.7);
Tailwind
colors: {
custom: {
50: '#ec7ba1',
500: '#db337c',
950: '#000000',
},
}SCSS
$custom: #db337c; $custom-light: #ec7ba1; $custom-dark: #000000;
JSON
{
"hex": "#db337c",
"rgb": {
"r": 219,
"g": 51,
"b": 124
},
"hsl": {
"h": 333.929,
"s": 70,
"l": 52.941
},
"oklch": {
"l": 0.60124,
"c": 0.20952,
"h": 359.7
},
"luminance": 0.18883
}Semantic roles & 50–950 ramp
primary
#DB337C
secondary
#91D9BA
accent
#EDA03B
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170A0F
muted
#857C7E