#B52A6A#B52A6A
#B52A6A is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.182 H 357.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B52A6A |
|---|---|
| RGB | rgb(181, 42, 106) |
| HSL | hsl(332, 62%, 44%) |
| HSV | hsv(332, 77%, 71%) |
| CMYK | cmyk(0%, 76.8%, 41.4%, 29%) |
| CIE-LAB | lab(42.04, 59.09, -2.92) |
| CIE-LCH | lch(42.04, 59.16, 357.17°) |
| OKLab | oklab(52.42% 0.1816 -0.0069) |
| OKLCH | oklch(52.42% 0.182 357.8) |
| XYZ | xyz(22.4872, 12.5232, 14.8659) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.22
Deep Pink
#CB0162
ΔE00 4.79
Violet Red
#A50055
ΔE00 6.01
Mediumvioletred
#C71585
ΔE00 6.10
Deep Magenta
#A0025C
ΔE00 6.52
Light Burgundy
#A8415B
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52A6A #2AB575
analogous
#B52AAF #B52A6A #B52F2A
triadic
#B52A6A #6AB52A #2A6AB5
tetradic
#B52A6A #AFB52A #2AB575 #2F2AB5
square
#B52A6A #AFB52A #2AB575 #2F2AB5
split-complementary
#B52A6A #2AB52F #2AAFB5
monochromatic
#521330 #831E4D #B52A6A #D44889 #E079A9
Accessibility & contrast
On white
5.99
#B52A6A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#B52A6A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52A6A
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52A6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52A6A | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48526C
Deuteranopia (green-blind)
#6E6D67
Tritanopia (blue-blind)
#C41346
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b52a6a; /* rgb */ color: rgb(181, 42, 106); /* oklch */ color: oklch(52.4% 0.182 357.8);
Tailwind
colors: {
custom: {
50: '#d07194',
500: '#b52a6a',
950: '#000000',
},
}SCSS
$custom: #b52a6a; $custom-light: #d07194; $custom-dark: #000000;
JSON
{
"hex": "#b52a6a",
"rgb": {
"r": 181,
"g": 42,
"b": 106
},
"hsl": {
"h": 332.374,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.52421,
"c": 0.18173,
"h": 357.8
},
"luminance": 0.1252
}Semantic roles & 50–950 ramp
primary
#B52A6A
secondary
#73C8A1
accent
#E59A42
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E