#B52D5F#B52D5F
#B52D5F is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.175 H 3.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B52D5F |
|---|---|
| RGB | rgb(181, 45, 95) |
| HSL | hsl(338, 60%, 44%) |
| HSV | hsv(338, 75%, 71%) |
| CMYK | cmyk(0%, 75.1%, 47.5%, 29%) |
| CIE-LAB | lab(42.05, 57.08, 3.97) |
| CIE-LCH | lch(42.05, 57.22, 3.98°) |
| OKLab | oklab(52.32% 0.1748 0.0108) |
| OKLCH | oklch(52.32% 0.175 3.5) |
| XYZ | xyz(22.0618, 12.5297, 12.0810) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.86
Light Burgundy
#A8415B
ΔE00 4.29
Purplish Red
#B0054B
ΔE00 5.03
Raspberry (survey)
#B00149
ΔE00 5.45
Dark Hot Pink
#D90166
ΔE00 6.19
Violet Red
#A50055
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52D5F #2DB583
analogous
#B52DA3 #B52D5F #B53F2D
triadic
#B52D5F #5FB52D #2D5FB5
tetradic
#B52D5F #A3B52D #2DB583 #3F2DB5
square
#B52D5F #A3B52D #2DB583 #3F2DB5
split-complementary
#B52D5F #2DB53F #2DA3B5
monochromatic
#53152C #842145 #B52D5F #D34D7E #DF7EA1
Accessibility & contrast
On white
5.99
#B52D5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#B52D5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52D5F
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52D5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52D5F | 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)
#4D5260
Deuteranopia (green-blind)
#716D5C
Tritanopia (blue-blind)
#C51042
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b52d5f; /* rgb */ color: rgb(181, 45, 95); /* oklch */ color: oklch(52.3% 0.175 3.5);
Tailwind
colors: {
custom: {
50: '#d1728c',
500: '#b52d5f',
950: '#000000',
},
}SCSS
$custom: #b52d5f; $custom-light: #d1728c; $custom-dark: #000000;
JSON
{
"hex": "#b52d5f",
"rgb": {
"r": 181,
"g": 45,
"b": 95
},
"hsl": {
"h": 337.941,
"s": 60.177,
"l": 44.314
},
"oklch": {
"l": 0.5232,
"c": 0.17513,
"h": 3.5
},
"luminance": 0.12527
}Semantic roles & 50–950 ramp
primary
#B52D5F
secondary
#76C7AA
accent
#E3A944
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D