#DC51B2#DC51B2
#DC51B2 is a light, highly saturated pink. Relative luminance 0.243; OKLCH L 65.1% C 0.202 H 341.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #DC51B2 |
|---|---|
| RGB | rgb(220, 81, 178) |
| HSL | hsl(318, 67%, 59%) |
| HSV | hsv(318, 63%, 86%) |
| CMYK | cmyk(0%, 63.2%, 19.1%, 13.7%) |
| CIE-LAB | lab(56.41, 64.14, -23.78) |
| CIE-LCH | lch(56.41, 68.41, 339.66°) |
| OKLab | oklab(65.07% 0.1913 -0.0637) |
| OKLCH | oklch(65.07% 0.202 341.6) |
| XYZ | xyz(40.4946, 24.3186, 44.6721) |
| Luminance | 0.2432 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.68
Purpleish Pink
#DF4EC8
ΔE00 3.98
Pale Magenta
#D767AD
ΔE00 4.52
Pinky Purple
#C94CBE
ΔE00 5.61
Bright Pink
#FE01B1
ΔE00 5.83
Hot Magenta
#F504C9
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC51B2 #51DC7B
analogous
#C051DC #DC51B2 #DC516D
triadic
#DC51B2 #B2DC51 #51B2DC
tetradic
#DC51B2 #DCC051 #51DC7B #516DDC
square
#DC51B2 #DCC051 #51DC7B #516DDC
split-complementary
#DC51B2 #6DDC51 #51DCC0
monochromatic
#951E71 #C82897 #DC51B2 #E684C9 #F0B7DF
Accessibility & contrast
On white
3.58
#DC51B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#DC51B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DC51B2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC51B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC51B2 | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B79B5
Deuteranopia (green-blind)
#8490AF
Tritanopia (blue-blind)
#E9537A
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #dc51b2; /* rgb */ color: rgb(220, 81, 178); /* oklch */ color: oklch(65.1% 0.202 341.6);
Tailwind
colors: {
custom: {
50: '#ea8ac9',
500: '#dc51b2',
950: '#000000',
},
}SCSS
$custom: #dc51b2; $custom-light: #ea8ac9; $custom-dark: #000000;
JSON
{
"hex": "#dc51b2",
"rgb": {
"r": 220,
"g": 81,
"b": 178
},
"hsl": {
"h": 318.129,
"s": 66.507,
"l": 59.02
},
"oklch": {
"l": 0.65066,
"c": 0.20167,
"h": 341.6
},
"luminance": 0.24315
}Semantic roles & 50–950 ramp
primary
#DC51B2
secondary
#A9E0BA
accent
#E9723E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82