#B52A5F#B52A5F
#B52A5F is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.178 H 3.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B52A5F |
|---|---|
| RGB | rgb(181, 42, 95) |
| HSL | hsl(337, 62%, 44%) |
| HSV | hsv(337, 77%, 71%) |
| CMYK | cmyk(0%, 76.8%, 47.5%, 29%) |
| CIE-LAB | lab(41.70, 58.05, 3.48) |
| CIE-LCH | lch(41.70, 58.15, 3.43°) |
| OKLab | oklab(52.07% 0.1779 0.0095) |
| OKLCH | oklch(52.07% 0.178 3.1) |
| XYZ | xyz(21.9514, 12.3089, 12.0442) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.77
Light Burgundy
#A8415B
ΔE00 4.68
Purplish Red
#B0054B
ΔE00 4.87
Raspberry (survey)
#B00149
ΔE00 5.31
Violet Red
#A50055
ΔE00 5.79
Dark Hot Pink
#D90166
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52A5F #2AB580
analogous
#B52AA4 #B52A5F #B53A2A
triadic
#B52A5F #5FB52A #2A5FB5
tetradic
#B52A5F #A4B52A #2AB580 #3A2AB5
square
#B52A5F #A4B52A #2AB580 #3A2AB5
split-complementary
#B52A5F #2AB53A #2AA4B5
monochromatic
#52132B #831E45 #B52A5F #D4487D #E079A1
Accessibility & contrast
On white
6.07
#B52A5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#B52A5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52A5F
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52A5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52A5F | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5160
Deuteranopia (green-blind)
#706C5C
Tritanopia (blue-blind)
#C50741
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b52a5f; /* rgb */ color: rgb(181, 42, 95); /* oklch */ color: oklch(52.1% 0.178 3.1);
Tailwind
colors: {
custom: {
50: '#d1718c',
500: '#b52a5f',
950: '#000000',
},
}SCSS
$custom: #b52a5f; $custom-light: #d1718c; $custom-dark: #000000;
JSON
{
"hex": "#b52a5f",
"rgb": {
"r": 181,
"g": 42,
"b": 95
},
"hsl": {
"h": 337.122,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.52067,
"c": 0.17817,
"h": 3.1
},
"luminance": 0.12306
}Semantic roles & 50–950 ramp
primary
#B52A5F
secondary
#73C8A8
accent
#E5A742
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D