#D17CC2#D17CC2
#D17CC2 is a light, vivid pink. Relative luminance 0.319; OKLCH L 70.0% C 0.137 H 333.7°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #D17CC2 |
|---|---|
| RGB | rgb(209, 124, 194) |
| HSL | hsl(311, 48%, 65%) |
| HSV | hsv(311, 41%, 82%) |
| CMYK | cmyk(0%, 40.7%, 7.2%, 18%) |
| CIE-LAB | lab(63.23, 43.02, -22.58) |
| CIE-LCH | lch(63.23, 48.59, 332.31°) |
| OKLab | oklab(70.03% 0.1232 -0.0609) |
| OKLCH | oklch(70.03% 0.137 333.7) |
| XYZ | xyz(43.2395, 31.8680, 54.9021) |
| Luminance | 0.3187 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.05
Lavender Pink
#DD85D7
ΔE00 4.05
Orchid
#DA70D6
ΔE00 5.08
Pale Magenta
#D767AD
ΔE00 5.84
Purply Pink
#F075E6
ΔE00 7.15
Purplish Pink
#CE5DAE
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17CC2 #7CD18B
analogous
#B57CD1 #D17CC2 #D17C97
triadic
#D17CC2 #C2D17C #7CC2D1
tetradic
#D17CC2 #D1B57C #7CD18B #7C97D1
square
#D17CC2 #D1B57C #7CD18B #7C97D1
split-complementary
#D17CC2 #97D17C #7CD1B5
monochromatic
#9C378A #C14FAD #D17CC2 #E1A9D7 #F1D7EC
Accessibility & contrast
On white
2.85
#D17CC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#D17CC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17CC2
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17CC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17CC2 | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B91C5
Deuteranopia (green-blind)
#919EBF
Tritanopia (blue-blind)
#D88096
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #d17cc2; /* rgb */ color: rgb(209, 124, 194); /* oklch */ color: oklch(70.0% 0.137 333.7);
Tailwind
colors: {
custom: {
50: '#e0a4d4',
500: '#d17cc2',
950: '#000000',
},
}SCSS
$custom: #d17cc2; $custom-light: #e0a4d4; $custom-dark: #000000;
JSON
{
"hex": "#d17cc2",
"rgb": {
"r": 209,
"g": 124,
"b": 194
},
"hsl": {
"h": 310.588,
"s": 48.023,
"l": 65.294
},
"oklch": {
"l": 0.70033,
"c": 0.13741,
"h": 333.7
},
"luminance": 0.31866
}Semantic roles & 50–950 ramp
primary
#D17CC2
secondary
#C6E3CB
accent
#BB442A
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83