#B42155#B42155
#B42155 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.183 H 6.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B42155 |
|---|---|
| RGB | rgb(180, 33, 85) |
| HSL | hsl(339, 69%, 42%) |
| HSV | hsv(339, 82%, 71%) |
| CMYK | cmyk(0%, 81.7%, 52.8%, 29.4%) |
| CIE-LAB | lab(40.33, 59.52, 7.80) |
| CIE-LCH | lch(40.33, 60.03, 7.47°) |
| OKLab | oklab(50.93% 0.1818 0.0202) |
| OKLCH | oklch(50.93% 0.183 6.3) |
| XYZ | xyz(21.0079, 11.4499, 9.6964) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.72
Raspberry (survey)
#B00149
ΔE00 3.09
Deep Pink
#CB0162
ΔE00 4.49
Light Burgundy
#A8415B
ΔE00 4.88
Violet Red
#A50055
ΔE00 5.60
Ruby
#CA0147
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42155 #21B480
analogous
#B4219E #B42155 #B43721
triadic
#B42155 #55B421 #2155B4
tetradic
#B42155 #9EB421 #21B480 #3721B4
square
#B42155 #9EB421 #21B480 #3721B4
split-complementary
#B42155 #21B437 #219EB4
monochromatic
#4D0E24 #80183D #B42155 #DA3871 #E46B96
Accessibility & contrast
On white
6.38
#B42155 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B42155 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42155
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42155 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42155 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494C56
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#C50039
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42155; /* rgb */ color: rgb(180, 33, 85); /* oklch */ color: oklch(50.9% 0.183 6.3);
Tailwind
colors: {
custom: {
50: '#d16d84',
500: '#b42155',
950: '#000000',
},
}SCSS
$custom: #b42155; $custom-light: #d16d84; $custom-dark: #000000;
JSON
{
"hex": "#b42155",
"rgb": {
"r": 180,
"g": 33,
"b": 85
},
"hsl": {
"h": 338.776,
"s": 69.014,
"l": 41.765
},
"oklch": {
"l": 0.50933,
"c": 0.18292,
"h": 6.3
},
"luminance": 0.11447
}Semantic roles & 50–950 ramp
primary
#B42155
secondary
#67CAA7
accent
#ECAE3C
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C