#B42152#B42152
#B42152 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.182 H 7.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B42152 |
|---|---|
| RGB | rgb(180, 33, 82) |
| HSL | hsl(340, 69%, 42%) |
| HSV | hsv(340, 82%, 71%) |
| CMYK | cmyk(0%, 81.7%, 54.4%, 29.4%) |
| CIE-LAB | lab(40.25, 59.28, 9.60) |
| CIE-LCH | lch(40.25, 60.06, 9.20°) |
| OKLab | oklab(50.85% 0.1807 0.0246) |
| OKLCH | oklch(50.85% 0.182 7.7) |
| XYZ | xyz(20.8912, 11.4033, 9.0820) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.49
Raspberry (survey)
#B00149
ΔE00 2.74
Light Burgundy
#A8415B
ΔE00 4.89
Deep Pink
#CB0162
ΔE00 4.96
Ruby
#CA0147
ΔE00 5.66
Violet Red
#A50055
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42152 #21B483
analogous
#B4219C #B42152 #B43A21
triadic
#B42152 #52B421 #2152B4
tetradic
#B42152 #9CB421 #21B483 #3A21B4
square
#B42152 #9CB421 #21B483 #3A21B4
split-complementary
#B42152 #21B43A #219CB4
monochromatic
#4D0E23 #80183A #B42152 #DA386E #E46B94
Accessibility & contrast
On white
6.40
#B42152 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B42152 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42152
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42152 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4C53
Deuteranopia (green-blind)
#70694E
Tritanopia (blue-blind)
#C50037
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42152; /* rgb */ color: rgb(180, 33, 82); /* oklch */ color: oklch(50.9% 0.182 7.7);
Tailwind
colors: {
custom: {
50: '#d16d82',
500: '#b42152',
950: '#000000',
},
}SCSS
$custom: #b42152; $custom-light: #d16d82; $custom-dark: #000000;
JSON
{
"hex": "#b42152",
"rgb": {
"r": 180,
"g": 33,
"b": 82
},
"hsl": {
"h": 340,
"s": 69.014,
"l": 41.765
},
"oklch": {
"l": 0.50852,
"c": 0.18233,
"h": 7.7
},
"luminance": 0.114
}Semantic roles & 50–950 ramp
primary
#B42152
secondary
#67CAA9
accent
#ECB13C
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C