#DC51B3#DC51B3
#DC51B3 is a light, highly saturated pink. Relative luminance 0.244; OKLCH L 65.1% C 0.202 H 341.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #DC51B3 |
|---|---|
| RGB | rgb(220, 81, 179) |
| HSL | hsl(318, 67%, 59%) |
| HSV | hsv(318, 63%, 86%) |
| CMYK | cmyk(0%, 63.2%, 18.6%, 13.7%) |
| CIE-LAB | lab(56.45, 64.28, -24.29) |
| CIE-LCH | lch(56.45, 68.72, 339.30°) |
| OKLab | oklab(65.11% 0.1915 -0.0652) |
| OKLCH | oklch(65.11% 0.202 341.2) |
| XYZ | xyz(40.5953, 24.3589, 45.2028) |
| Luminance | 0.2435 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.70
Purpleish Pink
#DF4EC8
ΔE00 3.78
Pale Magenta
#D767AD
ΔE00 4.61
Pinky Purple
#C94CBE
ΔE00 5.47
Bright Pink
#FE01B1
ΔE00 5.87
Hot Magenta
#F504C9
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC51B3 #51DC7A
analogous
#C051DC #DC51B3 #DC516E
triadic
#DC51B3 #B3DC51 #51B3DC
tetradic
#DC51B3 #DCC051 #51DC7A #516EDC
square
#DC51B3 #DCC051 #51DC7A #516EDC
split-complementary
#DC51B3 #6EDC51 #51DCC0
monochromatic
#951E72 #C82899 #DC51B3 #E684C9 #F0B7E0
Accessibility & contrast
On white
3.58
#DC51B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#DC51B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DC51B3
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC51B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC51B3 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A79B6
Deuteranopia (green-blind)
#8490B0
Tritanopia (blue-blind)
#E9537B
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #dc51b3; /* rgb */ color: rgb(220, 81, 179); /* oklch */ color: oklch(65.1% 0.202 341.2);
Tailwind
colors: {
custom: {
50: '#ea8aca',
500: '#dc51b3',
950: '#000000',
},
}SCSS
$custom: #dc51b3; $custom-light: #ea8aca; $custom-dark: #000000;
JSON
{
"hex": "#dc51b3",
"rgb": {
"r": 220,
"g": 81,
"b": 179
},
"hsl": {
"h": 317.698,
"s": 66.507,
"l": 59.02
},
"oklch": {
"l": 0.65108,
"c": 0.20231,
"h": 341.2
},
"luminance": 0.24355
}Semantic roles & 50–950 ramp
primary
#DC51B3
secondary
#A9E0B9
accent
#E9713E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82