#B42D2F#B42D2F
#B42D2F is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.172 H 25.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B42D2F |
|---|---|
| RGB | rgb(180, 45, 47) |
| HSL | hsl(359, 60%, 44%) |
| HSV | hsv(359, 75%, 71%) |
| CMYK | cmyk(0%, 75%, 73.9%, 29.4%) |
| CIE-LAB | lab(40.88, 53.59, 32.16) |
| CIE-LCH | lch(40.88, 62.50, 30.96°) |
| OKLab | oklab(51.1% 0.1556 0.0726) |
| OKLCH | oklch(51.1% 0.172 25) |
| XYZ | xyz(20.2762, 11.7884, 3.8965) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.77
Brown
#A52A2A
ΔE00 3.15
Lipstick Red
#C0022F
ΔE00 4.02
Dull Red
#BB3F3F
ΔE00 4.14
Scarlet
#BE0119
ΔE00 4.45
Cardinal
#C41E3A
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42D2F #2DB4B2
analogous
#B42D73 #B42D2F #B46F2D
triadic
#B42D2F #2FB42D #2D2FB4
tetradic
#B42D2F #73B42D #2DB4B2 #6F2DB4
square
#B42D2F #73B42D #2DB4B2 #6F2DB4
split-complementary
#B42D2F #2DB46F #2D73B4
monochromatic
#521515 #832122 #B42D2F #D24C4E #DE7D7E
Accessibility & contrast
On white
6.26
#B42D2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B42D2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42D2F
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42D2F | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554E2E
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#C6002F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42d2f; /* rgb */ color: rgb(180, 45, 47); /* oklch */ color: oklch(51.1% 0.172 25.0);
Tailwind
colors: {
custom: {
50: '#d37168',
500: '#b42d2f',
950: '#000000',
},
}SCSS
$custom: #b42d2f; $custom-light: #d37168; $custom-dark: #000000;
JSON
{
"hex": "#b42d2f",
"rgb": {
"r": 180,
"g": 45,
"b": 47
},
"hsl": {
"h": 359.111,
"s": 60,
"l": 44.118
},
"oklch": {
"l": 0.51103,
"c": 0.17169,
"h": 25
},
"luminance": 0.11785
}Semantic roles & 50–950 ramp
primary
#B42D2F
secondary
#76C7C6
accent
#E3E145
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A