#B52B8F#B52B8F
#B52B8F is a mid, vivid pink. Relative luminance 0.135; OKLCH L 54.0% C 0.200 H 341.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B52B8F |
|---|---|
| RGB | rgb(181, 43, 143) |
| HSL | hsl(317, 62%, 44%) |
| HSV | hsv(317, 76%, 71%) |
| CMYK | cmyk(0%, 76.2%, 21%, 29%) |
| CIE-LAB | lab(43.56, 63.11, -23.40) |
| CIE-LCH | lch(43.56, 67.31, 339.66°) |
| OKLab | oklab(54% 0.1894 -0.0629) |
| OKLCH | oklch(54% 0.2 341.6) |
| XYZ | xyz(24.8787, 13.5372, 27.2840) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.36
Ugly Purple
#A442A0
ΔE00 5.64
Magenta (survey)
#C20078
ΔE00 5.86
Warm Purple
#952E8F
ΔE00 6.80
Medium Purple
#9E43A2
ΔE00 6.86
Barney Purple
#A00498
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52B8F #2BB551
analogous
#962BB5 #B52B8F #B52B4A
triadic
#B52B8F #8FB52B #2B8FB5
tetradic
#B52B8F #B5962B #2BB551 #2B4AB5
square
#B52B8F #B5962B #2BB551 #2B4AB5
split-complementary
#B52B8F #4AB52B #2BB596
monochromatic
#521441 #841F68 #B52B8F #D449AE #E07BC4
Accessibility & contrast
On white
5.66
#B52B8F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#B52B8F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52B8F
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52B8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52B8F | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385992
Deuteranopia (green-blind)
#646F8C
Tritanopia (blue-blind)
#C02E5A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #b52b8f; /* rgb */ color: rgb(181, 43, 143); /* oklch */ color: oklch(54.0% 0.200 341.6);
Tailwind
colors: {
custom: {
50: '#cf73b0',
500: '#b52b8f',
950: '#000000',
},
}SCSS
$custom: #b52b8f; $custom-light: #cf73b0; $custom-dark: #000000;
JSON
{
"hex": "#b52b8f",
"rgb": {
"r": 181,
"g": 43,
"b": 143
},
"hsl": {
"h": 316.522,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.53995,
"c": 0.19959,
"h": 341.6
},
"luminance": 0.13535
}Semantic roles & 50–950 ramp
primary
#B52B8F
secondary
#74C88B
accent
#E57043
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F