#DC2FAF#DC2FAF
#DC2FAF is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 62.0% C 0.238 H 341.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #DC2FAF |
|---|---|
| RGB | rgb(220, 47, 175) |
| HSL | hsl(316, 71%, 52%) |
| HSV | hsv(316, 79%, 86%) |
| CMYK | cmyk(0%, 78.6%, 20.5%, 13.7%) |
| CIE-LAB | lab(52.23, 75.13, -28.48) |
| CIE-LCH | lch(52.23, 80.35, 339.24°) |
| OKLab | oklab(61.99% 0.2255 -0.0768) |
| OKLCH | oklch(61.99% 0.238 341.2) |
| XYZ | xyz(38.2709, 20.3478, 42.4612) |
| Luminance | 0.2034 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.38
Hot Magenta
#F504C9
ΔE00 4.92
Pinky Purple
#C94CBE
ΔE00 5.03
Bright Pink
#FE01B1
ΔE00 5.64
Purpleish Pink
#DF4EC8
ΔE00 5.83
Purplish Pink
#CE5DAE
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC2FAF #2FDC5C
analogous
#B32FDC #DC2FAF #DC2F59
triadic
#DC2FAF #AFDC2F #2FAFDC
tetradic
#DC2FAF #DCB32F #2FDC5C #2F59DC
square
#DC2FAF #DCB32F #2FDC5C #2F59DC
split-complementary
#DC2FAF #59DC2F #2FDCB3
monochromatic
#7C1561 #B01E8A #DC2FAF #E563C3 #EE98D7
Accessibility & contrast
On white
4.14
#DC2FAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#DC2FAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DC2FAF
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC2FAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC2FAF | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#7986AB
Tritanopia (blue-blind)
#EA336D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #dc2faf; /* rgb */ color: rgb(220, 47, 175); /* oklch */ color: oklch(62.0% 0.238 341.2);
Tailwind
colors: {
custom: {
50: '#ec7bc7',
500: '#dc2faf',
950: '#000000',
},
}SCSS
$custom: #dc2faf; $custom-light: #ec7bc7; $custom-dark: #000000;
JSON
{
"hex": "#dc2faf",
"rgb": {
"r": 220,
"g": 47,
"b": 175
},
"hsl": {
"h": 315.607,
"s": 71.193,
"l": 52.353
},
"oklch": {
"l": 0.61987,
"c": 0.23817,
"h": 341.2
},
"luminance": 0.20344
}Semantic roles & 50–950 ramp
primary
#DC2FAF
secondary
#8ED9A1
accent
#EE693A
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B13
muted
#857C82