#B52A62#B52A62
#B52A62 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.179 H 1.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B52A62 |
|---|---|
| RGB | rgb(181, 42, 98) |
| HSL | hsl(336, 62%, 44%) |
| HSV | hsv(336, 77%, 71%) |
| CMYK | cmyk(0%, 76.8%, 45.9%, 29%) |
| CIE-LAB | lab(41.79, 58.32, 1.72) |
| CIE-LCH | lch(41.79, 58.35, 1.69°) |
| OKLab | oklab(52.16% 0.179 0.0051) |
| OKLCH | oklch(52.16% 0.179 1.6) |
| XYZ | xyz(22.0904, 12.3645, 12.7762) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.86
Light Burgundy
#A8415B
ΔE00 5.16
Purplish Red
#B0054B
ΔE00 5.47
Violet Red
#A50055
ΔE00 5.69
Raspberry (survey)
#B00149
ΔE00 5.93
Magenta (survey)
#C20078
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52A62 #2AB57D
analogous
#B52AA7 #B52A62 #B5372A
triadic
#B52A62 #62B52A #2A62B5
tetradic
#B52A62 #A7B52A #2AB57D #372AB5
square
#B52A62 #A7B52A #2AB57D #372AB5
split-complementary
#B52A62 #2AB537 #2AA7B5
monochromatic
#52132C #831E47 #B52A62 #D44880 #E079A3
Accessibility & contrast
On white
6.05
#B52A62 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#B52A62 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52A62
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52A62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52A62 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5163
Deuteranopia (green-blind)
#706C5F
Tritanopia (blue-blind)
#C50B43
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b52a62; /* rgb */ color: rgb(181, 42, 98); /* oklch */ color: oklch(52.2% 0.179 1.6);
Tailwind
colors: {
custom: {
50: '#d1718e',
500: '#b52a62',
950: '#000000',
},
}SCSS
$custom: #b52a62; $custom-light: #d1718e; $custom-dark: #000000;
JSON
{
"hex": "#b52a62",
"rgb": {
"r": 181,
"g": 42,
"b": 98
},
"hsl": {
"h": 335.827,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.52159,
"c": 0.17902,
"h": 1.6
},
"luminance": 0.12362
}Semantic roles & 50–950 ramp
primary
#B52A62
secondary
#73C8A6
accent
#E5A442
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D