#B42857#B42857
#B42857 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.177 H 6.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B42857 |
|---|---|
| RGB | rgb(180, 40, 87) |
| HSL | hsl(340, 64%, 43%) |
| HSV | hsv(340, 78%, 71%) |
| CMYK | cmyk(0%, 77.8%, 51.7%, 29.4%) |
| CIE-LAB | lab(41.08, 57.70, 7.60) |
| CIE-LCH | lch(41.08, 58.20, 7.50°) |
| OKLab | oklab(51.5% 0.1762 0.0197) |
| OKLCH | oklch(51.5% 0.177 6.4) |
| XYZ | xyz(21.3034, 11.9120, 10.1924) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.48
Raspberry (survey)
#B00149
ΔE00 3.82
Light Burgundy
#A8415B
ΔE00 4.18
Deep Pink
#CB0162
ΔE00 4.43
Violet Red
#A50055
ΔE00 6.16
Dark Rose
#B5485D
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42857 #28B485
analogous
#B4289D #B42857 #B43F28
triadic
#B42857 #57B428 #2857B4
tetradic
#B42857 #9DB428 #28B485 #3F28B4
square
#B42857 #9DB428 #28B485 #3F28B4
split-complementary
#B42857 #28B43F #289DB4
monochromatic
#501227 #821D3F #B42857 #D54475 #E1769A
Accessibility & contrast
On white
6.21
#B42857 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#B42857 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42857
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42857 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42857 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4F58
Deuteranopia (green-blind)
#716B54
Tritanopia (blue-blind)
#C4003C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42857; /* rgb */ color: rgb(180, 40, 87); /* oklch */ color: oklch(51.5% 0.177 6.4);
Tailwind
colors: {
custom: {
50: '#d17086',
500: '#b42857',
950: '#000000',
},
}SCSS
$custom: #b42857; $custom-light: #d17086; $custom-dark: #000000;
JSON
{
"hex": "#b42857",
"rgb": {
"r": 180,
"g": 40,
"b": 87
},
"hsl": {
"h": 339.857,
"s": 63.636,
"l": 43.137
},
"oklch": {
"l": 0.515,
"c": 0.17727,
"h": 6.4
},
"luminance": 0.11909
}Semantic roles & 50–950 ramp
primary
#B42857
secondary
#70C8AA
accent
#E7AF41
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C