#B42E2A#B42E2A
#B42E2A is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.171 H 27.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E2A |
|---|---|
| RGB | rgb(180, 46, 42) |
| HSL | hsl(2, 62%, 44%) |
| HSV | hsv(2, 77%, 71%) |
| CMYK | cmyk(0%, 74.4%, 76.7%, 29.4%) |
| CIE-LAB | lab(40.94, 53.05, 35.14) |
| CIE-LCH | lch(40.94, 63.63, 33.52°) |
| OKLab | oklab(51.13% 0.1528 0.0779) |
| OKLCH | oklch(51.13% 0.171 27) |
| XYZ | xyz(20.2197, 11.8276, 3.4083) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.89
Brown
#A52A2A
ΔE00 3.51
Scarlet
#BE0119
ΔE00 3.64
Brick
#A03623
ΔE00 4.85
Dull Red
#BB3F3F
ΔE00 4.86
Brownish Red
#9E3623
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E2A #2AB0B4
analogous
#B42A6B #B42E2A #B4732A
triadic
#B42E2A #2AB42E #2E2AB4
tetradic
#B42E2A #6BB42A #2AB0B4 #732AB4
square
#B42E2A #6BB42A #2AB0B4 #732AB4
split-complementary
#B42E2A #2AB473 #2A6BB4
monochromatic
#511513 #82211E #B42E2A #D44B47 #E07C79
Accessibility & contrast
On white
6.24
#B42E2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B42E2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E2A
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E2A | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E28
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#C6002F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42e2a; /* rgb */ color: rgb(180, 46, 42); /* oklch */ color: oklch(51.1% 0.171 27.0);
Tailwind
colors: {
custom: {
50: '#d37164',
500: '#b42e2a',
950: '#000000',
},
}SCSS
$custom: #b42e2a; $custom-light: #d37164; $custom-dark: #000000;
JSON
{
"hex": "#b42e2a",
"rgb": {
"r": 180,
"g": 46,
"b": 42
},
"hsl": {
"h": 1.739,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.51131,
"c": 0.17148,
"h": 27
},
"luminance": 0.11824
}Semantic roles & 50–950 ramp
primary
#B42E2A
secondary
#72C5C8
accent
#E1E543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A