#B42C1A#B42C1A
#B42C1A is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.175 H 31.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B42C1A |
|---|---|
| RGB | rgb(180, 44, 26) |
| HSL | hsl(7, 75%, 40%) |
| HSV | hsv(7, 86%, 71%) |
| CMYK | cmyk(0%, 75.6%, 85.6%, 29.4%) |
| CIE-LAB | lab(40.54, 53.23, 43.31) |
| CIE-LCH | lch(40.54, 68.63, 39.13°) |
| OKLab | oklab(50.79% 0.1502 0.0904) |
| OKLCH | oklch(50.79% 0.175 31) |
| XYZ | xyz(19.9120, 11.5824, 2.1643) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 3.16
Firebrick
#B22222
ΔE00 3.73
Brick
#A03623
ΔE00 4.01
Rust Red
#AA2704
ΔE00 4.05
Scarlet
#BE0119
ΔE00 4.14
Brownish Red
#9E3623
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42C1A #1AA2B4
analogous
#B41A55 #B42C1A #B4791A
triadic
#B42C1A #1AB42C #2C1AB4
tetradic
#B42C1A #55B41A #1AA2B4 #791AB4
square
#B42C1A #55B41A #1AA2B4 #791AB4
split-complementary
#B42C1A #1AB479 #1A55B4
monochromatic
#49120B #7F1F12 #B42C1A #E0402B #E87060
Accessibility & contrast
On white
6.33
#B42C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#B42C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42C1A
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42C1A | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564C16
Deuteranopia (green-blind)
#786A11
Tritanopia (blue-blind)
#C7002A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42c1a; /* rgb */ color: rgb(180, 44, 26); /* oklch */ color: oklch(50.8% 0.175 31.0);
Tailwind
colors: {
custom: {
50: '#d47059',
500: '#b42c1a',
950: '#000000',
},
}SCSS
$custom: #b42c1a; $custom-light: #d47059; $custom-dark: #000000;
JSON
{
"hex": "#b42c1a",
"rgb": {
"r": 180,
"g": 44,
"b": 26
},
"hsl": {
"h": 7.013,
"s": 74.757,
"l": 40.392
},
"oklch": {
"l": 0.50788,
"c": 0.17531,
"h": 31
},
"luminance": 0.11579
}Semantic roles & 50–950 ramp
primary
#B42C1A
secondary
#5DBFCC
accent
#DCF136
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79