#B52A57#B52A57
#B52A57 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.176 H 6.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B52A57 |
|---|---|
| RGB | rgb(181, 42, 87) |
| HSL | hsl(341, 62%, 44%) |
| HSV | hsv(341, 77%, 71%) |
| CMYK | cmyk(0%, 76.8%, 51.9%, 29%) |
| CIE-LAB | lab(41.49, 57.37, 8.20) |
| CIE-LCH | lch(41.49, 57.95, 8.14°) |
| OKLab | oklab(51.84% 0.175 0.0212) |
| OKLCH | oklch(51.84% 0.176 6.9) |
| XYZ | xyz(21.6063, 12.1708, 10.2265) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.77
Light Burgundy
#A8415B
ΔE00 3.98
Raspberry (survey)
#B00149
ΔE00 4.07
Deep Pink
#CB0162
ΔE00 4.45
Dark Rose
#B5485D
ΔE00 5.78
Ruby
#CA0147
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52A57 #2AB588
analogous
#B52A9C #B52A57 #B5432A
triadic
#B52A57 #57B52A #2A57B5
tetradic
#B52A57 #9CB52A #2AB588 #432AB5
square
#B52A57 #9CB52A #2AB588 #432AB5
split-complementary
#B52A57 #2AB543 #2A9CB5
monochromatic
#521327 #831E3F #B52A57 #D44875 #E0799B
Accessibility & contrast
On white
6.12
#B52A57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#B52A57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52A57
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52A57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52A57 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5058
Deuteranopia (green-blind)
#726C54
Tritanopia (blue-blind)
#C5003D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b52a57; /* rgb */ color: rgb(181, 42, 87); /* oklch */ color: oklch(51.8% 0.176 6.9);
Tailwind
colors: {
custom: {
50: '#d17186',
500: '#b52a57',
950: '#000000',
},
}SCSS
$custom: #b52a57; $custom-light: #d17186; $custom-dark: #000000;
JSON
{
"hex": "#b52a57",
"rgb": {
"r": 181,
"g": 42,
"b": 87
},
"hsl": {
"h": 340.576,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.51837,
"c": 0.17626,
"h": 6.9
},
"luminance": 0.12168
}Semantic roles & 50–950 ramp
primary
#B52A57
secondary
#73C8AC
accent
#E5B142
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C