#DC7EA1#DC7EA1
#DC7EA1 is a light, vivid pink. Relative luminance 0.327; OKLCH L 70.5% C 0.123 H 357.0°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #DC7EA1 |
|---|---|
| RGB | rgb(220, 126, 161) |
| HSL | hsl(338, 57%, 68%) |
| HSV | hsv(338, 43%, 86%) |
| CMYK | cmyk(0%, 42.7%, 26.8%, 13.7%) |
| CIE-LAB | lab(63.93, 40.53, -2.68) |
| CIE-LCH | lch(63.93, 40.62, 356.22°) |
| OKLab | oklab(70.49% 0.1224 -0.0065) |
| OKLCH | oklch(70.49% 0.123 357) |
| XYZ | xyz(43.4104, 32.7139, 37.7394) |
| Luminance | 0.3271 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dull Pink
#D5869D
ΔE00 3.33
Palevioletred
#DB7093
ΔE00 3.74
Muted Pink
#D1768F
ΔE00 4.17
Pig Pink
#E78EA5
ΔE00 5.05
Dusky Pink
#CC7A8B
ΔE00 5.74
Pinky
#FC86AA
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC7EA1 #7EDCB9
analogous
#DC7ED0 #DC7EA1 #DC8A7E
triadic
#DC7EA1 #A1DC7E #7EA1DC
tetradic
#DC7EA1 #D0DC7E #7EDCB9 #8A7EDC
square
#DC7EA1 #D0DC7E #7EDCB9 #8A7EDC
split-complementary
#DC7EA1 #7EDC8A #7ED0DC
monochromatic
#B0305F #CF4E7E #DC7EA1 #E9AEC4 #F6DEE7
Accessibility & contrast
On white
2.78
#DC7EA1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#DC7EA1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC7EA1
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC7EA1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC7EA1 | 1.00 | 2.78 | 7.54 | 7.54 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A91A2
Deuteranopia (green-blind)
#A2A19F
Tritanopia (blue-blind)
#EA798A
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #dc7ea1; /* rgb */ color: rgb(220, 126, 161); /* oklch */ color: oklch(70.5% 0.123 357.0);
Tailwind
colors: {
custom: {
50: '#e9a5bc',
500: '#dc7ea1',
950: '#000000',
},
}SCSS
$custom: #dc7ea1; $custom-light: #e9a5bc; $custom-dark: #000000;
JSON
{
"hex": "#dc7ea1",
"rgb": {
"r": 220,
"g": 126,
"b": 161
},
"hsl": {
"h": 337.66,
"s": 57.317,
"l": 67.843
},
"oklch": {
"l": 0.7049,
"c": 0.12254,
"h": 357
},
"luminance": 0.32711
}Semantic roles & 50–950 ramp
primary
#DC7EA1
secondary
#CCE9DF
accent
#C58821
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81