#B52B5A#B52B5A
#B52B5A is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.176 H 5.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B52B5A |
|---|---|
| RGB | rgb(181, 43, 90) |
| HSL | hsl(340, 62%, 44%) |
| HSV | hsv(340, 76%, 71%) |
| CMYK | cmyk(0%, 76.2%, 50.3%, 29%) |
| CIE-LAB | lab(41.68, 57.30, 6.59) |
| CIE-LCH | lch(41.68, 57.68, 6.56°) |
| OKLab | oklab(52% 0.1751 0.0173) |
| OKLCH | oklch(52% 0.176 5.6) |
| XYZ | xyz(21.7673, 12.2927, 10.8974) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.99
Deep Pink
#CB0162
ΔE00 4.10
Purplish Red
#B0054B
ΔE00 4.15
Raspberry (survey)
#B00149
ΔE00 4.51
Dark Rose
#B5485D
ΔE00 5.98
Dark Hot Pink
#D90166
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52B5A #2BB586
analogous
#B52B9F #B52B5A #B5412B
triadic
#B52B5A #5AB52B #2B5AB5
tetradic
#B52B5A #9FB52B #2BB586 #412BB5
square
#B52B5A #9FB52B #2BB586 #412BB5
split-complementary
#B52B5A #2BB541 #2B9FB5
monochromatic
#521429 #841F41 #B52B5A #D44979 #E07B9D
Accessibility & contrast
On white
6.07
#B52B5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#B52B5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52B5A
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52B5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52B5A | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D515B
Deuteranopia (green-blind)
#726C57
Tritanopia (blue-blind)
#C5043F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b52b5a; /* rgb */ color: rgb(181, 43, 90); /* oklch */ color: oklch(52.0% 0.176 5.6);
Tailwind
colors: {
custom: {
50: '#d17188',
500: '#b52b5a',
950: '#000000',
},
}SCSS
$custom: #b52b5a; $custom-light: #d17188; $custom-dark: #000000;
JSON
{
"hex": "#b52b5a",
"rgb": {
"r": 181,
"g": 43,
"b": 90
},
"hsl": {
"h": 339.565,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.52004,
"c": 0.17593,
"h": 5.6
},
"luminance": 0.1229
}Semantic roles & 50–950 ramp
primary
#B52B5A
secondary
#74C8AB
accent
#E5AE43
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C