#B52A4D#B52A4D
#B52A4D is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.175 H 11.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B52A4D |
|---|---|
| RGB | rgb(181, 42, 77) |
| HSL | hsl(345, 62%, 44%) |
| HSV | hsv(345, 77%, 71%) |
| CMYK | cmyk(0%, 76.8%, 57.5%, 29%) |
| CIE-LAB | lab(41.25, 56.60, 14.16) |
| CIE-LCH | lch(41.25, 58.35, 14.05°) |
| OKLab | oklab(51.58% 0.1711 0.0354) |
| OKLCH | oklch(51.58% 0.175 11.7) |
| XYZ | xyz(21.2257, 12.0186, 8.2219) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 4.06
Raspberry (survey)
#B00149
ΔE00 4.24
Purplish Red
#B0054B
ΔE00 4.30
Rose Red
#BE013C
ΔE00 4.52
Light Burgundy
#A8415B
ΔE00 4.85
Rouge
#AB1239
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52A4D #2AB592
analogous
#B52A92 #B52A4D #B54C2A
triadic
#B52A4D #4DB52A #2A4DB5
tetradic
#B52A4D #92B52A #2AB592 #4C2AB5
square
#B52A4D #92B52A #2AB592 #4C2AB5
split-complementary
#B52A4D #2AB54C #2A92B5
monochromatic
#521323 #831E38 #B52A4D #D4486B #E07993
Accessibility & contrast
On white
6.17
#B52A4D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#B52A4D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52A4D
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52A4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52A4D | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504F4D
Deuteranopia (green-blind)
#736C49
Tritanopia (blue-blind)
#C60039
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b52a4d; /* rgb */ color: rgb(181, 42, 77); /* oklch */ color: oklch(51.6% 0.175 11.7);
Tailwind
colors: {
custom: {
50: '#d2707e',
500: '#b52a4d',
950: '#000000',
},
}SCSS
$custom: #b52a4d; $custom-light: #d2707e; $custom-dark: #000000;
JSON
{
"hex": "#b52a4d",
"rgb": {
"r": 181,
"g": 42,
"b": 77
},
"hsl": {
"h": 344.892,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.51581,
"c": 0.17476,
"h": 11.7
},
"luminance": 0.12016
}Semantic roles & 50–950 ramp
primary
#B52A4D
secondary
#73C8B3
accent
#E5BC42
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B