#B42559#B42559
#B42559 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.180 H 5.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B42559 |
|---|---|
| RGB | rgb(180, 37, 89) |
| HSL | hsl(338, 66%, 43%) |
| HSV | hsv(338, 79%, 71%) |
| CMYK | cmyk(0%, 79.4%, 50.6%, 29.4%) |
| CIE-LAB | lab(40.82, 58.75, 5.97) |
| CIE-LCH | lch(40.82, 59.05, 5.80°) |
| OKLab | oklab(51.33% 0.1798 0.0157) |
| OKLCH | oklch(51.33% 0.18 5) |
| XYZ | xyz(21.2890, 11.7507, 10.5963) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.53
Raspberry (survey)
#B00149
ΔE00 3.95
Deep Pink
#CB0162
ΔE00 4.11
Light Burgundy
#A8415B
ΔE00 4.65
Violet Red
#A50055
ΔE00 5.49
Berry
#990F4B
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42559 #25B480
analogous
#B425A0 #B42559 #B43925
triadic
#B42559 #59B425 #2559B4
tetradic
#B42559 #A0B425 #25B480 #3925B4
square
#B42559 #A0B425 #25B480 #3925B4
split-complementary
#B42559 #25B439 #25A0B4
monochromatic
#4E1027 #811B40 #B42559 #D73F76 #E2719A
Accessibility & contrast
On white
6.27
#B42559 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B42559 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42559
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42559 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42559 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4E5A
Deuteranopia (green-blind)
#706A56
Tritanopia (blue-blind)
#C4003C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42559; /* rgb */ color: rgb(180, 37, 89); /* oklch */ color: oklch(51.3% 0.180 5.0);
Tailwind
colors: {
custom: {
50: '#d16f87',
500: '#b42559',
950: '#000000',
},
}SCSS
$custom: #b42559; $custom-light: #d16f87; $custom-dark: #000000;
JSON
{
"hex": "#b42559",
"rgb": {
"r": 180,
"g": 37,
"b": 89
},
"hsl": {
"h": 338.182,
"s": 65.899,
"l": 42.549
},
"oklch": {
"l": 0.51327,
"c": 0.18045,
"h": 5
},
"luminance": 0.11748
}Semantic roles & 50–950 ramp
primary
#B42559
secondary
#6CC9A7
accent
#E9AB3F
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C