#D478AB#D478AB
#D478AB is a light, vivid pink. Relative luminance 0.304; OKLCH L 68.9% C 0.130 H 346.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #D478AB |
|---|---|
| RGB | rgb(212, 120, 171) |
| HSL | hsl(327, 52%, 65%) |
| HSV | hsv(327, 43%, 83%) |
| CMYK | cmyk(0%, 43.4%, 19.3%, 16.9%) |
| CIE-LAB | lab(61.97, 42.37, -11.39) |
| CIE-LCH | lch(61.97, 43.87, 344.95°) |
| OKLab | oklab(68.9% 0.1262 -0.0299) |
| OKLCH | oklch(68.9% 0.13 346.7) |
| XYZ | xyz(41.2193, 30.3731, 42.2118) |
| Luminance | 0.3037 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.36
Palevioletred
#DB7093
ΔE00 6.34
Bubblegum (survey)
#FF6CB5
ΔE00 7.17
Hot Pink
#FF69B4
ΔE00 7.23
Bubble Gum Pink
#FF69AF
ΔE00 7.36
Dull Pink
#D5869D
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D478AB #78D4A1
analogous
#CF78D4 #D478AB #D4787D
triadic
#D478AB #ABD478 #78ABD4
tetradic
#D478AB #D4CF78 #78D4A1 #787DD4
square
#D478AB #D4CF78 #78D4A1 #787DD4
split-complementary
#D478AB #7DD478 #78D4CF
monochromatic
#9F336F #C54A8E #D478AB #E3A6C8 #F2D5E5
Accessibility & contrast
On white
2.97
#D478AB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#D478AB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D478AB
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D478AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D478AB | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#808CAD
Deuteranopia (green-blind)
#979BA9
Tritanopia (blue-blind)
#DF778B
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #d478ab; /* rgb */ color: rgb(212, 120, 171); /* oklch */ color: oklch(68.9% 0.130 346.7);
Tailwind
colors: {
custom: {
50: '#e3a1c4',
500: '#d478ab',
950: '#000000',
},
}SCSS
$custom: #d478ab; $custom-light: #e3a1c4; $custom-dark: #000000;
JSON
{
"hex": "#d478ab",
"rgb": {
"r": 212,
"g": 120,
"b": 171
},
"hsl": {
"h": 326.739,
"s": 51.685,
"l": 65.098
},
"oklch": {
"l": 0.68899,
"c": 0.12965,
"h": 346.7
},
"luminance": 0.3037
}Semantic roles & 50–950 ramp
primary
#D478AB
secondary
#C4E3D2
accent
#BF6A26
background
#FEFAFC
surface
#FCF3F8
border
#D5CDD1
text
#160F12
muted
#847F81