#B42151#B42151
#B42151 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.182 H 8.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B42151 |
|---|---|
| RGB | rgb(180, 33, 81) |
| HSL | hsl(340, 69%, 42%) |
| HSV | hsv(340, 82%, 71%) |
| CMYK | cmyk(0%, 81.7%, 55%, 29.4%) |
| CIE-LAB | lab(40.23, 59.21, 10.20) |
| CIE-LCH | lch(40.23, 60.08, 9.77°) |
| OKLab | oklab(50.83% 0.1803 0.026) |
| OKLCH | oklch(50.83% 0.182 8.2) |
| XYZ | xyz(20.8535, 11.3881, 8.8831) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.48
Raspberry (survey)
#B00149
ΔE00 2.68
Light Burgundy
#A8415B
ΔE00 4.92
Deep Pink
#CB0162
ΔE00 5.14
Ruby
#CA0147
ΔE00 5.44
Rouge
#AB1239
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42151 #21B484
analogous
#B4219B #B42151 #B43B21
triadic
#B42151 #51B421 #2151B4
tetradic
#B42151 #9BB421 #21B484 #3B21B4
square
#B42151 #9BB421 #21B484 #3B21B4
split-complementary
#B42151 #21B43B #219BB4
monochromatic
#4D0E22 #80183A #B42151 #DA386D #E46B93
Accessibility & contrast
On white
6.41
#B42151 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B42151 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42151
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42151 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4C52
Deuteranopia (green-blind)
#70694D
Tritanopia (blue-blind)
#C50037
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42151; /* rgb */ color: rgb(180, 33, 81); /* oklch */ color: oklch(50.8% 0.182 8.2);
Tailwind
colors: {
custom: {
50: '#d16d81',
500: '#b42151',
950: '#000000',
},
}SCSS
$custom: #b42151; $custom-light: #d16d81; $custom-dark: #000000;
JSON
{
"hex": "#b42151",
"rgb": {
"r": 180,
"g": 33,
"b": 81
},
"hsl": {
"h": 340.408,
"s": 69.014,
"l": 41.765
},
"oklch": {
"l": 0.50826,
"c": 0.18215,
"h": 8.2
},
"luminance": 0.11385
}Semantic roles & 50–950 ramp
primary
#B42151
secondary
#67CAAA
accent
#ECB23C
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C