#B52F62#B52F62
#B52F62 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.174 H 2.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B52F62 |
|---|---|
| RGB | rgb(181, 47, 98) |
| HSL | hsl(337, 59%, 45%) |
| HSV | hsv(337, 74%, 71%) |
| CMYK | cmyk(0%, 74%, 45.9%, 29%) |
| CIE-LAB | lab(42.37, 56.69, 2.57) |
| CIE-LCH | lch(42.37, 56.74, 2.59°) |
| OKLab | oklab(52.59% 0.1737 0.0072) |
| OKLCH | oklch(52.59% 0.174 2.4) |
| XYZ | xyz(22.2790, 12.7416, 12.8391) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.95
Light Burgundy
#A8415B
ΔE00 4.51
Purplish Red
#B0054B
ΔE00 5.67
Raspberry (survey)
#B00149
ΔE00 6.11
Dark Hot Pink
#D90166
ΔE00 6.22
Violet Red
#A50055
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52F62 #2FB582
analogous
#B52FA5 #B52F62 #B53F2F
triadic
#B52F62 #62B52F #2F62B5
tetradic
#B52F62 #A5B52F #2FB582 #3F2FB5
square
#B52F62 #A5B52F #2FB582 #3F2FB5
split-complementary
#B52F62 #2FB53F #2FA5B5
monochromatic
#54162D #842248 #B52F62 #D15081 #DE80A4
Accessibility & contrast
On white
5.92
#B52F62 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#B52F62 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52F62
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52F62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52F62 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5363
Deuteranopia (green-blind)
#716D5F
Tritanopia (blue-blind)
#C51645
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b52f62; /* rgb */ color: rgb(181, 47, 98); /* oklch */ color: oklch(52.6% 0.174 2.4);
Tailwind
colors: {
custom: {
50: '#d1738e',
500: '#b52f62',
950: '#000000',
},
}SCSS
$custom: #b52f62; $custom-light: #d1738e; $custom-dark: #000000;
JSON
{
"hex": "#b52f62",
"rgb": {
"r": 181,
"g": 47,
"b": 98
},
"hsl": {
"h": 337.164,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.52587,
"c": 0.17386,
"h": 2.4
},
"luminance": 0.12739
}Semantic roles & 50–950 ramp
primary
#B52F62
secondary
#79C7A9
accent
#E2A746
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D