#B42A2E#B42A2E
#B42A2E is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.174 H 24.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B42A2E |
|---|---|
| RGB | rgb(180, 42, 46) |
| HSL | hsl(358, 62%, 44%) |
| HSV | hsv(358, 77%, 71%) |
| CMYK | cmyk(0%, 76.7%, 74.4%, 29.4%) |
| CIE-LAB | lab(40.51, 54.55, 32.33) |
| CIE-LCH | lch(40.51, 63.41, 30.65°) |
| OKLab | oklab(50.82% 0.1584 0.0728) |
| OKLCH | oklch(50.82% 0.174 24.7) |
| XYZ | xyz(20.1458, 11.5596, 3.7547) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.66
Brown
#A52A2A
ΔE00 2.98
Lipstick Red
#C0022F
ΔE00 3.69
Scarlet
#BE0119
ΔE00 4.30
Dull Red
#BB3F3F
ΔE00 4.48
Cardinal
#C41E3A
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42A2E #2AB4B0
analogous
#B42A73 #B42A2E #B46B2A
triadic
#B42A2E #2EB42A #2A2EB4
tetradic
#B42A2E #73B42A #2AB4B0 #6B2AB4
square
#B42A2E #73B42A #2AB4B0 #6B2AB4
split-complementary
#B42A2E #2AB46B #2A73B4
monochromatic
#511315 #821E21 #B42A2E #D4474B #E0797C
Accessibility & contrast
On white
6.34
#B42A2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#B42A2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42A2E
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42A2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42A2E | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544C2D
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#C6002D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42a2e; /* rgb */ color: rgb(180, 42, 46); /* oklch */ color: oklch(50.8% 0.174 24.7);
Tailwind
colors: {
custom: {
50: '#d37067',
500: '#b42a2e',
950: '#000000',
},
}SCSS
$custom: #b42a2e; $custom-light: #d37067; $custom-dark: #000000;
JSON
{
"hex": "#b42a2e",
"rgb": {
"r": 180,
"g": 42,
"b": 46
},
"hsl": {
"h": 358.261,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.50824,
"c": 0.1743,
"h": 24.7
},
"luminance": 0.11556
}Semantic roles & 50–950 ramp
primary
#B42A2E
secondary
#72C8C5
accent
#E5E143
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A