#B42756#B42756
#B42756 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.178 H 6.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B42756 |
|---|---|
| RGB | rgb(180, 39, 86) |
| HSL | hsl(340, 64%, 43%) |
| HSV | hsv(340, 78%, 71%) |
| CMYK | cmyk(0%, 78.3%, 52.2%, 29.4%) |
| CIE-LAB | lab(40.94, 57.92, 8.04) |
| CIE-LCH | lch(40.94, 58.48, 7.90°) |
| OKLab | oklab(51.39% 0.1768 0.0208) |
| OKLCH | oklch(51.39% 0.178 6.7) |
| XYZ | xyz(21.2296, 11.8292, 9.9677) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.30
Raspberry (survey)
#B00149
ΔE00 3.62
Light Burgundy
#A8415B
ΔE00 4.27
Deep Pink
#CB0162
ΔE00 4.53
Ruby
#CA0147
ΔE00 6.18
Violet Red
#A50055
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42756 #27B485
analogous
#B4279C #B42756 #B43E27
triadic
#B42756 #56B427 #2756B4
tetradic
#B42756 #9CB427 #27B485 #3E27B4
square
#B42756 #9CB427 #27B485 #3E27B4
split-complementary
#B42756 #27B43E #279CB4
monochromatic
#4F1126 #821C3E #B42756 #D64273 #E17499
Accessibility & contrast
On white
6.24
#B42756 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#B42756 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42756
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42756 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42756 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4F57
Deuteranopia (green-blind)
#716B53
Tritanopia (blue-blind)
#C4003C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42756; /* rgb */ color: rgb(180, 39, 86); /* oklch */ color: oklch(51.4% 0.178 6.7);
Tailwind
colors: {
custom: {
50: '#d16f85',
500: '#b42756',
950: '#000000',
},
}SCSS
$custom: #b42756; $custom-light: #d16f85; $custom-dark: #000000;
JSON
{
"hex": "#b42756",
"rgb": {
"r": 180,
"g": 39,
"b": 86
},
"hsl": {
"h": 340,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.51394,
"c": 0.17799,
"h": 6.7
},
"luminance": 0.11826
}Semantic roles & 50–950 ramp
primary
#B42756
secondary
#6FC8AA
accent
#E7B040
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C