#B52B5E#B52B5E
#B52B5E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.177 H 3.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B52B5E |
|---|---|
| RGB | rgb(181, 43, 94) |
| HSL | hsl(338, 62%, 44%) |
| HSV | hsv(338, 76%, 71%) |
| CMYK | cmyk(0%, 76.2%, 48.1%, 29%) |
| CIE-LAB | lab(41.79, 57.65, 4.23) |
| CIE-LCH | lch(41.79, 57.80, 4.20°) |
| OKLab | oklab(52.12% 0.1765 0.0114) |
| OKLCH | oklch(52.12% 0.177 3.7) |
| XYZ | xyz(21.9422, 12.3626, 11.8183) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.81
Light Burgundy
#A8415B
ΔE00 4.41
Purplish Red
#B0054B
ΔE00 4.74
Raspberry (survey)
#B00149
ΔE00 5.16
Violet Red
#A50055
ΔE00 5.98
Dark Hot Pink
#D90166
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52B5E #2BB582
analogous
#B52BA3 #B52B5E #B53D2B
triadic
#B52B5E #5EB52B #2B5EB5
tetradic
#B52B5E #A3B52B #2BB582 #3D2BB5
square
#B52B5E #A3B52B #2BB582 #3D2BB5
split-complementary
#B52B5E #2BB53D #2BA3B5
monochromatic
#52142B #841F44 #B52B5E #D4497D #E07BA0
Accessibility & contrast
On white
6.05
#B52B5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#B52B5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52B5E
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52B5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52B5E | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C515F
Deuteranopia (green-blind)
#716C5B
Tritanopia (blue-blind)
#C50941
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b52b5e; /* rgb */ color: rgb(181, 43, 94); /* oklch */ color: oklch(52.1% 0.177 3.7);
Tailwind
colors: {
custom: {
50: '#d1718b',
500: '#b52b5e',
950: '#000000',
},
}SCSS
$custom: #b52b5e; $custom-light: #d1718b; $custom-dark: #000000;
JSON
{
"hex": "#b52b5e",
"rgb": {
"r": 181,
"g": 43,
"b": 94
},
"hsl": {
"h": 337.826,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.5212,
"c": 0.1769,
"h": 3.7
},
"luminance": 0.1236
}Semantic roles & 50–950 ramp
primary
#B52B5E
secondary
#74C8A9
accent
#E5A943
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D