#B21F48#B21F48
#B21F48 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.181 H 11.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B21F48 |
|---|---|
| RGB | rgb(178, 31, 72) |
| HSL | hsl(343, 70%, 41%) |
| HSV | hsv(343, 83%, 70%) |
| CMYK | cmyk(0%, 82.6%, 59.6%, 30.2%) |
| CIE-LAB | lab(39.44, 58.55, 14.77) |
| CIE-LCH | lch(39.44, 60.38, 14.16°) |
| OKLab | oklab(50.11% 0.177 0.0366) |
| OKLCH | oklch(50.11% 0.181 11.7) |
| XYZ | xyz(20.0219, 10.9158, 7.1823) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.96
Purplish Red
#B0054B
ΔE00 3.17
Rouge
#AB1239
ΔE00 3.70
Rose Red
#BE013C
ΔE00 4.07
Ruby
#CA0147
ΔE00 4.46
Cranberry
#9E003A
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B21F48 #1FB289
analogous
#B21F91 #B21F48 #B23F1F
triadic
#B21F48 #48B21F #1F48B2
tetradic
#B21F48 #91B21F #1FB289 #3F1FB2
square
#B21F48 #91B21F #1FB289 #3F1FB2
split-complementary
#B21F48 #1FB23F #1F91B2
monochromatic
#4A0D1E #7E1633 #B21F48 #DB3362 #E5678A
Accessibility & contrast
On white
6.60
#B21F48 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#B21F48 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B21F48
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B21F48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B21F48 | 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)
#4A4A49
Deuteranopia (green-blind)
#706744
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b21f48; /* rgb */ color: rgb(178, 31, 72); /* oklch */ color: oklch(50.1% 0.181 11.7);
Tailwind
colors: {
custom: {
50: '#d06c7a',
500: '#b21f48',
950: '#000000',
},
}SCSS
$custom: #b21f48; $custom-light: #d06c7a; $custom-dark: #000000;
JSON
{
"hex": "#b21f48",
"rgb": {
"r": 178,
"g": 31,
"b": 72
},
"hsl": {
"h": 343.265,
"s": 70.335,
"l": 40.98
},
"oklch": {
"l": 0.50107,
"c": 0.1807,
"h": 11.7
},
"luminance": 0.10913
}Semantic roles & 50–950 ramp
primary
#B21F48
secondary
#63CAAD
accent
#EDBB3B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B