#D271B0#D271B0
#D271B0 is a light, vivid pink. Relative luminance 0.286; OKLCH L 67.8% C 0.143 H 342.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #D271B0 |
|---|---|
| RGB | rgb(210, 113, 176) |
| HSL | hsl(321, 52%, 63%) |
| HSV | hsv(321, 46%, 82%) |
| CMYK | cmyk(0%, 46.2%, 16.2%, 17.6%) |
| CIE-LAB | lab(60.47, 46.08, -16.54) |
| CIE-LCH | lch(60.47, 48.96, 340.25°) |
| OKLab | oklab(67.77% 0.1361 -0.044) |
| OKLCH | oklch(67.77% 0.143 342.1) |
| XYZ | xyz(40.3205, 28.6493, 44.4721) |
| Luminance | 0.2865 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 2.27
Purplish Pink
#CE5DAE
ΔE00 4.97
Orchid (survey)
#C875C4
ΔE00 5.40
Orchid
#DA70D6
ΔE00 7.45
Hot Pink
#FF69B4
ΔE00 7.69
Bubblegum (survey)
#FF6CB5
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D271B0 #71D293
analogous
#C371D2 #D271B0 #D2717F
triadic
#D271B0 #B0D271 #71B0D2
tetradic
#D271B0 #D2C371 #71D293 #717FD2
square
#D271B0 #D2C371 #71D293 #717FD2
split-complementary
#D271B0 #7FD271 #71D2C3
monochromatic
#983074 #C34396 #D271B0 #E19FCA #EFCEE4
Accessibility & contrast
On white
3.12
#D271B0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#D271B0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D271B0
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D271B0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D271B0 | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7788B2
Deuteranopia (green-blind)
#9098AD
Tritanopia (blue-blind)
#DC7289
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #d271b0; /* rgb */ color: rgb(210, 113, 176); /* oklch */ color: oklch(67.8% 0.143 342.1);
Tailwind
colors: {
custom: {
50: '#e29cc7',
500: '#d271b0',
950: '#000000',
},
}SCSS
$custom: #d271b0; $custom-light: #e29cc7; $custom-dark: #000000;
JSON
{
"hex": "#d271b0",
"rgb": {
"r": 210,
"g": 113,
"b": 176
},
"hsl": {
"h": 321.031,
"s": 51.872,
"l": 63.333
},
"oklch": {
"l": 0.6777,
"c": 0.14301,
"h": 342.1
},
"luminance": 0.28646
}Semantic roles & 50–950 ramp
primary
#D271B0
secondary
#BEE1CA
accent
#BF5C26
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E13
muted
#847E82