#B42946#B42946
#B42946 is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.2% C 0.174 H 14.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B42946 |
|---|---|
| RGB | rgb(180, 41, 70) |
| HSL | hsl(347, 63%, 43%) |
| HSV | hsv(347, 77%, 71%) |
| CMYK | cmyk(0%, 77.2%, 61.1%, 29.4%) |
| CIE-LAB | lab(40.79, 56.15, 17.92) |
| CIE-LCH | lch(40.79, 58.94, 17.70°) |
| OKLab | oklab(51.16% 0.1686 0.0438) |
| OKLCH | oklch(51.16% 0.174 14.6) |
| XYZ | xyz(20.7230, 11.7344, 6.9670) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.10
Rouge
#AB1239
ΔE00 3.72
Ruby
#CA0147
ΔE00 3.83
Cardinal
#C41E3A
ΔE00 5.01
Raspberry (survey)
#B00149
ΔE00 5.24
Purplish Red
#B0054B
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42946 #29B497
analogous
#B4298B #B42946 #B45129
triadic
#B42946 #46B429 #2946B4
tetradic
#B42946 #8BB429 #29B497 #5129B4
square
#B42946 #8BB429 #29B497 #5129B4
split-complementary
#B42946 #29B451 #298BB4
monochromatic
#50121F #821E33 #B42946 #D54563 #E0778D
Accessibility & contrast
On white
6.28
#B42946 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B42946 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42946
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42946 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42946 | 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)
#504E46
Deuteranopia (green-blind)
#736B42
Tritanopia (blue-blind)
#C50035
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42946; /* rgb */ color: rgb(180, 41, 70); /* oklch */ color: oklch(51.2% 0.174 14.6);
Tailwind
colors: {
custom: {
50: '#d27079',
500: '#b42946',
950: '#000000',
},
}SCSS
$custom: #b42946; $custom-light: #d27079; $custom-dark: #000000;
JSON
{
"hex": "#b42946",
"rgb": {
"r": 180,
"g": 41,
"b": 70
},
"hsl": {
"h": 347.482,
"s": 62.896,
"l": 43.333
},
"oklch": {
"l": 0.51162,
"c": 0.17419,
"h": 14.6
},
"luminance": 0.11731
}Semantic roles & 50–950 ramp
primary
#B42946
secondary
#71C8B6
accent
#E6C442
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B