#B52F79#B52F79
#B52F79 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.183 H 351.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B52F79 |
|---|---|
| RGB | rgb(181, 47, 121) |
| HSL | hsl(327, 59%, 45%) |
| HSV | hsv(327, 74%, 71%) |
| CMYK | cmyk(0%, 74%, 33.1%, 29%) |
| CIE-LAB | lab(43.12, 59.09, -10.61) |
| CIE-LCH | lch(43.12, 60.04, 349.82°) |
| OKLab | oklab(53.39% 0.1808 -0.0275) |
| OKLCH | oklch(53.39% 0.183 351.4) |
| XYZ | xyz(23.5251, 13.2400, 19.4022) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.09
Mediumvioletred
#C71585
ΔE00 3.62
Deep Pink
#CB0162
ΔE00 7.45
Red Violet
#9E0168
ΔE00 7.49
Deep Magenta
#A0025C
ΔE00 7.74
Dark Fuchsia
#9D0759
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52F79 #2FB56B
analogous
#AE2FB5 #B52F79 #B52F36
triadic
#B52F79 #79B52F #2F79B5
tetradic
#B52F79 #B5AE2F #2FB56B #2F36B5
square
#B52F79 #B5AE2F #2FB56B #2F36B5
split-complementary
#B52F79 #36B52F #2FB5AE
monochromatic
#541638 #842259 #B52F79 #D15097 #DE80B4
Accessibility & contrast
On white
5.76
#B52F79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#B52F79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52F79
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52F79 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46577B
Deuteranopia (green-blind)
#6C6F76
Tritanopia (blue-blind)
#C32550
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #b52f79; /* rgb */ color: rgb(181, 47, 121); /* oklch */ color: oklch(53.4% 0.183 351.4);
Tailwind
colors: {
custom: {
50: '#d0749f',
500: '#b52f79',
950: '#000000',
},
}SCSS
$custom: #b52f79; $custom-light: #d0749f; $custom-dark: #000000;
JSON
{
"hex": "#b52f79",
"rgb": {
"r": 181,
"g": 47,
"b": 121
},
"hsl": {
"h": 326.866,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.53385,
"c": 0.18292,
"h": 351.4
},
"luminance": 0.13237
}Semantic roles & 50–950 ramp
primary
#B52F79
secondary
#79C79C
accent
#E28C46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E