#B21E47#B21E47
#B21E47 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.181 H 12.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B21E47 |
|---|---|
| RGB | rgb(178, 30, 71) |
| HSL | hsl(343, 71%, 41%) |
| HSV | hsv(343, 83%, 70%) |
| CMYK | cmyk(0%, 83.1%, 60.1%, 30.2%) |
| CIE-LAB | lab(39.33, 58.73, 15.26) |
| CIE-LCH | lch(39.33, 60.68, 14.57°) |
| OKLab | oklab(50.02% 0.1774 0.0377) |
| OKLCH | oklch(50.02% 0.181 12) |
| XYZ | xyz(19.9638, 10.8515, 7.0034) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.05
Purplish Red
#B0054B
ΔE00 3.29
Rouge
#AB1239
ΔE00 3.47
Rose Red
#BE013C
ΔE00 3.86
Ruby
#CA0147
ΔE00 4.41
Cranberry
#9E003A
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B21E47 #1EB289
analogous
#B21E91 #B21E47 #B23F1E
triadic
#B21E47 #47B21E #1E47B2
tetradic
#B21E47 #91B21E #1EB289 #3F1EB2
square
#B21E47 #91B21E #1EB289 #3F1EB2
split-complementary
#B21E47 #1EB23F #1E91B2
monochromatic
#490C1D #7E1532 #B21E47 #DC3160 #E56589
Accessibility & contrast
On white
6.63
#B21E47 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#B21E47 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B21E47
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B21E47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B21E47 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4948
Deuteranopia (green-blind)
#6F6743
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b21e47; /* rgb */ color: rgb(178, 30, 71); /* oklch */ color: oklch(50.0% 0.181 12.0);
Tailwind
colors: {
custom: {
50: '#d06b79',
500: '#b21e47',
950: '#000000',
},
}SCSS
$custom: #b21e47; $custom-light: #d06b79; $custom-dark: #000000;
JSON
{
"hex": "#b21e47",
"rgb": {
"r": 178,
"g": 30,
"b": 71
},
"hsl": {
"h": 343.378,
"s": 71.154,
"l": 40.784
},
"oklch": {
"l": 0.50019,
"c": 0.18132,
"h": 12
},
"luminance": 0.10848
}Semantic roles & 50–950 ramp
primary
#B21E47
secondary
#62CAAD
accent
#EEBC3A
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B