#B52B5F#B52B5F
#B52B5F is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.177 H 3.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B52B5F |
|---|---|
| RGB | rgb(181, 43, 95) |
| HSL | hsl(337, 62%, 44%) |
| HSV | hsv(337, 76%, 71%) |
| CMYK | cmyk(0%, 76.2%, 47.5%, 29%) |
| CIE-LAB | lab(41.81, 57.73, 3.64) |
| CIE-LCH | lch(41.81, 57.85, 3.61°) |
| OKLab | oklab(52.15% 0.1769 0.0099) |
| OKLCH | oklch(52.15% 0.177 3.2) |
| XYZ | xyz(21.9873, 12.3807, 12.0562) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.79
Light Burgundy
#A8415B
ΔE00 4.55
Purplish Red
#B0054B
ΔE00 4.92
Raspberry (survey)
#B00149
ΔE00 5.35
Violet Red
#A50055
ΔE00 5.92
Dark Hot Pink
#D90166
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52B5F #2BB581
analogous
#B52BA4 #B52B5F #B53C2B
triadic
#B52B5F #5FB52B #2B5FB5
tetradic
#B52B5F #A4B52B #2BB581 #3C2BB5
square
#B52B5F #A4B52B #2BB581 #3C2BB5
split-complementary
#B52B5F #2BB53C #2BA4B5
monochromatic
#52142B #841F45 #B52B5F #D4497E #E07BA1
Accessibility & contrast
On white
6.04
#B52B5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#B52B5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52B5F
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52B5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52B5F | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5160
Deuteranopia (green-blind)
#716C5C
Tritanopia (blue-blind)
#C50A41
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b52b5f; /* rgb */ color: rgb(181, 43, 95); /* oklch */ color: oklch(52.1% 0.177 3.2);
Tailwind
colors: {
custom: {
50: '#d1718c',
500: '#b52b5f',
950: '#000000',
},
}SCSS
$custom: #b52b5f; $custom-light: #d1718c; $custom-dark: #000000;
JSON
{
"hex": "#b52b5f",
"rgb": {
"r": 181,
"g": 43,
"b": 95
},
"hsl": {
"h": 337.391,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.5215,
"c": 0.17717,
"h": 3.2
},
"luminance": 0.12378
}Semantic roles & 50–950 ramp
primary
#B52B5F
secondary
#74C8A8
accent
#E5A843
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D