#B21F49#B21F49
#B21F49 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.181 H 11.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B21F49 |
|---|---|
| RGB | rgb(178, 31, 73) |
| HSL | hsl(343, 70%, 41%) |
| HSV | hsv(343, 83%, 70%) |
| CMYK | cmyk(0%, 82.6%, 59%, 30.2%) |
| CIE-LAB | lab(39.46, 58.61, 14.17) |
| CIE-LCH | lch(39.46, 60.30, 13.59°) |
| OKLab | oklab(50.13% 0.1773 0.0352) |
| OKLCH | oklch(50.13% 0.181 11.2) |
| XYZ | xyz(20.0547, 10.9290, 7.3556) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.76
Purplish Red
#B0054B
ΔE00 2.93
Rouge
#AB1239
ΔE00 3.96
Rose Red
#BE013C
ΔE00 4.34
Ruby
#CA0147
ΔE00 4.58
Cranberry
#9E003A
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B21F49 #1FB288
analogous
#B21F92 #B21F49 #B23E1F
triadic
#B21F49 #49B21F #1F49B2
tetradic
#B21F49 #92B21F #1FB288 #3E1FB2
square
#B21F49 #92B21F #1FB288 #3E1FB2
split-complementary
#B21F49 #1FB23E #1F92B2
monochromatic
#4A0D1E #7E1634 #B21F49 #DB3363 #E5678B
Accessibility & contrast
On white
6.59
#B21F49 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#B21F49 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B21F49
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B21F49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B21F49 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4A4A
Deuteranopia (green-blind)
#6F6845
Tritanopia (blue-blind)
#C30032
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b21f49; /* rgb */ color: rgb(178, 31, 73); /* oklch */ color: oklch(50.1% 0.181 11.2);
Tailwind
colors: {
custom: {
50: '#d06c7b',
500: '#b21f49',
950: '#000000',
},
}SCSS
$custom: #b21f49; $custom-light: #d06c7b; $custom-dark: #000000;
JSON
{
"hex": "#b21f49",
"rgb": {
"r": 178,
"g": 31,
"b": 73
},
"hsl": {
"h": 342.857,
"s": 70.335,
"l": 40.98
},
"oklch": {
"l": 0.5013,
"c": 0.18081,
"h": 11.2
},
"luminance": 0.10926
}Semantic roles & 50–950 ramp
primary
#B21F49
secondary
#63CAAC
accent
#EDBA3B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B