#D271AB#D271AB
#D271AB is a light, vivid pink. Relative luminance 0.285; OKLCH L 67.6% C 0.140 H 344.7°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #D271AB |
|---|---|
| RGB | rgb(210, 113, 171) |
| HSL | hsl(324, 52%, 63%) |
| HSV | hsv(324, 46%, 82%) |
| CMYK | cmyk(0%, 46.2%, 18.6%, 17.6%) |
| CIE-LAB | lab(60.30, 45.31, -13.94) |
| CIE-LCH | lch(60.30, 47.41, 342.90°) |
| OKLab | oklab(67.58% 0.1347 -0.0368) |
| OKLCH | oklch(67.58% 0.14 344.7) |
| XYZ | xyz(39.8349, 28.4551, 41.9145) |
| Luminance | 0.2845 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 2.49
Purplish Pink
#CE5DAE
ΔE00 5.49
Orchid (survey)
#C875C4
ΔE00 6.53
Palevioletred
#DB7093
ΔE00 7.16
Hot Pink
#FF69B4
ΔE00 7.46
Bubblegum (survey)
#FF6CB5
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D271AB #71D298
analogous
#C971D2 #D271AB #D2717A
triadic
#D271AB #ABD271 #71ABD2
tetradic
#D271AB #D2C971 #71D298 #717AD2
square
#D271AB #D2C971 #71D298 #717AD2
split-complementary
#D271AB #7AD271 #71D2C9
monochromatic
#98306E #C34390 #D271AB #E19FC6 #EFCEE2
Accessibility & contrast
On white
3.14
#D271AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.69
#D271AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D271AB
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D271AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D271AB | 1.00 | 3.14 | 6.69 | 6.69 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7887AD
Deuteranopia (green-blind)
#9297A8
Tritanopia (blue-blind)
#DD7087
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #d271ab; /* rgb */ color: rgb(210, 113, 171); /* oklch */ color: oklch(67.6% 0.140 344.7);
Tailwind
colors: {
custom: {
50: '#e29cc4',
500: '#d271ab',
950: '#000000',
},
}SCSS
$custom: #d271ab; $custom-light: #e29cc4; $custom-dark: #000000;
JSON
{
"hex": "#d271ab",
"rgb": {
"r": 210,
"g": 113,
"b": 171
},
"hsl": {
"h": 324.124,
"s": 51.872,
"l": 63.333
},
"oklch": {
"l": 0.67583,
"c": 0.1396,
"h": 344.7
},
"luminance": 0.28452
}Semantic roles & 50–950 ramp
primary
#D271AB
secondary
#BEE1CC
accent
#BF6426
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E12
muted
#847E81