#B42E2F#B42E2F
#B42E2F is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.171 H 25.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E2F |
|---|---|
| RGB | rgb(180, 46, 47) |
| HSL | hsl(360, 59%, 44%) |
| HSV | hsv(360, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 73.9%, 29.4%) |
| CIE-LAB | lab(41.00, 53.25, 32.30) |
| CIE-LCH | lch(41.00, 62.28, 31.24°) |
| OKLab | oklab(51.2% 0.1545 0.0729) |
| OKLCH | oklch(51.2% 0.171 25.3) |
| XYZ | xyz(20.3148, 11.8657, 3.9094) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.74
Brown
#A52A2A
ΔE00 3.21
Dull Red
#BB3F3F
ΔE00 4.07
Lipstick Red
#C0022F
ΔE00 4.20
Scarlet
#BE0119
ΔE00 4.44
Cardinal
#C41E3A
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E2F #2EB4B3
analogous
#B42E72 #B42E2F #B4702E
triadic
#B42E2F #2FB42E #2E2FB4
tetradic
#B42E2F #72B42E #2EB4B3 #702EB4
square
#B42E2F #72B42E #2EB4B3 #702EB4
split-complementary
#B42E2F #2EB470 #2E72B4
monochromatic
#531516 #832222 #B42E2F #D24E4F #DE7E7F
Accessibility & contrast
On white
6.23
#B42E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#B42E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E2F
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E2F | 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)
#564E2E
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#C60030
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42e2f; /* rgb */ color: rgb(180, 46, 47); /* oklch */ color: oklch(51.2% 0.171 25.3);
Tailwind
colors: {
custom: {
50: '#d37168',
500: '#b42e2f',
950: '#000000',
},
}SCSS
$custom: #b42e2f; $custom-light: #d37168; $custom-dark: #000000;
JSON
{
"hex": "#b42e2f",
"rgb": {
"r": 180,
"g": 46,
"b": 47
},
"hsl": {
"h": 359.552,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.51196,
"c": 0.17083,
"h": 25.3
},
"luminance": 0.11863
}Semantic roles & 50–950 ramp
primary
#B42E2F
secondary
#77C7C6
accent
#E2E145
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A