#B21451#B21451
#B21451 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.189 H 6.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B21451 |
|---|---|
| RGB | rgb(178, 20, 81) |
| HSL | hsl(337, 80%, 39%) |
| HSV | hsv(337, 89%, 70%) |
| CMYK | cmyk(0%, 88.8%, 54.5%, 30.2%) |
| CIE-LAB | lab(38.83, 61.53, 8.19) |
| CIE-LCH | lch(38.83, 62.07, 7.58°) |
| OKLab | oklab(49.73% 0.188 0.0211) |
| OKLCH | oklch(49.73% 0.189 6.4) |
| XYZ | xyz(20.0974, 10.5624, 8.7635) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.44
Raspberry (survey)
#B00149
ΔE00 1.89
Violet Red
#A50055
ΔE00 4.73
Deep Pink
#CB0162
ΔE00 5.22
Berry
#990F4B
ΔE00 5.42
Purple Red
#990147
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B21451 #14B275
analogous
#B214A0 #B21451 #B22614
triadic
#B21451 #51B214 #1451B2
tetradic
#B21451 #A0B214 #14B275 #2614B2
square
#B21451 #A0B214 #14B275 #2614B2
split-complementary
#B21451 #14B226 #14A0B2
monochromatic
#44081F #7B0E38 #B21451 #E61E6B #EC558F
Accessibility & contrast
On white
6.75
#B21451 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#B21451 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B21451
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B21451 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B21451 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444852
Deuteranopia (green-blind)
#6C664D
Tritanopia (blue-blind)
#C30032
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b21451; /* rgb */ color: rgb(178, 20, 81); /* oklch */ color: oklch(49.7% 0.189 6.4);
Tailwind
colors: {
custom: {
50: '#d06981',
500: '#b21451',
950: '#000000',
},
}SCSS
$custom: #b21451; $custom-light: #d06981; $custom-dark: #000000;
JSON
{
"hex": "#b21451",
"rgb": {
"r": 178,
"g": 20,
"b": 81
},
"hsl": {
"h": 336.835,
"s": 79.798,
"l": 38.824
},
"oklch": {
"l": 0.49733,
"c": 0.18922,
"h": 6.4
},
"luminance": 0.10559
}Semantic roles & 50–950 ramp
primary
#B21451
secondary
#53CE9F
accent
#F6AA32
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15070A
muted
#837A7C