#B21F47#B21F47
#B21F47 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.181 H 12.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B21F47 |
|---|---|
| RGB | rgb(178, 31, 71) |
| HSL | hsl(344, 70%, 41%) |
| HSV | hsv(344, 83%, 70%) |
| CMYK | cmyk(0%, 82.6%, 60.1%, 30.2%) |
| CIE-LAB | lab(39.42, 58.48, 15.38) |
| CIE-LCH | lch(39.42, 60.47, 14.73°) |
| OKLab | oklab(50.08% 0.1766 0.038) |
| OKLCH | oklch(50.08% 0.181 12.1) |
| XYZ | xyz(19.9895, 10.9029, 7.0119) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.18
Purplish Red
#B0054B
ΔE00 3.41
Rouge
#AB1239
ΔE00 3.45
Rose Red
#BE013C
ΔE00 3.81
Ruby
#CA0147
ΔE00 4.36
Cranberry
#9E003A
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B21F47 #1FB28A
analogous
#B21F90 #B21F47 #B2401F
triadic
#B21F47 #47B21F #1F47B2
tetradic
#B21F47 #90B21F #1FB28A #401FB2
square
#B21F47 #90B21F #1FB28A #401FB2
split-complementary
#B21F47 #1FB240 #1F90B2
monochromatic
#4A0D1D #7E1632 #B21F47 #DB3361 #E56789
Accessibility & contrast
On white
6.60
#B21F47 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#B21F47 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B21F47
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B21F47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B21F47 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4A47
Deuteranopia (green-blind)
#706743
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b21f47; /* rgb */ color: rgb(178, 31, 71); /* oklch */ color: oklch(50.1% 0.181 12.1);
Tailwind
colors: {
custom: {
50: '#d06c79',
500: '#b21f47',
950: '#000000',
},
}SCSS
$custom: #b21f47; $custom-light: #d06c79; $custom-dark: #000000;
JSON
{
"hex": "#b21f47",
"rgb": {
"r": 178,
"g": 31,
"b": 71
},
"hsl": {
"h": 343.673,
"s": 70.335,
"l": 40.98
},
"oklch": {
"l": 0.50083,
"c": 0.1806,
"h": 12.1
},
"luminance": 0.109
}Semantic roles & 50–950 ramp
primary
#B21F47
secondary
#63CAAE
accent
#EDBD3B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B