#D945B1#D945B1
#D945B1 is a light, highly saturated pink. Relative luminance 0.222; OKLCH L 63.4% C 0.214 H 340.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #D945B1 |
|---|---|
| RGB | rgb(217, 69, 177) |
| HSL | hsl(316, 66%, 56%) |
| HSV | hsv(316, 68%, 85%) |
| CMYK | cmyk(0%, 68.2%, 18.4%, 14.9%) |
| CIE-LAB | lab(54.22, 67.84, -26.60) |
| CIE-LCH | lch(54.22, 72.87, 338.59°) |
| OKLab | oklab(63.37% 0.2022 -0.0716) |
| OKLCH | oklch(63.37% 0.215 340.5) |
| XYZ | xyz(38.6802, 22.1860, 43.8317) |
| Luminance | 0.2218 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.01
Purpleish Pink
#DF4EC8
ΔE00 4.16
Pinky Purple
#C94CBE
ΔE00 4.29
Purpley Pink
#C83CB9
ΔE00 5.14
Hot Magenta
#F504C9
ΔE00 5.27
Bright Pink
#FE01B1
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D945B1 #45D96D
analogous
#B745D9 #D945B1 #D94567
triadic
#D945B1 #B1D945 #45B1D9
tetradic
#D945B1 #D9B745 #45D96D #4567D9
square
#D945B1 #D9B745 #45D96D #4567D9
split-complementary
#D945B1 #67D945 #45D9B7
monochromatic
#881C6B #BB2693 #D945B1 #E378C6 #EEABDC
Accessibility & contrast
On white
3.86
#D945B1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#D945B1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D945B1
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D945B1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D945B1 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F73B4
Deuteranopia (green-blind)
#7D8AAD
Tritanopia (blue-blind)
#E64975
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #d945b1; /* rgb */ color: rgb(217, 69, 177); /* oklch */ color: oklch(63.4% 0.214 340.5);
Tailwind
colors: {
custom: {
50: '#e984c8',
500: '#d945b1',
950: '#000000',
},
}SCSS
$custom: #d945b1; $custom-light: #e984c8; $custom-dark: #000000;
JSON
{
"hex": "#d945b1",
"rgb": {
"r": 217,
"g": 69,
"b": 177
},
"hsl": {
"h": 316.216,
"s": 66.071,
"l": 56.078
},
"oklch": {
"l": 0.63366,
"c": 0.2145,
"h": 340.5
},
"luminance": 0.22182
}Semantic roles & 50–950 ramp
primary
#D945B1
secondary
#9EDBAF
accent
#E96D3F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82