#B42752#B42752
#B42752 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.177 H 8.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B42752 |
|---|---|
| RGB | rgb(180, 39, 82) |
| HSL | hsl(342, 64%, 43%) |
| HSV | hsv(342, 78%, 71%) |
| CMYK | cmyk(0%, 78.3%, 54.4%, 29.4%) |
| CIE-LAB | lab(40.84, 57.61, 10.43) |
| CIE-LCH | lch(40.84, 58.54, 10.26°) |
| OKLab | oklab(51.29% 0.1753 0.0266) |
| OKLCH | oklch(51.29% 0.177 8.6) |
| XYZ | xyz(21.0729, 11.7666, 9.1425) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.17
Raspberry (survey)
#B00149
ΔE00 3.35
Light Burgundy
#A8415B
ΔE00 4.36
Deep Pink
#CB0162
ΔE00 5.23
Ruby
#CA0147
ΔE00 5.28
Dark Rose
#B5485D
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42752 #27B489
analogous
#B42798 #B42752 #B44227
triadic
#B42752 #52B427 #2752B4
tetradic
#B42752 #98B427 #27B489 #4227B4
square
#B42752 #98B427 #27B489 #4227B4
split-complementary
#B42752 #27B442 #2798B4
monochromatic
#4F1124 #821C3B #B42752 #D6426F #E17496
Accessibility & contrast
On white
6.26
#B42752 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B42752 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42752
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42752 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42752 | 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)
#4D4E53
Deuteranopia (green-blind)
#716A4F
Tritanopia (blue-blind)
#C5003A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42752; /* rgb */ color: rgb(180, 39, 82); /* oklch */ color: oklch(51.3% 0.177 8.6);
Tailwind
colors: {
custom: {
50: '#d16f82',
500: '#b42752',
950: '#000000',
},
}SCSS
$custom: #b42752; $custom-light: #d16f82; $custom-dark: #000000;
JSON
{
"hex": "#b42752",
"rgb": {
"r": 180,
"g": 39,
"b": 82
},
"hsl": {
"h": 341.702,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.51287,
"c": 0.17725,
"h": 8.6
},
"luminance": 0.11764
}Semantic roles & 50–950 ramp
primary
#B42752
secondary
#6FC8AD
accent
#E7B440
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C