#B42159#B42159
#B42159 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.184 H 4.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B42159 |
|---|---|
| RGB | rgb(180, 33, 89) |
| HSL | hsl(337, 69%, 42%) |
| HSV | hsv(337, 82%, 71%) |
| CMYK | cmyk(0%, 81.7%, 50.6%, 29.4%) |
| CIE-LAB | lab(40.44, 59.84, 5.42) |
| CIE-LCH | lch(40.44, 60.08, 5.18°) |
| OKLab | oklab(51.05% 0.1833 0.0144) |
| OKLCH | oklch(51.05% 0.184 4.5) |
| XYZ | xyz(21.1713, 11.5153, 10.5571) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.37
Raspberry (survey)
#B00149
ΔE00 3.81
Deep Pink
#CB0162
ΔE00 4.08
Violet Red
#A50055
ΔE00 5.02
Light Burgundy
#A8415B
ΔE00 5.11
Berry
#990F4B
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42159 #21B47C
analogous
#B421A3 #B42159 #B43321
triadic
#B42159 #59B421 #2159B4
tetradic
#B42159 #A3B421 #21B47C #3321B4
square
#B42159 #A3B421 #21B47C #3321B4
split-complementary
#B42159 #21B433 #21A3B4
monochromatic
#4D0E26 #80183F #B42159 #DA3876 #E46B99
Accessibility & contrast
On white
6.36
#B42159 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B42159 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42159
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42159 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42159 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484D5A
Deuteranopia (green-blind)
#6F6A56
Tritanopia (blue-blind)
#C4003B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42159; /* rgb */ color: rgb(180, 33, 89); /* oklch */ color: oklch(51.0% 0.184 4.5);
Tailwind
colors: {
custom: {
50: '#d16d87',
500: '#b42159',
950: '#000000',
},
}SCSS
$custom: #b42159; $custom-light: #d16d87; $custom-dark: #000000;
JSON
{
"hex": "#b42159",
"rgb": {
"r": 180,
"g": 33,
"b": 89
},
"hsl": {
"h": 337.143,
"s": 69.014,
"l": 41.765
},
"oklch": {
"l": 0.51047,
"c": 0.18382,
"h": 4.5
},
"luminance": 0.11512
}Semantic roles & 50–950 ramp
primary
#B42159
secondary
#67CAA4
accent
#ECA93C
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C