#B52457#B52457
#B52457 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.182 H 6.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B52457 |
|---|---|
| RGB | rgb(181, 36, 87) |
| HSL | hsl(339, 67%, 43%) |
| HSV | hsv(339, 80%, 71%) |
| CMYK | cmyk(0%, 80.1%, 51.9%, 29%) |
| CIE-LAB | lab(40.86, 59.14, 7.32) |
| CIE-LCH | lch(40.86, 59.59, 7.05°) |
| OKLab | oklab(51.38% 0.1807 0.0191) |
| OKLCH | oklch(51.38% 0.182 6) |
| XYZ | xyz(21.4092, 11.7767, 10.1608) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.25
Raspberry (survey)
#B00149
ΔE00 3.61
Deep Pink
#CB0162
ΔE00 4.18
Light Burgundy
#A8415B
ΔE00 4.63
Violet Red
#A50055
ΔE00 5.85
Ruby
#CA0147
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52457 #24B582
analogous
#B5249F #B52457 #B53A24
triadic
#B52457 #57B524 #2457B5
tetradic
#B52457 #9FB524 #24B582 #3A24B5
square
#B52457 #9FB524 #24B582 #3A24B5
split-complementary
#B52457 #24B53A #249FB5
monochromatic
#4F1026 #821A3E #B52457 #D93E74 #E37199
Accessibility & contrast
On white
6.26
#B52457 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B52457 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52457
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52457 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52457 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4E58
Deuteranopia (green-blind)
#706B54
Tritanopia (blue-blind)
#C6003B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b52457; /* rgb */ color: rgb(181, 36, 87); /* oklch */ color: oklch(51.4% 0.182 6.0);
Tailwind
colors: {
custom: {
50: '#d26e86',
500: '#b52457',
950: '#000000',
},
}SCSS
$custom: #b52457; $custom-light: #d26e86; $custom-dark: #000000;
JSON
{
"hex": "#b52457",
"rgb": {
"r": 181,
"g": 36,
"b": 87
},
"hsl": {
"h": 338.897,
"s": 66.82,
"l": 42.549
},
"oklch": {
"l": 0.51375,
"c": 0.18171,
"h": 6
},
"luminance": 0.11774
}Semantic roles & 50–950 ramp
primary
#B52457
secondary
#6BC9A8
accent
#EAAD3E
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C