#D540B0#D540B0
#D540B0 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.3% C 0.217 H 339.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #D540B0 |
|---|---|
| RGB | rgb(213, 64, 176) |
| HSL | hsl(315, 64%, 54%) |
| HSV | hsv(315, 70%, 84%) |
| CMYK | cmyk(0%, 70%, 17.4%, 16.5%) |
| CIE-LAB | lab(52.90, 68.48, -28.13) |
| CIE-LCH | lch(52.90, 74.03, 337.67°) |
| OKLab | oklab(62.26% 0.2036 -0.076) |
| OKLCH | oklch(62.26% 0.217 339.5) |
| XYZ | xyz(37.1114, 20.9510, 43.1553) |
| Luminance | 0.2095 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.78
Purpley Pink
#C83CB9
ΔE00 3.95
Purpleish Pink
#DF4EC8
ΔE00 4.87
Purplish Pink
#CE5DAE
ΔE00 4.92
Hot Magenta
#F504C9
ΔE00 5.49
Bright Pink
#FE01B1
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D540B0 #40D565
analogous
#AF40D5 #D540B0 #D54066
triadic
#D540B0 #B0D540 #40B0D5
tetradic
#D540B0 #D5AF40 #40D565 #4066D5
square
#D540B0 #D5AF40 #40D565 #4066D5
split-complementary
#D540B0 #66D540 #40D5AF
monochromatic
#7F1C66 #B1278F #D540B0 #E072C5 #EBA4DA
Accessibility & contrast
On white
4.05
#D540B0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#D540B0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D540B0
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D540B0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D540B0 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#496FB3
Deuteranopia (green-blind)
#7987AC
Tritanopia (blue-blind)
#E14573
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #d540b0; /* rgb */ color: rgb(213, 64, 176); /* oklch */ color: oklch(62.3% 0.217 339.5);
Tailwind
colors: {
custom: {
50: '#e681c8',
500: '#d540b0',
950: '#000000',
},
}SCSS
$custom: #d540b0; $custom-light: #e681c8; $custom-dark: #000000;
JSON
{
"hex": "#d540b0",
"rgb": {
"r": 213,
"g": 64,
"b": 176
},
"hsl": {
"h": 314.899,
"s": 63.948,
"l": 54.314
},
"oklch": {
"l": 0.62262,
"c": 0.21729,
"h": 339.5
},
"luminance": 0.20948
}Semantic roles & 50–950 ramp
primary
#D540B0
secondary
#99D8A8
accent
#E76A41
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82