#B42E58#B42E58
#B42E58 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.0% C 0.172 H 6.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E58 |
|---|---|
| RGB | rgb(180, 46, 88) |
| HSL | hsl(341, 59%, 44%) |
| HSV | hsv(341, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 51.1%, 29.4%) |
| CIE-LAB | lab(41.79, 55.85, 7.98) |
| CIE-LCH | lch(41.79, 56.42, 8.13°) |
| OKLab | oklab(52.04% 0.1703 0.0207) |
| OKLCH | oklch(52.04% 0.172 6.9) |
| XYZ | xyz(21.5627, 12.3648, 10.4818) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.51
Purplish Red
#B0054B
ΔE00 4.20
Raspberry (survey)
#B00149
ΔE00 4.49
Deep Pink
#CB0162
ΔE00 4.66
Dark Rose
#B5485D
ΔE00 5.35
Light Maroon
#A24857
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E58 #2EB48A
analogous
#B42E9B #B42E58 #B4472E
triadic
#B42E58 #58B42E #2E58B4
tetradic
#B42E58 #9BB42E #2EB48A #472EB4
square
#B42E58 #9BB42E #2EB48A #472EB4
split-complementary
#B42E58 #2EB447 #2E9BB4
monochromatic
#531528 #832240 #B42E58 #D24E77 #DE7E9C
Accessibility & contrast
On white
6.05
#B42E58 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#B42E58 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E58
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E58 | 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)
#4F5259
Deuteranopia (green-blind)
#726C55
Tritanopia (blue-blind)
#C40D40
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b42e58; /* rgb */ color: rgb(180, 46, 88); /* oklch */ color: oklch(52.0% 0.172 6.9);
Tailwind
colors: {
custom: {
50: '#d07286',
500: '#b42e58',
950: '#000000',
},
}SCSS
$custom: #b42e58; $custom-light: #d07286; $custom-dark: #000000;
JSON
{
"hex": "#b42e58",
"rgb": {
"r": 180,
"g": 46,
"b": 88
},
"hsl": {
"h": 341.194,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.52036,
"c": 0.17156,
"h": 6.9
},
"luminance": 0.12362
}Semantic roles & 50–950 ramp
primary
#B42E58
secondary
#77C7AE
accent
#E2B145
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C