#B52C7E#B52C7E
#B52C7E is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.189 H 348.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B52C7E |
|---|---|
| RGB | rgb(181, 44, 126) |
| HSL | hsl(324, 61%, 44%) |
| HSV | hsv(324, 76%, 71%) |
| CMYK | cmyk(0%, 75.7%, 30.4%, 29%) |
| CIE-LAB | lab(42.96, 60.65, -13.93) |
| CIE-LCH | lch(42.96, 62.23, 347.07°) |
| OKLab | oklab(53.33% 0.1852 -0.0365) |
| OKLCH | oklch(53.33% 0.189 348.8) |
| XYZ | xyz(23.7239, 13.1342, 21.0204) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.10
Magenta (survey)
#C20078
ΔE00 3.17
Red Violet
#9E0168
ΔE00 7.26
Deep Magenta
#A0025C
ΔE00 8.09
Deep Pink
#CB0162
ΔE00 8.54
Dark Fuchsia
#9D0759
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52C7E #2CB563
analogous
#A82CB5 #B52C7E #B52C39
triadic
#B52C7E #7EB52C #2C7EB5
tetradic
#B52C7E #B5A82C #2CB563 #2C39B5
square
#B52C7E #B5A82C #2CB563 #2C39B5
split-complementary
#B52C7E #39B52C #2CB5A8
monochromatic
#531439 #84205C #B52C7E #D34B9D #DF7CB7
Accessibility & contrast
On white
5.79
#B52C7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#B52C7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52C7E
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52C7E | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#425680
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#C22451
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b52c7e; /* rgb */ color: rgb(181, 44, 126); /* oklch */ color: oklch(53.3% 0.189 348.8);
Tailwind
colors: {
custom: {
50: '#d073a3',
500: '#b52c7e',
950: '#000000',
},
}SCSS
$custom: #b52c7e; $custom-light: #d073a3; $custom-dark: #000000;
JSON
{
"hex": "#b52c7e",
"rgb": {
"r": 181,
"g": 44,
"b": 126
},
"hsl": {
"h": 324.088,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.53331,
"c": 0.18873,
"h": 348.8
},
"luminance": 0.13131
}Semantic roles & 50–950 ramp
primary
#B52C7E
secondary
#75C896
accent
#E48444
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15090F
muted
#837B7F