#B42251#B42251
#B42251 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.181 H 8.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B42251 |
|---|---|
| RGB | rgb(180, 34, 81) |
| HSL | hsl(341, 68%, 42%) |
| HSV | hsv(341, 81%, 71%) |
| CMYK | cmyk(0%, 81.1%, 55%, 29.4%) |
| CIE-LAB | lab(40.32, 58.95, 10.33) |
| CIE-LCH | lch(40.32, 59.84, 9.94°) |
| OKLab | oklab(50.89% 0.1794 0.0263) |
| OKLCH | oklch(50.89% 0.181 8.3) |
| XYZ | xyz(20.8816, 11.4445, 8.8924) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.59
Raspberry (survey)
#B00149
ΔE00 2.78
Light Burgundy
#A8415B
ΔE00 4.84
Deep Pink
#CB0162
ΔE00 5.18
Ruby
#CA0147
ΔE00 5.37
Rouge
#AB1239
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42251 #22B485
analogous
#B4229A #B42251 #B43C22
triadic
#B42251 #51B422 #2251B4
tetradic
#B42251 #9AB422 #22B485 #3C22B4
square
#B42251 #9AB422 #22B485 #3C22B4
split-complementary
#B42251 #22B43C #229AB4
monochromatic
#4D0F23 #81183A #B42251 #DA3A6D #E36D93
Accessibility & contrast
On white
6.39
#B42251 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B42251 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42251
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42251 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42251 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4C52
Deuteranopia (green-blind)
#70694D
Tritanopia (blue-blind)
#C50037
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42251; /* rgb */ color: rgb(180, 34, 81); /* oklch */ color: oklch(50.9% 0.181 8.3);
Tailwind
colors: {
custom: {
50: '#d16d81',
500: '#b42251',
950: '#000000',
},
}SCSS
$custom: #b42251; $custom-light: #d16d81; $custom-dark: #000000;
JSON
{
"hex": "#b42251",
"rgb": {
"r": 180,
"g": 34,
"b": 81
},
"hsl": {
"h": 340.685,
"s": 68.224,
"l": 41.961
},
"oklch": {
"l": 0.50894,
"c": 0.18136,
"h": 8.3
},
"luminance": 0.11441
}Semantic roles & 50–950 ramp
primary
#B42251
secondary
#68CAAA
accent
#EBB33D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C