#D940B0#D940B0
#D940B0 is a light, highly saturated pink. Relative luminance 0.216; OKLCH L 62.9% C 0.220 H 340.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #D940B0 |
|---|---|
| RGB | rgb(217, 64, 176) |
| HSL | hsl(316, 67%, 55%) |
| HSV | hsv(316, 71%, 85%) |
| CMYK | cmyk(0%, 70.5%, 18.9%, 14.9%) |
| CIE-LAB | lab(53.55, 69.47, -27.05) |
| CIE-LCH | lch(53.55, 74.55, 338.72°) |
| OKLab | oklab(62.87% 0.2074 -0.0729) |
| OKLCH | oklch(62.87% 0.22 340.6) |
| XYZ | xyz(38.2862, 21.5568, 43.2104) |
| Luminance | 0.2155 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 4.31
Purpleish Pink
#DF4EC8
ΔE00 4.62
Purplish Pink
#CE5DAE
ΔE00 4.67
Purpley Pink
#C83CB9
ΔE00 4.73
Hot Magenta
#F504C9
ΔE00 5.15
Bright Pink
#FE01B1
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D940B0 #40D969
analogous
#B540D9 #D940B0 #D94064
triadic
#D940B0 #B0D940 #40B0D9
tetradic
#D940B0 #D9B540 #40D969 #4064D9
square
#D940B0 #D9B540 #40D969 #4064D9
split-complementary
#D940B0 #64D940 #40D9B5
monochromatic
#841A68 #B72490 #D940B0 #E373C5 #EDA6DA
Accessibility & contrast
On white
3.95
#D940B0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#D940B0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D940B0
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D940B0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D940B0 | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B70B3
Deuteranopia (green-blind)
#7C89AC
Tritanopia (blue-blind)
#E64473
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #d940b0; /* rgb */ color: rgb(217, 64, 176); /* oklch */ color: oklch(62.9% 0.220 340.6);
Tailwind
colors: {
custom: {
50: '#e982c8',
500: '#d940b0',
950: '#000000',
},
}SCSS
$custom: #d940b0; $custom-light: #e982c8; $custom-dark: #000000;
JSON
{
"hex": "#d940b0",
"rgb": {
"r": 217,
"g": 64,
"b": 176
},
"hsl": {
"h": 316.078,
"s": 66.812,
"l": 55.098
},
"oklch": {
"l": 0.62865,
"c": 0.2198,
"h": 340.6
},
"luminance": 0.21553
}Semantic roles & 50–950 ramp
primary
#D940B0
secondary
#9ADAAC
accent
#EA6C3E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170B13
muted
#857C82