#B21452#B21452
#B21452 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.189 H 5.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B21452 |
|---|---|
| RGB | rgb(178, 20, 82) |
| HSL | hsl(336, 80%, 39%) |
| HSV | hsv(336, 89%, 70%) |
| CMYK | cmyk(0%, 88.8%, 53.9%, 30.2%) |
| CIE-LAB | lab(38.86, 61.60, 7.59) |
| CIE-LCH | lch(38.86, 62.07, 7.02°) |
| OKLab | oklab(49.76% 0.1884 0.0196) |
| OKLCH | oklch(49.76% 0.189 5.9) |
| XYZ | xyz(20.1352, 10.5775, 8.9624) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.65
Raspberry (survey)
#B00149
ΔE00 2.12
Violet Red
#A50055
ΔE00 4.53
Deep Pink
#CB0162
ΔE00 5.10
Berry
#990F4B
ΔE00 5.34
Purple Red
#990147
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B21452 #14B274
analogous
#B214A1 #B21452 #B22514
triadic
#B21452 #52B214 #1452B2
tetradic
#B21452 #A1B214 #14B274 #2514B2
square
#B21452 #A1B214 #14B274 #2514B2
split-complementary
#B21452 #14B225 #14A1B2
monochromatic
#44081F #7B0E39 #B21452 #E61E6C #EC5590
Accessibility & contrast
On white
6.74
#B21452 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#B21452 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B21452
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B21452 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B21452 | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444853
Deuteranopia (green-blind)
#6C664E
Tritanopia (blue-blind)
#C30033
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b21452; /* rgb */ color: rgb(178, 20, 82); /* oklch */ color: oklch(49.8% 0.189 5.9);
Tailwind
colors: {
custom: {
50: '#d06982',
500: '#b21452',
950: '#000000',
},
}SCSS
$custom: #b21452; $custom-light: #d06982; $custom-dark: #000000;
JSON
{
"hex": "#b21452",
"rgb": {
"r": 178,
"g": 20,
"b": 82
},
"hsl": {
"h": 336.456,
"s": 79.798,
"l": 38.824
},
"oklch": {
"l": 0.4976,
"c": 0.18943,
"h": 5.9
},
"luminance": 0.10574
}Semantic roles & 50–950 ramp
primary
#B21452
secondary
#53CE9E
accent
#F6A932
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15070A
muted
#837A7C