#B52252#B52252
#B52252 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.182 H 8.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B52252 |
|---|---|
| RGB | rgb(181, 34, 82) |
| HSL | hsl(340, 68%, 42%) |
| HSV | hsv(340, 81%, 71%) |
| CMYK | cmyk(0%, 81.2%, 54.7%, 29%) |
| CIE-LAB | lab(40.54, 59.29, 10.03) |
| CIE-LCH | lch(40.54, 60.14, 9.61°) |
| OKLab | oklab(51.1% 0.1806 0.0256) |
| OKLCH | oklch(51.1% 0.182 8.1) |
| XYZ | xyz(21.1531, 11.5801, 9.1023) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.73
Raspberry (survey)
#B00149
ΔE00 2.94
Light Burgundy
#A8415B
ΔE00 4.81
Deep Pink
#CB0162
ΔE00 4.92
Ruby
#CA0147
ΔE00 5.38
Rouge
#AB1239
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52252 #22B585
analogous
#B5229C #B52252 #B53B22
triadic
#B52252 #52B522 #2252B5
tetradic
#B52252 #9CB522 #22B585 #3B22B5
square
#B52252 #9CB522 #22B585 #3B22B5
split-complementary
#B52252 #22B53B #229CB5
monochromatic
#4E0F23 #81183B #B52252 #DA3A6E #E46E94
Accessibility & contrast
On white
6.33
#B52252 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#B52252 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52252
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52252 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4D53
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#C60038
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b52252; /* rgb */ color: rgb(181, 34, 82); /* oklch */ color: oklch(51.1% 0.182 8.1);
Tailwind
colors: {
custom: {
50: '#d26e82',
500: '#b52252',
950: '#000000',
},
}SCSS
$custom: #b52252; $custom-light: #d26e82; $custom-dark: #000000;
JSON
{
"hex": "#b52252",
"rgb": {
"r": 181,
"g": 34,
"b": 82
},
"hsl": {
"h": 340.408,
"s": 68.372,
"l": 42.157
},
"oklch": {
"l": 0.511,
"c": 0.18239,
"h": 8.1
},
"luminance": 0.11577
}Semantic roles & 50–950 ramp
primary
#B52252
secondary
#69CAAA
accent
#EBB23D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C