#DC337B#DC337B
#DC337B is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.3% C 0.210 H 0.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #DC337B |
|---|---|
| RGB | rgb(220, 51, 123) |
| HSL | hsl(334, 71%, 53%) |
| HSV | hsv(334, 77%, 86%) |
| CMYK | cmyk(0%, 76.8%, 44.1%, 13.7%) |
| CIE-LAB | lab(50.71, 68.36, 0.20) |
| CIE-LCH | lch(50.71, 68.36, 0.17°) |
| OKLab | oklab(60.26% 0.21 0.0013) |
| OKLCH | oklch(60.26% 0.21 0.3) |
| XYZ | xyz(34.2769, 19.0179, 20.6009) |
| Luminance | 0.1901 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.72
Dark Pink
#CB416B
ΔE00 4.70
Dark Hot Pink
#D90166
ΔE00 5.14
Cerise
#DE0C62
ΔE00 5.64
Rose
#FF007F
ΔE00 5.69
Strong Pink
#FF0789
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC337B #33DC94
analogous
#DC33CF #DC337B #DC3F33
triadic
#DC337B #7BDC33 #337BDC
tetradic
#DC337B #CFDC33 #33DC94 #3F33DC
square
#DC337B #CFDC33 #33DC94 #3F33DC
split-complementary
#DC337B #33DC3F #33CFDC
monochromatic
#7F1643 #B31F5E #DC337B #E5679D #EE9BBF
Accessibility & contrast
On white
4.37
#DC337B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#DC337B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DC337B
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC337B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC337B | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 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)
#5A647D
Deuteranopia (green-blind)
#888477
Tritanopia (blue-blind)
#EF0D53
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #dc337b; /* rgb */ color: rgb(220, 51, 123); /* oklch */ color: oklch(60.3% 0.210 0.3);
Tailwind
colors: {
custom: {
50: '#ed7ba1',
500: '#dc337b',
950: '#000000',
},
}SCSS
$custom: #dc337b; $custom-light: #ed7ba1; $custom-dark: #000000;
JSON
{
"hex": "#dc337b",
"rgb": {
"r": 220,
"g": 51,
"b": 123
},
"hsl": {
"h": 334.438,
"s": 70.711,
"l": 53.137
},
"oklch": {
"l": 0.6026,
"c": 0.20999,
"h": 0.3
},
"luminance": 0.19013
}Semantic roles & 50–950 ramp
primary
#DC337B
secondary
#91DABB
accent
#EDA13A
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0E
muted
#857C7E