#B42252#B42252
#B42252 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.182 H 7.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B42252 |
|---|---|
| RGB | rgb(180, 34, 82) |
| HSL | hsl(340, 68%, 42%) |
| HSV | hsv(340, 81%, 71%) |
| CMYK | cmyk(0%, 81.1%, 54.4%, 29.4%) |
| CIE-LAB | lab(40.34, 59.02, 9.73) |
| CIE-LCH | lch(40.34, 59.82, 9.36°) |
| OKLab | oklab(50.92% 0.1798 0.0249) |
| OKLCH | oklch(50.92% 0.182 7.9) |
| XYZ | xyz(20.9194, 11.4596, 9.0914) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.59
Raspberry (survey)
#B00149
ΔE00 2.83
Light Burgundy
#A8415B
ΔE00 4.80
Deep Pink
#CB0162
ΔE00 4.99
Ruby
#CA0147
ΔE00 5.59
Rouge
#AB1239
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42252 #22B484
analogous
#B4229B #B42252 #B43B22
triadic
#B42252 #52B422 #2252B4
tetradic
#B42252 #9BB422 #22B484 #3B22B4
square
#B42252 #9BB422 #22B484 #3B22B4
split-complementary
#B42252 #22B43B #229BB4
monochromatic
#4D0F23 #81183B #B42252 #DA3A6E #E36D94
Accessibility & contrast
On white
6.38
#B42252 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B42252 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42252
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42252 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 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: #b42252; /* rgb */ color: rgb(180, 34, 82); /* oklch */ color: oklch(50.9% 0.182 7.9);
Tailwind
colors: {
custom: {
50: '#d16d82',
500: '#b42252',
950: '#000000',
},
}SCSS
$custom: #b42252; $custom-light: #d16d82; $custom-dark: #000000;
JSON
{
"hex": "#b42252",
"rgb": {
"r": 180,
"g": 34,
"b": 82
},
"hsl": {
"h": 340.274,
"s": 68.224,
"l": 41.961
},
"oklch": {
"l": 0.5092,
"c": 0.18153,
"h": 7.9
},
"luminance": 0.11457
}Semantic roles & 50–950 ramp
primary
#B42252
secondary
#68CAAA
accent
#EBB23D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C