#D271AF#D271AF
#D271AF is a light, vivid pink. Relative luminance 0.286; OKLCH L 67.7% C 0.142 H 342.6°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D271AF |
|---|---|
| RGB | rgb(210, 113, 175) |
| HSL | hsl(322, 52%, 63%) |
| HSV | hsv(322, 46%, 82%) |
| CMYK | cmyk(0%, 46.2%, 16.7%, 17.6%) |
| CIE-LAB | lab(60.44, 45.92, -16.02) |
| CIE-LCH | lch(60.44, 48.64, 340.76°) |
| OKLab | oklab(67.73% 0.1358 -0.0426) |
| OKLCH | oklch(67.73% 0.142 342.6) |
| XYZ | xyz(40.2219, 28.6099, 43.9529) |
| Luminance | 0.2861 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 2.26
Purplish Pink
#CE5DAE
ΔE00 5.05
Orchid (survey)
#C875C4
ΔE00 5.62
Hot Pink
#FF69B4
ΔE00 7.63
Orchid
#DA70D6
ΔE00 7.67
Bubblegum (survey)
#FF6CB5
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D271AF #71D294
analogous
#C471D2 #D271AF #D2717E
triadic
#D271AF #AFD271 #71AFD2
tetradic
#D271AF #D2C471 #71D294 #717ED2
square
#D271AF #D2C471 #71D294 #717ED2
split-complementary
#D271AF #7ED271 #71D2C4
monochromatic
#983073 #C34395 #D271AF #E19FC9 #EFCEE3
Accessibility & contrast
On white
3.12
#D271AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#D271AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D271AF
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D271AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D271AF | 1.00 | 3.12 | 6.72 | 6.72 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7788B1
Deuteranopia (green-blind)
#9198AC
Tritanopia (blue-blind)
#DD7188
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #d271af; /* rgb */ color: rgb(210, 113, 175); /* oklch */ color: oklch(67.7% 0.142 342.6);
Tailwind
colors: {
custom: {
50: '#e29cc7',
500: '#d271af',
950: '#000000',
},
}SCSS
$custom: #d271af; $custom-light: #e29cc7; $custom-dark: #000000;
JSON
{
"hex": "#d271af",
"rgb": {
"r": 210,
"g": 113,
"b": 175
},
"hsl": {
"h": 321.649,
"s": 51.872,
"l": 63.333
},
"oklch": {
"l": 0.67732,
"c": 0.14231,
"h": 342.6
},
"luminance": 0.28607
}Semantic roles & 50–950 ramp
primary
#D271AF
secondary
#BEE1CB
accent
#BF5D26
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E13
muted
#847E82