#B42E57#B42E57
#B42E57 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.171 H 7.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E57 |
|---|---|
| RGB | rgb(180, 46, 87) |
| HSL | hsl(342, 59%, 44%) |
| HSV | hsv(342, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 51.7%, 29.4%) |
| CIE-LAB | lab(41.76, 55.77, 8.57) |
| CIE-LCH | lch(41.76, 56.42, 8.73°) |
| OKLab | oklab(52.01% 0.1699 0.0221) |
| OKLCH | oklch(52.01% 0.171 7.4) |
| XYZ | xyz(21.5216, 12.3484, 10.2652) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.50
Purplish Red
#B0054B
ΔE00 4.14
Raspberry (survey)
#B00149
ΔE00 4.41
Deep Pink
#CB0162
ΔE00 4.82
Dark Rose
#B5485D
ΔE00 5.25
Light Maroon
#A24857
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E57 #2EB48B
analogous
#B42E9A #B42E57 #B4482E
triadic
#B42E57 #57B42E #2E57B4
tetradic
#B42E57 #9AB42E #2EB48B #482EB4
square
#B42E57 #9AB42E #2EB48B #482EB4
split-complementary
#B42E57 #2EB448 #2E9AB4
monochromatic
#531528 #83223F #B42E57 #D24E76 #DE7E9C
Accessibility & contrast
On white
6.05
#B42E57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#B42E57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E57
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E57 | 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)
#4F5158
Deuteranopia (green-blind)
#726C54
Tritanopia (blue-blind)
#C40C3F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b42e57; /* rgb */ color: rgb(180, 46, 87); /* oklch */ color: oklch(52.0% 0.171 7.4);
Tailwind
colors: {
custom: {
50: '#d07286',
500: '#b42e57',
950: '#000000',
},
}SCSS
$custom: #b42e57; $custom-light: #d07286; $custom-dark: #000000;
JSON
{
"hex": "#b42e57",
"rgb": {
"r": 180,
"g": 46,
"b": 87
},
"hsl": {
"h": 341.642,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.52008,
"c": 0.17138,
"h": 7.4
},
"luminance": 0.12345
}Semantic roles & 50–950 ramp
primary
#B42E57
secondary
#77C7AE
accent
#E2B245
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C