#B52A7E#B52A7E
#B52A7E is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.191 H 348.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B52A7E |
|---|---|
| RGB | rgb(181, 42, 126) |
| HSL | hsl(324, 62%, 44%) |
| HSV | hsv(324, 77%, 71%) |
| CMYK | cmyk(0%, 76.8%, 30.4%, 29%) |
| CIE-LAB | lab(42.75, 61.27, -14.26) |
| CIE-LCH | lch(42.75, 62.91, 346.90°) |
| OKLab | oklab(53.17% 0.1871 -0.0374) |
| OKLCH | oklch(53.17% 0.191 348.7) |
| XYZ | xyz(23.6512, 12.9888, 20.9962) |
| Luminance | 0.1299 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.08
Magenta (survey)
#C20078
ΔE00 3.08
Red Violet
#9E0168
ΔE00 7.06
Deep Magenta
#A0025C
ΔE00 7.96
Dark Fuchsia
#9D0759
ΔE00 8.56
Deep Pink
#CB0162
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52A7E #2AB561
analogous
#A62AB5 #B52A7E #B52A38
triadic
#B52A7E #7EB52A #2A7EB5
tetradic
#B52A7E #B5A62A #2AB561 #2A38B5
square
#B52A7E #B5A62A #2AB561 #2A38B5
split-complementary
#B52A7E #38B52A #2AB5A6
monochromatic
#521339 #831E5B #B52A7E #D4489D #E079B7
Accessibility & contrast
On white
5.84
#B52A7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#B52A7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52A7E
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52A7E | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405580
Deuteranopia (green-blind)
#696E7B
Tritanopia (blue-blind)
#C22251
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b52a7e; /* rgb */ color: rgb(181, 42, 126); /* oklch */ color: oklch(53.2% 0.191 348.7);
Tailwind
colors: {
custom: {
50: '#d072a3',
500: '#b52a7e',
950: '#000000',
},
}SCSS
$custom: #b52a7e; $custom-light: #d072a3; $custom-dark: #000000;
JSON
{
"hex": "#b52a7e",
"rgb": {
"r": 181,
"g": 42,
"b": 126
},
"hsl": {
"h": 323.741,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.53172,
"c": 0.19081,
"h": 348.7
},
"luminance": 0.12986
}Semantic roles & 50–950 ramp
primary
#B52A7E
secondary
#73C895
accent
#E58342
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15090F
muted
#837B7F