#B42558#B42558
#B42558 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.180 H 5.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B42558 |
|---|---|
| RGB | rgb(180, 37, 88) |
| HSL | hsl(339, 66%, 43%) |
| HSV | hsv(339, 79%, 71%) |
| CMYK | cmyk(0%, 79.4%, 51.1%, 29.4%) |
| CIE-LAB | lab(40.79, 58.67, 6.56) |
| CIE-LCH | lch(40.79, 59.03, 6.38°) |
| OKLab | oklab(51.3% 0.1794 0.0172) |
| OKLCH | oklch(51.3% 0.18 5.5) |
| XYZ | xyz(21.2473, 11.7340, 10.3767) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.38
Raspberry (survey)
#B00149
ΔE00 3.77
Deep Pink
#CB0162
ΔE00 4.20
Light Burgundy
#A8415B
ΔE00 4.58
Violet Red
#A50055
ΔE00 5.62
Berry
#990F4B
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42558 #25B481
analogous
#B425A0 #B42558 #B43925
triadic
#B42558 #58B425 #2558B4
tetradic
#B42558 #A0B425 #25B481 #3925B4
square
#B42558 #A0B425 #25B481 #3925B4
split-complementary
#B42558 #25B439 #25A0B4
monochromatic
#4E1026 #811B3F #B42558 #D73F75 #E2719A
Accessibility & contrast
On white
6.28
#B42558 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B42558 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42558
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42558 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42558 | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4E59
Deuteranopia (green-blind)
#706A55
Tritanopia (blue-blind)
#C4003C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42558; /* rgb */ color: rgb(180, 37, 88); /* oklch */ color: oklch(51.3% 0.180 5.5);
Tailwind
colors: {
custom: {
50: '#d16f86',
500: '#b42558',
950: '#000000',
},
}SCSS
$custom: #b42558; $custom-light: #d16f86; $custom-dark: #000000;
JSON
{
"hex": "#b42558",
"rgb": {
"r": 180,
"g": 37,
"b": 88
},
"hsl": {
"h": 338.601,
"s": 65.899,
"l": 42.549
},
"oklch": {
"l": 0.51299,
"c": 0.18021,
"h": 5.5
},
"luminance": 0.11731
}Semantic roles & 50–950 ramp
primary
#B42558
secondary
#6CC9A8
accent
#E9AC3F
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C