#d0afbc
a light, soft magenta / pink · warm · closest name: pink
RGB
208, 175, 188
HSL
336°, 26%, 75%
CMYK
0, 16, 10, 18
Luminance
0.4770
Every format
| HEX | #d0afbc |
| RGB | rgb(208, 175, 188) |
| HSL | hsl(336, 26%, 75%) |
| CMYK | cmyk(0%, 16%, 10%, 18%) |
| LAB | lab(74.6 14.1 -2.2) |
| LCH | lch(74.6 14.2 351.3) |
| OKLCH | oklch(0.787 0.042 352.4) |
Copy-ready code
/* CSS */
color: #d0afbc;
background-color: #d0afbc;
/* Tailwind (arbitrary) */
class="text-[#d0afbc] bg-[#d0afbc]"
/* SCSS */
$brand: #d0afbc;
/* SwiftUI */
Color(red: 0.816, green: 0.686, blue: 0.737)
/* Android */
Color.parseColor("#d0afbc")Accessibility — WCAG contrast
Aa
#d0afbc on white: 1.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d0afbc on black: 10.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.6%
Green68.6%
Blue73.7%
CMYK percentages
Cyan0.0%
Magenta15.9%
Yellow9.6%
Key (black)18.4%
Color previews
#d0afbc text on a black background
contrast 10.54:1
Card sample
#d0afbc text on a white background
contrast 1.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d0afbc;
Background color
Panel with #d0afbc background
background-color: #d0afbc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d0afbc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(208, 175, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 175, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d0afbc; background: linear-gradient(135deg, #d0afbc, #D0B8AF);