#B52B5D#B52B5D
#B52B5D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.177 H 4.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B52B5D |
|---|---|
| RGB | rgb(181, 43, 93) |
| HSL | hsl(338, 62%, 44%) |
| HSV | hsv(338, 76%, 71%) |
| CMYK | cmyk(0%, 76.2%, 48.6%, 29%) |
| CIE-LAB | lab(41.76, 57.56, 4.82) |
| CIE-LCH | lch(41.76, 57.76, 4.78°) |
| OKLab | oklab(52.09% 0.1762 0.0129) |
| OKLCH | oklch(52.09% 0.177 4.2) |
| XYZ | xyz(21.8976, 12.3448, 11.5835) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.85
Light Burgundy
#A8415B
ΔE00 4.28
Purplish Red
#B0054B
ΔE00 4.57
Raspberry (survey)
#B00149
ΔE00 4.98
Violet Red
#A50055
ΔE00 6.06
Dark Hot Pink
#D90166
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52B5D #2BB583
analogous
#B52BA2 #B52B5D #B53E2B
triadic
#B52B5D #5DB52B #2B5DB5
tetradic
#B52B5D #A2B52B #2BB583 #3E2BB5
square
#B52B5D #A2B52B #2BB583 #3E2BB5
split-complementary
#B52B5D #2BB53E #2BA2B5
monochromatic
#52142A #841F44 #B52B5D #D4497C #E07B9F
Accessibility & contrast
On white
6.05
#B52B5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#B52B5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52B5D
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52B5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52B5D | 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)
#4D515E
Deuteranopia (green-blind)
#716C5A
Tritanopia (blue-blind)
#C50841
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b52b5d; /* rgb */ color: rgb(181, 43, 93); /* oklch */ color: oklch(52.1% 0.177 4.2);
Tailwind
colors: {
custom: {
50: '#d1718a',
500: '#b52b5d',
950: '#000000',
},
}SCSS
$custom: #b52b5d; $custom-light: #d1718a; $custom-dark: #000000;
JSON
{
"hex": "#b52b5d",
"rgb": {
"r": 181,
"g": 43,
"b": 93
},
"hsl": {
"h": 338.261,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.5209,
"c": 0.17664,
"h": 4.2
},
"luminance": 0.12342
}Semantic roles & 50–950 ramp
primary
#B52B5D
secondary
#74C8A9
accent
#E5AA43
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C