#D17FC2#D17FC2
#D17FC2 is a light, vivid pink. Relative luminance 0.326; OKLCH L 70.5% C 0.132 H 333.8°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #D17FC2 |
|---|---|
| RGB | rgb(209, 127, 194) |
| HSL | hsl(311, 47%, 66%) |
| HSV | hsv(311, 39%, 82%) |
| CMYK | cmyk(0%, 39.2%, 7.2%, 18%) |
| CIE-LAB | lab(63.86, 41.45, -21.62) |
| CIE-LCH | lch(63.86, 46.75, 332.45°) |
| OKLab | oklab(70.51% 0.1187 -0.0583) |
| OKLCH | oklch(70.51% 0.132 333.8) |
| XYZ | xyz(43.6212, 32.6314, 55.0293) |
| Luminance | 0.3263 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.68
Lavender Pink
#DD85D7
ΔE00 3.93
Orchid
#DA70D6
ΔE00 5.69
Pale Magenta
#D767AD
ΔE00 6.31
Purply Pink
#F075E6
ΔE00 7.45
Bubblegum Pink
#FE83CC
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17FC2 #7FD18E
analogous
#B77FD1 #D17FC2 #D17F99
triadic
#D17FC2 #C2D17F #7FC2D1
tetradic
#D17FC2 #D1B77F #7FD18E #7F99D1
square
#D17FC2 #D1B77F #7FD18E #7F99D1
split-complementary
#D17FC2 #99D17F #7FD1B7
monochromatic
#9D388B #C152AD #D17FC2 #E1ACD7 #F1D9ED
Accessibility & contrast
On white
2.79
#D17FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#D17FC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17FC2
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17FC2 | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E93C4
Deuteranopia (green-blind)
#939FC0
Tritanopia (blue-blind)
#D88398
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #d17fc2; /* rgb */ color: rgb(209, 127, 194); /* oklch */ color: oklch(70.5% 0.132 333.8);
Tailwind
colors: {
custom: {
50: '#e0a6d4',
500: '#d17fc2',
950: '#000000',
},
}SCSS
$custom: #d17fc2; $custom-light: #e0a6d4; $custom-dark: #000000;
JSON
{
"hex": "#d17fc2",
"rgb": {
"r": 209,
"g": 127,
"b": 194
},
"hsl": {
"h": 310.976,
"s": 47.126,
"l": 65.882
},
"oklch": {
"l": 0.70505,
"c": 0.13218,
"h": 333.8
},
"luminance": 0.32629
}Semantic roles & 50–950 ramp
primary
#D17FC2
secondary
#C8E3CD
accent
#BA452B
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83