#B52F85#B52F85
#B52F85 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.189 H 346.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B52F85 |
|---|---|
| RGB | rgb(181, 47, 133) |
| HSL | hsl(321, 59%, 45%) |
| HSV | hsv(321, 74%, 71%) |
| CMYK | cmyk(0%, 74%, 26.5%, 29%) |
| CIE-LAB | lab(43.58, 60.54, -17.27) |
| CIE-LCH | lch(43.58, 62.96, 344.08°) |
| OKLab | oklab(53.87% 0.1837 -0.0458) |
| OKLCH | oklch(53.87% 0.189 346) |
| XYZ | xyz(24.3073, 13.5529, 23.5216) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.21
Magenta (survey)
#C20078
ΔE00 4.24
Ugly Purple
#A442A0
ΔE00 7.37
Red Violet
#9E0168
ΔE00 8.01
Warm Purple
#952E8F
ΔE00 8.26
Light Plum
#9D5783
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52F85 #2FB55F
analogous
#A22FB5 #B52F85 #B52F42
triadic
#B52F85 #85B52F #2F85B5
tetradic
#B52F85 #B5A22F #2FB55F #2F42B5
square
#B52F85 #B5A22F #2FB55F #2F42B5
split-complementary
#B52F85 #42B52F #2FB5A2
monochromatic
#54163E #842261 #B52F85 #D150A3 #DE80BC
Accessibility & contrast
On white
5.66
#B52F85 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#B52F85 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52F85
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52F85 | 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)
#415887
Deuteranopia (green-blind)
#696F82
Tritanopia (blue-blind)
#C12C56
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #b52f85; /* rgb */ color: rgb(181, 47, 133); /* oklch */ color: oklch(53.9% 0.189 346.0);
Tailwind
colors: {
custom: {
50: '#cf74a8',
500: '#b52f85',
950: '#000000',
},
}SCSS
$custom: #b52f85; $custom-light: #cf74a8; $custom-dark: #000000;
JSON
{
"hex": "#b52f85",
"rgb": {
"r": 181,
"g": 47,
"b": 133
},
"hsl": {
"h": 321.493,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.53873,
"c": 0.18931,
"h": 346
},
"luminance": 0.1355
}Semantic roles & 50–950 ramp
primary
#B52F85
secondary
#79C795
accent
#E27E46
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F