#B42845#B42845
#B42845 is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.1% C 0.175 H 14.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B42845 |
|---|---|
| RGB | rgb(180, 40, 69) |
| HSL | hsl(348, 64%, 43%) |
| HSV | hsv(348, 78%, 71%) |
| CMYK | cmyk(0%, 77.8%, 61.7%, 29.4%) |
| CIE-LAB | lab(40.66, 56.39, 18.38) |
| CIE-LCH | lch(40.66, 59.31, 18.05°) |
| OKLab | oklab(51.06% 0.1692 0.0448) |
| OKLCH | oklch(51.06% 0.175 14.8) |
| XYZ | xyz(20.6575, 11.6536, 6.7907) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.91
Rouge
#AB1239
ΔE00 3.55
Ruby
#CA0147
ΔE00 3.83
Cardinal
#C41E3A
ΔE00 4.85
Raspberry (survey)
#B00149
ΔE00 5.31
Purplish Red
#B0054B
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42845 #28B497
analogous
#B4288B #B42845 #B45128
triadic
#B42845 #45B428 #2845B4
tetradic
#B42845 #8BB428 #28B497 #5128B4
square
#B42845 #8BB428 #28B497 #5128B4
split-complementary
#B42845 #28B451 #288BB4
monochromatic
#50121F #821D32 #B42845 #D54462 #E1768C
Accessibility & contrast
On white
6.31
#B42845 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B42845 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42845
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42845 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504D45
Deuteranopia (green-blind)
#736A41
Tritanopia (blue-blind)
#C50034
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42845; /* rgb */ color: rgb(180, 40, 69); /* oklch */ color: oklch(51.1% 0.175 14.8);
Tailwind
colors: {
custom: {
50: '#d26f78',
500: '#b42845',
950: '#000000',
},
}SCSS
$custom: #b42845; $custom-light: #d26f78; $custom-dark: #000000;
JSON
{
"hex": "#b42845",
"rgb": {
"r": 180,
"g": 40,
"b": 69
},
"hsl": {
"h": 347.571,
"s": 63.636,
"l": 43.137
},
"oklch": {
"l": 0.51058,
"c": 0.17502,
"h": 14.8
},
"luminance": 0.11651
}Semantic roles & 50–950 ramp
primary
#B42845
secondary
#70C8B6
accent
#E7C441
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B