#B42852#B42852
#B42852 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.176 H 8.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B42852 |
|---|---|
| RGB | rgb(180, 40, 82) |
| HSL | hsl(342, 64%, 43%) |
| HSV | hsv(342, 78%, 71%) |
| CMYK | cmyk(0%, 77.8%, 54.4%, 29.4%) |
| CIE-LAB | lab(40.95, 57.31, 10.57) |
| CIE-LCH | lch(40.95, 58.27, 10.46°) |
| OKLab | oklab(51.37% 0.1743 0.0269) |
| OKLCH | oklch(51.37% 0.176 8.8) |
| XYZ | xyz(21.1062, 11.8331, 9.1536) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.31
Raspberry (survey)
#B00149
ΔE00 3.47
Light Burgundy
#A8415B
ΔE00 4.27
Ruby
#CA0147
ΔE00 5.22
Deep Pink
#CB0162
ΔE00 5.29
Dark Rose
#B5485D
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42852 #28B48A
analogous
#B42898 #B42852 #B44428
triadic
#B42852 #52B428 #2852B4
tetradic
#B42852 #98B428 #28B48A #4428B4
square
#B42852 #98B428 #28B48A #4428B4
split-complementary
#B42852 #28B444 #2898B4
monochromatic
#501224 #821D3B #B42852 #D5446F #E17696
Accessibility & contrast
On white
6.24
#B42852 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#B42852 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42852
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42852 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4F53
Deuteranopia (green-blind)
#716B4F
Tritanopia (blue-blind)
#C5003A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42852; /* rgb */ color: rgb(180, 40, 82); /* oklch */ color: oklch(51.4% 0.176 8.8);
Tailwind
colors: {
custom: {
50: '#d17082',
500: '#b42852',
950: '#000000',
},
}SCSS
$custom: #b42852; $custom-light: #d17082; $custom-dark: #000000;
JSON
{
"hex": "#b42852",
"rgb": {
"r": 180,
"g": 40,
"b": 82
},
"hsl": {
"h": 342,
"s": 63.636,
"l": 43.137
},
"oklch": {
"l": 0.51366,
"c": 0.17635,
"h": 8.8
},
"luminance": 0.1183
}Semantic roles & 50–950 ramp
primary
#B42852
secondary
#70C8AE
accent
#E7B541
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C