#DC337A#DC337A
#DC337A is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.2% C 0.210 H 0.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #DC337A |
|---|---|
| RGB | rgb(220, 51, 122) |
| HSL | hsl(335, 71%, 53%) |
| HSV | hsv(335, 77%, 86%) |
| CMYK | cmyk(0%, 76.8%, 44.5%, 13.7%) |
| CIE-LAB | lab(50.68, 68.27, 0.76) |
| CIE-LCH | lch(50.68, 68.28, 0.64°) |
| OKLab | oklab(60.23% 0.2097 0.0027) |
| OKLCH | oklch(60.23% 0.21 0.7) |
| XYZ | xyz(34.2146, 18.9930, 20.2729) |
| Luminance | 0.1899 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.67
Dark Pink
#CB416B
ΔE00 4.51
Dark Hot Pink
#D90166
ΔE00 5.00
Cerise
#DE0C62
ΔE00 5.43
Rose
#FF007F
ΔE00 5.66
Strong Pink
#FF0789
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC337A #33DC95
analogous
#DC33CE #DC337A #DC4033
triadic
#DC337A #7ADC33 #337ADC
tetradic
#DC337A #CEDC33 #33DC95 #4033DC
square
#DC337A #CEDC33 #33DC95 #4033DC
split-complementary
#DC337A #33DC40 #33CEDC
monochromatic
#7F1642 #B31F5D #DC337A #E5679C #EE9BBE
Accessibility & contrast
On white
4.38
#DC337A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#DC337A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DC337A
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC337A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC337A | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B647C
Deuteranopia (green-blind)
#888476
Tritanopia (blue-blind)
#EF0B52
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #dc337a; /* rgb */ color: rgb(220, 51, 122); /* oklch */ color: oklch(60.2% 0.210 0.7);
Tailwind
colors: {
custom: {
50: '#ed7ba0',
500: '#dc337a',
950: '#000000',
},
}SCSS
$custom: #dc337a; $custom-light: #ed7ba0; $custom-dark: #000000;
JSON
{
"hex": "#dc337a",
"rgb": {
"r": 220,
"g": 51,
"b": 122
},
"hsl": {
"h": 334.793,
"s": 70.711,
"l": 53.137
},
"oklch": {
"l": 0.60229,
"c": 0.20969,
"h": 0.7
},
"luminance": 0.18988
}Semantic roles & 50–950 ramp
primary
#DC337A
secondary
#91DABB
accent
#EDA23A
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0E
muted
#857C7E