#B52D6E#B52D6E
#B52D6E is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.180 H 356.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #B52D6E |
|---|---|
| RGB | rgb(181, 45, 110) |
| HSL | hsl(331, 60%, 44%) |
| HSV | hsv(331, 75%, 71%) |
| CMYK | cmyk(0%, 75.1%, 39.2%, 29%) |
| CIE-LAB | lab(42.50, 58.54, -4.72) |
| CIE-LCH | lch(42.50, 58.73, 355.39°) |
| OKLab | oklab(52.81% 0.1798 -0.0117) |
| OKLCH | oklch(52.81% 0.18 356.3) |
| XYZ | xyz(22.8105, 12.8292, 16.0239) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.80
Deep Pink
#CB0162
ΔE00 5.39
Mediumvioletred
#C71585
ΔE00 5.40
Violet Red
#A50055
ΔE00 6.67
Deep Magenta
#A0025C
ΔE00 6.86
Light Burgundy
#A8415B
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52D6E #2DB574
analogous
#B52DB2 #B52D6E #B5302D
triadic
#B52D6E #6EB52D #2D6EB5
tetradic
#B52D6E #B2B52D #2DB574 #302DB5
square
#B52D6E #B2B52D #2DB574 #302DB5
split-complementary
#B52D6E #2DB530 #2DB2B5
monochromatic
#531532 #842150 #B52D6E #D34D8D #DF7EAC
Accessibility & contrast
On white
5.89
#B52D6E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#B52D6E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52D6E
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52D6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52D6E | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495470
Deuteranopia (green-blind)
#6E6E6B
Tritanopia (blue-blind)
#C41B4A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b52d6e; /* rgb */ color: rgb(181, 45, 110); /* oklch */ color: oklch(52.8% 0.180 356.3);
Tailwind
colors: {
custom: {
50: '#d07397',
500: '#b52d6e',
950: '#000000',
},
}SCSS
$custom: #b52d6e; $custom-light: #d07397; $custom-dark: #000000;
JSON
{
"hex": "#b52d6e",
"rgb": {
"r": 181,
"g": 45,
"b": 110
},
"hsl": {
"h": 331.324,
"s": 60.177,
"l": 44.314
},
"oklch": {
"l": 0.52807,
"c": 0.18018,
"h": 356.3
},
"luminance": 0.12826
}Semantic roles & 50–950 ramp
primary
#B52D6E
secondary
#76C7A1
accent
#E39744
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E