#B42E2E#B42E2E
#B42E2E is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.171 H 25.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E2E |
|---|---|
| RGB | rgb(180, 46, 46) |
| HSL | hsl(0, 59%, 44%) |
| HSV | hsv(0, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 74.4%, 29.4%) |
| CIE-LAB | lab(40.99, 53.21, 32.87) |
| CIE-LCH | lch(40.99, 62.54, 31.71°) |
| OKLab | oklab(51.18% 0.1541 0.074) |
| OKLCH | oklch(51.18% 0.171 25.6) |
| XYZ | xyz(20.2949, 11.8577, 3.8044) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.52
Brown
#A52A2A
ΔE00 3.22
Dull Red
#BB3F3F
ΔE00 4.20
Scarlet
#BE0119
ΔE00 4.24
Lipstick Red
#C0022F
ΔE00 4.40
Cardinal
#C41E3A
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E2E #2EB4B4
analogous
#B42E71 #B42E2E #B4712E
triadic
#B42E2E #2EB42E #2E2EB4
tetradic
#B42E2E #71B42E #2EB4B4 #712EB4
square
#B42E2E #71B42E #2EB4B4 #712EB4
split-complementary
#B42E2E #2EB471 #2E71B4
monochromatic
#531515 #832222 #B42E2E #D24E4E #DE7E7E
Accessibility & contrast
On white
6.23
#B42E2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#B42E2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E2E
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E2E | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E2C
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#C60030
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42e2e; /* rgb */ color: rgb(180, 46, 46); /* oklch */ color: oklch(51.2% 0.171 25.6);
Tailwind
colors: {
custom: {
50: '#d37167',
500: '#b42e2e',
950: '#000000',
},
}SCSS
$custom: #b42e2e; $custom-light: #d37167; $custom-dark: #000000;
JSON
{
"hex": "#b42e2e",
"rgb": {
"r": 180,
"g": 46,
"b": 46
},
"hsl": {
"h": 0,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.51182,
"c": 0.17096,
"h": 25.6
},
"luminance": 0.11855
}Semantic roles & 50–950 ramp
primary
#B42E2E
secondary
#77C7C7
accent
#E2E245
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A