#B52F6F#B52F6F
#B52F6F is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.178 H 356.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B52F6F |
|---|---|
| RGB | rgb(181, 47, 111) |
| HSL | hsl(331, 59%, 45%) |
| HSV | hsv(331, 74%, 71%) |
| CMYK | cmyk(0%, 74%, 38.7%, 29%) |
| CIE-LAB | lab(42.77, 57.98, -4.94) |
| CIE-LCH | lch(42.77, 58.20, 355.13°) |
| OKLab | oklab(53.02% 0.178 -0.0123) |
| OKLCH | oklch(53.02% 0.178 356.1) |
| XYZ | xyz(22.9434, 13.0073, 16.3383) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.87
Mediumvioletred
#C71585
ΔE00 5.32
Deep Pink
#CB0162
ΔE00 5.53
Violet Red
#A50055
ΔE00 6.95
Deep Magenta
#A0025C
ΔE00 7.11
Light Burgundy
#A8415B
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52F6F #2FB575
analogous
#B52FB2 #B52F6F #B5322F
triadic
#B52F6F #6FB52F #2F6FB5
tetradic
#B52F6F #B2B52F #2FB575 #322FB5
square
#B52F6F #B2B52F #2FB575 #322FB5
split-complementary
#B52F6F #2FB532 #2FB2B5
monochromatic
#541633 #842251 #B52F6F #D1508E #DE80AD
Accessibility & contrast
On white
5.83
#B52F6F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#B52F6F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52F6F
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52F6F | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5571
Deuteranopia (green-blind)
#6F6E6C
Tritanopia (blue-blind)
#C41F4B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b52f6f; /* rgb */ color: rgb(181, 47, 111); /* oklch */ color: oklch(53.0% 0.178 356.1);
Tailwind
colors: {
custom: {
50: '#d07498',
500: '#b52f6f',
950: '#000000',
},
}SCSS
$custom: #b52f6f; $custom-light: #d07498; $custom-dark: #000000;
JSON
{
"hex": "#b52f6f",
"rgb": {
"r": 181,
"g": 47,
"b": 111
},
"hsl": {
"h": 331.343,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.53016,
"c": 0.17841,
"h": 356.1
},
"luminance": 0.13004
}Semantic roles & 50–950 ramp
primary
#B52F6F
secondary
#79C7A2
accent
#E29746
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E