#DC7EA2#DC7EA2
#DC7EA2 is a light, vivid pink. Relative luminance 0.327; OKLCH L 70.5% C 0.123 H 356.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #DC7EA2 |
|---|---|
| RGB | rgb(220, 126, 162) |
| HSL | hsl(337, 57%, 68%) |
| HSV | hsv(337, 43%, 86%) |
| CMYK | cmyk(0%, 42.7%, 26.4%, 13.7%) |
| CIE-LAB | lab(63.96, 40.67, -3.21) |
| CIE-LCH | lch(63.96, 40.80, 355.49°) |
| OKLab | oklab(70.52% 0.1227 -0.0079) |
| OKLCH | oklch(70.52% 0.123 356.3) |
| XYZ | xyz(43.4989, 32.7493, 38.2056) |
| Luminance | 0.3275 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dull Pink
#D5869D
ΔE00 3.52
Palevioletred
#DB7093
ΔE00 3.87
Muted Pink
#D1768F
ΔE00 4.38
Pig Pink
#E78EA5
ΔE00 5.21
Dusky Pink
#CC7A8B
ΔE00 5.98
Pinky
#FC86AA
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC7EA2 #7EDCB8
analogous
#DC7ED1 #DC7EA2 #DC897E
triadic
#DC7EA2 #A2DC7E #7EA2DC
tetradic
#DC7EA2 #D1DC7E #7EDCB8 #897EDC
square
#DC7EA2 #D1DC7E #7EDCB8 #897EDC
split-complementary
#DC7EA2 #7EDC89 #7ED1DC
monochromatic
#B03061 #CF4E7F #DC7EA2 #E9AEC5 #F6DEE7
Accessibility & contrast
On white
2.78
#DC7EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#DC7EA2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC7EA2
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC7EA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC7EA2 | 1.00 | 2.78 | 7.55 | 7.55 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A91A3
Deuteranopia (green-blind)
#A2A1A0
Tritanopia (blue-blind)
#E9798B
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #dc7ea2; /* rgb */ color: rgb(220, 126, 162); /* oklch */ color: oklch(70.5% 0.123 356.3);
Tailwind
colors: {
custom: {
50: '#e9a5bd',
500: '#dc7ea2',
950: '#000000',
},
}SCSS
$custom: #dc7ea2; $custom-light: #e9a5bd; $custom-dark: #000000;
JSON
{
"hex": "#dc7ea2",
"rgb": {
"r": 220,
"g": 126,
"b": 162
},
"hsl": {
"h": 337.021,
"s": 57.317,
"l": 67.843
},
"oklch": {
"l": 0.70522,
"c": 0.12297,
"h": 356.3
},
"luminance": 0.32746
}Semantic roles & 50–950 ramp
primary
#DC7EA2
secondary
#CCE9DE
accent
#C58621
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81