#B52A6E#B52A6E
#B52A6E is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.183 H 355.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B52A6E |
|---|---|
| RGB | rgb(181, 42, 110) |
| HSL | hsl(331, 62%, 44%) |
| HSV | hsv(331, 77%, 71%) |
| CMYK | cmyk(0%, 76.8%, 39.2%, 29%) |
| CIE-LAB | lab(42.17, 59.50, -5.22) |
| CIE-LCH | lch(42.17, 59.73, 354.98°) |
| OKLab | oklab(52.56% 0.1828 -0.013) |
| OKLCH | oklch(52.56% 0.183 355.9) |
| XYZ | xyz(22.7001, 12.6083, 15.9871) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.48
Mediumvioletred
#C71585
ΔE00 5.24
Deep Pink
#CB0162
ΔE00 5.48
Violet Red
#A50055
ΔE00 6.43
Deep Magenta
#A0025C
ΔE00 6.53
Dark Fuchsia
#9D0759
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52A6E #2AB571
analogous
#B52AB3 #B52A6E #B52B2A
triadic
#B52A6E #6EB52A #2A6EB5
tetradic
#B52A6E #B3B52A #2AB571 #2B2AB5
square
#B52A6E #B3B52A #2AB571 #2B2AB5
split-complementary
#B52A6E #2AB52B #2AB3B5
monochromatic
#521332 #831E50 #B52A6E #D4488D #E079AC
Accessibility & contrast
On white
5.96
#B52A6E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#B52A6E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52A6E
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52A6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52A6E | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475370
Deuteranopia (green-blind)
#6D6D6B
Tritanopia (blue-blind)
#C41748
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b52a6e; /* rgb */ color: rgb(181, 42, 110); /* oklch */ color: oklch(52.6% 0.183 355.9);
Tailwind
colors: {
custom: {
50: '#d07197',
500: '#b52a6e',
950: '#000000',
},
}SCSS
$custom: #b52a6e; $custom-light: #d07197; $custom-dark: #000000;
JSON
{
"hex": "#b52a6e",
"rgb": {
"r": 181,
"g": 42,
"b": 110
},
"hsl": {
"h": 330.647,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.5256,
"c": 0.1833,
"h": 355.9
},
"luminance": 0.12605
}Semantic roles & 50–950 ramp
primary
#B52A6E
secondary
#73C89E
accent
#E59642
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E