#B21E45#B21E45
#B21E45 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.181 H 12.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B21E45 |
|---|---|
| RGB | rgb(178, 30, 69) |
| HSL | hsl(344, 71%, 41%) |
| HSV | hsv(344, 83%, 70%) |
| CMYK | cmyk(0%, 83.1%, 61.2%, 30.2%) |
| CIE-LAB | lab(39.29, 58.60, 16.48) |
| CIE-LCH | lch(39.29, 60.87, 15.70°) |
| OKLab | oklab(49.97% 0.1766 0.0404) |
| OKLCH | oklch(49.97% 0.181 12.9) |
| XYZ | xyz(19.9007, 10.8262, 6.6709) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rouge
#AB1239
ΔE00 2.99
Rose Red
#BE013C
ΔE00 3.36
Raspberry (survey)
#B00149
ΔE00 3.54
Purplish Red
#B0054B
ΔE00 3.82
Ruby
#CA0147
ΔE00 4.26
Cranberry
#9E003A
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B21E45 #1EB28B
analogous
#B21E8F #B21E45 #B2411E
triadic
#B21E45 #45B21E #1E45B2
tetradic
#B21E45 #8FB21E #1EB28B #411EB2
square
#B21E45 #8FB21E #1EB28B #411EB2
split-complementary
#B21E45 #1EB241 #1E8FB2
monochromatic
#490C1C #7E1531 #B21E45 #DC315E #E56587
Accessibility & contrast
On white
6.64
#B21E45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#B21E45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B21E45
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B21E45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B21E45 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4945
Deuteranopia (green-blind)
#706741
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b21e45; /* rgb */ color: rgb(178, 30, 69); /* oklch */ color: oklch(50.0% 0.181 12.9);
Tailwind
colors: {
custom: {
50: '#d16b78',
500: '#b21e45',
950: '#000000',
},
}SCSS
$custom: #b21e45; $custom-light: #d16b78; $custom-dark: #000000;
JSON
{
"hex": "#b21e45",
"rgb": {
"r": 178,
"g": 30,
"b": 69
},
"hsl": {
"h": 344.189,
"s": 71.154,
"l": 40.784
},
"oklch": {
"l": 0.49974,
"c": 0.18114,
"h": 12.9
},
"luminance": 0.10823
}Semantic roles & 50–950 ramp
primary
#B21E45
secondary
#62CAAF
accent
#EEBE3A
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B