#B52F5B#B52F5B
#B52F5B is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.172 H 5.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B52F5B |
|---|---|
| RGB | rgb(181, 47, 91) |
| HSL | hsl(340, 59%, 45%) |
| HSV | hsv(340, 74%, 71%) |
| CMYK | cmyk(0%, 74%, 49.7%, 29%) |
| CIE-LAB | lab(42.18, 56.06, 6.67) |
| CIE-LCH | lch(42.18, 56.45, 6.79°) |
| OKLab | oklab(52.38% 0.1712 0.0175) |
| OKLCH | oklch(52.38% 0.172 5.8) |
| XYZ | xyz(21.9628, 12.6151, 11.1739) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.57
Deep Pink
#CB0162
ΔE00 4.26
Purplish Red
#B0054B
ΔE00 4.64
Raspberry (survey)
#B00149
ΔE00 4.98
Dark Rose
#B5485D
ΔE00 5.44
Light Maroon
#A24857
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52F5B #2FB589
analogous
#B52F9E #B52F5B #B5462F
triadic
#B52F5B #5BB52F #2F5BB5
tetradic
#B52F5B #9EB52F #2FB589 #462FB5
square
#B52F5B #9EB52F #2FB589 #462FB5
split-complementary
#B52F5B #2FB546 #2F9EB5
monochromatic
#54162A #842243 #B52F5B #D1507A #DE809F
Accessibility & contrast
On white
5.96
#B52F5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#B52F5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52F5B
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52F5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52F5B | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F535C
Deuteranopia (green-blind)
#736D58
Tritanopia (blue-blind)
#C51141
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b52f5b; /* rgb */ color: rgb(181, 47, 91); /* oklch */ color: oklch(52.4% 0.172 5.8);
Tailwind
colors: {
custom: {
50: '#d17389',
500: '#b52f5b',
950: '#000000',
},
}SCSS
$custom: #b52f5b; $custom-light: #d17389; $custom-dark: #000000;
JSON
{
"hex": "#b52f5b",
"rgb": {
"r": 181,
"g": 47,
"b": 91
},
"hsl": {
"h": 340.299,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.52381,
"c": 0.17207,
"h": 5.8
},
"luminance": 0.12612
}Semantic roles & 50–950 ramp
primary
#B52F5B
secondary
#79C7AD
accent
#E2AF46
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C