#D945B0#D945B0
#D945B0 is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.3% C 0.214 H 340.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #D945B0 |
|---|---|
| RGB | rgb(217, 69, 176) |
| HSL | hsl(317, 66%, 56%) |
| HSV | hsv(317, 68%, 85%) |
| CMYK | cmyk(0%, 68.2%, 18.9%, 14.9%) |
| CIE-LAB | lab(54.18, 67.70, -26.08) |
| CIE-LCH | lch(54.18, 72.55, 338.93°) |
| OKLab | oklab(63.32% 0.202 -0.0702) |
| OKLCH | oklch(63.32% 0.214 340.8) |
| XYZ | xyz(38.5809, 22.1462, 43.3086) |
| Luminance | 0.2214 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.98
Purpleish Pink
#DF4EC8
ΔE00 4.32
Pinky Purple
#C94CBE
ΔE00 4.44
Purpley Pink
#C83CB9
ΔE00 5.25
Hot Magenta
#F504C9
ΔE00 5.38
Bright Pink
#FE01B1
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D945B0 #45D96E
analogous
#B845D9 #D945B0 #D94566
triadic
#D945B0 #B0D945 #45B0D9
tetradic
#D945B0 #D9B845 #45D96E #4566D9
square
#D945B0 #D9B845 #45D96E #4566D9
split-complementary
#D945B0 #66D945 #45D9B8
monochromatic
#881C6A #BB2692 #D945B0 #E378C6 #EEABDB
Accessibility & contrast
On white
3.87
#D945B0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#D945B0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D945B0
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D945B0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D945B0 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5072B3
Deuteranopia (green-blind)
#7E8AAC
Tritanopia (blue-blind)
#E64875
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #d945b0; /* rgb */ color: rgb(217, 69, 176); /* oklch */ color: oklch(63.3% 0.214 340.8);
Tailwind
colors: {
custom: {
50: '#e984c8',
500: '#d945b0',
950: '#000000',
},
}SCSS
$custom: #d945b0; $custom-light: #e984c8; $custom-dark: #000000;
JSON
{
"hex": "#d945b0",
"rgb": {
"r": 217,
"g": 69,
"b": 176
},
"hsl": {
"h": 316.622,
"s": 66.071,
"l": 56.078
},
"oklch": {
"l": 0.63322,
"c": 0.21387,
"h": 340.8
},
"luminance": 0.22143
}Semantic roles & 50–950 ramp
primary
#D945B0
secondary
#9EDBAF
accent
#E96E3F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82