#B52A4E#B52A4E
#B52A4E is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.175 H 11.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B52A4E |
|---|---|
| RGB | rgb(181, 42, 78) |
| HSL | hsl(344, 62%, 44%) |
| HSV | hsv(344, 77%, 71%) |
| CMYK | cmyk(0%, 76.8%, 56.9%, 29%) |
| CIE-LAB | lab(41.27, 56.67, 13.57) |
| CIE-LCH | lch(41.27, 58.27, 13.46°) |
| OKLab | oklab(51.61% 0.1715 0.034) |
| OKLCH | oklch(51.61% 0.175 11.2) |
| XYZ | xyz(21.2612, 12.0328, 8.4093) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 4.12
Purplish Red
#B0054B
ΔE00 4.15
Ruby
#CA0147
ΔE00 4.20
Light Burgundy
#A8415B
ΔE00 4.68
Rose Red
#BE013C
ΔE00 4.78
Rouge
#AB1239
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52A4E #2AB591
analogous
#B52A93 #B52A4E #B54B2A
triadic
#B52A4E #4EB52A #2A4EB5
tetradic
#B52A4E #93B52A #2AB591 #4B2AB5
square
#B52A4E #93B52A #2AB591 #4B2AB5
split-complementary
#B52A4E #2AB54B #2A93B5
monochromatic
#521323 #831E39 #B52A4E #D4486C #E07994
Accessibility & contrast
On white
6.17
#B52A4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#B52A4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52A4E
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52A4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52A4E | 1.00 | 6.17 | 3.41 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4F4F
Deuteranopia (green-blind)
#736C4A
Tritanopia (blue-blind)
#C60039
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b52a4e; /* rgb */ color: rgb(181, 42, 78); /* oklch */ color: oklch(51.6% 0.175 11.2);
Tailwind
colors: {
custom: {
50: '#d2707f',
500: '#b52a4e',
950: '#000000',
},
}SCSS
$custom: #b52a4e; $custom-light: #d2707f; $custom-dark: #000000;
JSON
{
"hex": "#b52a4e",
"rgb": {
"r": 181,
"g": 42,
"b": 78
},
"hsl": {
"h": 344.46,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.51605,
"c": 0.17487,
"h": 11.2
},
"luminance": 0.1203
}Semantic roles & 50–950 ramp
primary
#B52A4E
secondary
#73C8B2
accent
#E5BB42
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C