#D945C0#D945C0
#D945C0 is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 64.1% C 0.225 H 335.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #D945C0 |
|---|---|
| RGB | rgb(217, 69, 192) |
| HSL | hsl(310, 66%, 56%) |
| HSV | hsv(310, 68%, 85%) |
| CMYK | cmyk(0%, 68.2%, 11.5%, 14.9%) |
| CIE-LAB | lab(54.88, 69.97, -34.26) |
| CIE-LCH | lch(54.88, 77.90, 333.91°) |
| OKLab | oklab(64.06% 0.2042 -0.0934) |
| OKLCH | oklch(64.06% 0.225 335.4) |
| XYZ | xyz(40.2583, 22.8172, 52.1428) |
| Luminance | 0.2281 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 2.35
Pinky Purple
#C94CBE
ΔE00 2.70
Pinkish Purple
#D648D7
ΔE00 4.03
Purpley Pink
#C83CB9
ΔE00 4.28
Hot Magenta
#F504C9
ΔE00 4.32
Fuchsia (survey)
#ED0DD9
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D945C0 #45D95E
analogous
#A845D9 #D945C0 #D94576
triadic
#D945C0 #C0D945 #45C0D9
tetradic
#D945C0 #D9A845 #45D95E #4576D9
square
#D945C0 #D9A845 #45D95E #4576D9
split-complementary
#D945C0 #76D945 #45D9A8
monochromatic
#881C76 #BB26A2 #D945C0 #E378D1 #EEABE2
Accessibility & contrast
On white
3.78
#D945C0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#D945C0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D945C0
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D945C0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D945C0 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4575C4
Deuteranopia (green-blind)
#778BBC
Tritanopia (blue-blind)
#E44F7D
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #d945c0; /* rgb */ color: rgb(217, 69, 192); /* oklch */ color: oklch(64.1% 0.225 335.4);
Tailwind
colors: {
custom: {
50: '#e884d3',
500: '#d945c0',
950: '#000000',
},
}SCSS
$custom: #d945c0; $custom-light: #e884d3; $custom-dark: #000000;
JSON
{
"hex": "#d945c0",
"rgb": {
"r": 217,
"g": 69,
"b": 192
},
"hsl": {
"h": 310.135,
"s": 66.071,
"l": 56.078
},
"oklch": {
"l": 0.64061,
"c": 0.22459,
"h": 335.4
},
"luminance": 0.22814
}Semantic roles & 50–950 ramp
primary
#D945C0
secondary
#9EDBA9
accent
#E95C3F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83