#B42F57#B42F57
#B42F57 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.170 H 7.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B42F57 |
|---|---|
| RGB | rgb(180, 47, 87) |
| HSL | hsl(342, 59%, 45%) |
| HSV | hsv(342, 74%, 71%) |
| CMYK | cmyk(0%, 73.9%, 51.7%, 29.4%) |
| CIE-LAB | lab(41.89, 55.42, 8.74) |
| CIE-LCH | lch(41.89, 56.11, 8.96°) |
| OKLab | oklab(52.1% 0.1688 0.0226) |
| OKLCH | oklch(52.1% 0.17 7.6) |
| XYZ | xyz(21.5611, 12.4274, 10.2783) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.39
Purplish Red
#B0054B
ΔE00 4.28
Raspberry (survey)
#B00149
ΔE00 4.53
Deep Pink
#CB0162
ΔE00 4.91
Dark Rose
#B5485D
ΔE00 5.07
Light Maroon
#A24857
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42F57 #2FB48C
analogous
#B42F9A #B42F57 #B44A2F
triadic
#B42F57 #57B42F #2F57B4
tetradic
#B42F57 #9AB42F #2FB48C #4A2FB4
square
#B42F57 #9AB42F #2FB48C #4A2FB4
split-complementary
#B42F57 #2FB44A #2F9AB4
monochromatic
#531628 #832240 #B42F57 #D14F76 #DE809C
Accessibility & contrast
On white
6.03
#B42F57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#B42F57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42F57
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42F57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42F57 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505258
Deuteranopia (green-blind)
#736D54
Tritanopia (blue-blind)
#C40F40
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b42f57; /* rgb */ color: rgb(180, 47, 87); /* oklch */ color: oklch(52.1% 0.170 7.6);
Tailwind
colors: {
custom: {
50: '#d07386',
500: '#b42f57',
950: '#000000',
},
}SCSS
$custom: #b42f57; $custom-light: #d07386; $custom-dark: #000000;
JSON
{
"hex": "#b42f57",
"rgb": {
"r": 180,
"g": 47,
"b": 87
},
"hsl": {
"h": 341.955,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.52099,
"c": 0.17033,
"h": 7.6
},
"luminance": 0.12424
}Semantic roles & 50–950 ramp
primary
#B42F57
secondary
#78C7AF
accent
#E2B346
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C