#DC2DAF#DC2DAF
#DC2DAF is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.9% C 0.240 H 341.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #DC2DAF |
|---|---|
| RGB | rgb(220, 45, 175) |
| HSL | hsl(315, 71%, 52%) |
| HSV | hsv(315, 80%, 86%) |
| CMYK | cmyk(0%, 79.5%, 20.5%, 13.7%) |
| CIE-LAB | lab(52.05, 75.63, -28.76) |
| CIE-LCH | lch(52.05, 80.91, 339.18°) |
| OKLab | oklab(61.86% 0.227 -0.0775) |
| OKLCH | oklch(61.86% 0.24 341.1) |
| XYZ | xyz(38.1927, 20.1916, 42.4351) |
| Luminance | 0.2019 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.32
Hot Magenta
#F504C9
ΔE00 4.95
Pinky Purple
#C94CBE
ΔE00 5.09
Bright Pink
#FE01B1
ΔE00 5.74
Purpleish Pink
#DF4EC8
ΔE00 5.98
Fuchsia (survey)
#ED0DD9
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC2DAF #2DDC5A
analogous
#B22DDC #DC2DAF #DC2D57
triadic
#DC2DAF #AFDC2D #2DAFDC
tetradic
#DC2DAF #DCB22D #2DDC5A #2D57DC
square
#DC2DAF #DCB22D #2DDC5A #2D57DC
split-complementary
#DC2DAF #57DC2D #2DDCB2
monochromatic
#7A1460 #AF1D89 #DC2DAF #E561C3 #ED96D7
Accessibility & contrast
On white
4.17
#DC2DAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#DC2DAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DC2DAF
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC2DAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC2DAF | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#7886AB
Tritanopia (blue-blind)
#EA326D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #dc2daf; /* rgb */ color: rgb(220, 45, 175); /* oklch */ color: oklch(61.9% 0.240 341.1);
Tailwind
colors: {
custom: {
50: '#ec7ac7',
500: '#dc2daf',
950: '#000000',
},
}SCSS
$custom: #dc2daf; $custom-light: #ec7ac7; $custom-dark: #000000;
JSON
{
"hex": "#dc2daf",
"rgb": {
"r": 220,
"g": 45,
"b": 175
},
"hsl": {
"h": 315.429,
"s": 71.429,
"l": 51.961
},
"oklch": {
"l": 0.61861,
"c": 0.23987,
"h": 341.1
},
"luminance": 0.20188
}Semantic roles & 50–950 ramp
primary
#DC2DAF
secondary
#8CD9A0
accent
#EE683A
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B13
muted
#857C82