#B52A6B#B52A6B
#B52A6B is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.182 H 357.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B52A6B |
|---|---|
| RGB | rgb(181, 42, 107) |
| HSL | hsl(332, 62%, 44%) |
| HSV | hsv(332, 77%, 71%) |
| CMYK | cmyk(0%, 76.8%, 40.9%, 29%) |
| CIE-LAB | lab(42.07, 59.19, -3.50) |
| CIE-LCH | lch(42.07, 59.29, 356.62°) |
| OKLab | oklab(52.46% 0.1819 -0.0084) |
| OKLCH | oklch(52.46% 0.182 357.3) |
| XYZ | xyz(22.5395, 12.5441, 15.1414) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.02
Deep Pink
#CB0162
ΔE00 4.95
Mediumvioletred
#C71585
ΔE00 5.88
Violet Red
#A50055
ΔE00 6.10
Deep Magenta
#A0025C
ΔE00 6.50
Dark Fuchsia
#9D0759
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52A6B #2AB574
analogous
#B52AB0 #B52A6B #B52E2A
triadic
#B52A6B #6BB52A #2A6BB5
tetradic
#B52A6B #B0B52A #2AB574 #2E2AB5
square
#B52A6B #B0B52A #2AB574 #2E2AB5
split-complementary
#B52A6B #2AB52E #2AB0B5
monochromatic
#521330 #831E4E #B52A6B #D4488A #E079A9
Accessibility & contrast
On white
5.99
#B52A6B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#B52A6B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52A6B
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52A6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52A6B | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48536D
Deuteranopia (green-blind)
#6E6D68
Tritanopia (blue-blind)
#C41447
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b52a6b; /* rgb */ color: rgb(181, 42, 107); /* oklch */ color: oklch(52.5% 0.182 357.3);
Tailwind
colors: {
custom: {
50: '#d07195',
500: '#b52a6b',
950: '#000000',
},
}SCSS
$custom: #b52a6b; $custom-light: #d07195; $custom-dark: #000000;
JSON
{
"hex": "#b52a6b",
"rgb": {
"r": 181,
"g": 42,
"b": 107
},
"hsl": {
"h": 331.942,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.52455,
"c": 0.18212,
"h": 357.3
},
"luminance": 0.12541
}Semantic roles & 50–950 ramp
primary
#B52A6B
secondary
#73C8A0
accent
#E59942
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E