#B42856#B42856
#B42856 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.177 H 6.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B42856 |
|---|---|
| RGB | rgb(180, 40, 86) |
| HSL | hsl(340, 64%, 43%) |
| HSV | hsv(340, 78%, 71%) |
| CMYK | cmyk(0%, 77.8%, 52.2%, 29.4%) |
| CIE-LAB | lab(41.05, 57.62, 8.19) |
| CIE-LCH | lch(41.05, 58.20, 8.09°) |
| OKLab | oklab(51.47% 0.1758 0.0212) |
| OKLCH | oklch(51.47% 0.177 6.9) |
| XYZ | xyz(21.2628, 11.8958, 9.9788) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.40
Raspberry (survey)
#B00149
ΔE00 3.70
Light Burgundy
#A8415B
ΔE00 4.16
Deep Pink
#CB0162
ΔE00 4.57
Ruby
#CA0147
ΔE00 6.12
Dark Rose
#B5485D
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42856 #28B486
analogous
#B4289C #B42856 #B44028
triadic
#B42856 #56B428 #2856B4
tetradic
#B42856 #9CB428 #28B486 #4028B4
square
#B42856 #9CB428 #28B486 #4028B4
split-complementary
#B42856 #28B440 #289CB4
monochromatic
#501226 #821D3E #B42856 #D54474 #E17699
Accessibility & contrast
On white
6.22
#B42856 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#B42856 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42856
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42856 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42856 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4F57
Deuteranopia (green-blind)
#716B53
Tritanopia (blue-blind)
#C4003C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42856; /* rgb */ color: rgb(180, 40, 86); /* oklch */ color: oklch(51.5% 0.177 6.9);
Tailwind
colors: {
custom: {
50: '#d17085',
500: '#b42856',
950: '#000000',
},
}SCSS
$custom: #b42856; $custom-light: #d17085; $custom-dark: #000000;
JSON
{
"hex": "#b42856",
"rgb": {
"r": 180,
"g": 40,
"b": 86
},
"hsl": {
"h": 340.286,
"s": 63.636,
"l": 43.137
},
"oklch": {
"l": 0.51473,
"c": 0.17706,
"h": 6.9
},
"luminance": 0.11893
}Semantic roles & 50–950 ramp
primary
#B42856
secondary
#70C8AB
accent
#E7B041
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C