#B42E2D#B42E2D
#B42E2D is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.2% C 0.171 H 26.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E2D |
|---|---|
| RGB | rgb(180, 46, 45) |
| HSL | hsl(0, 60%, 44%) |
| HSV | hsv(0, 75%, 71%) |
| CMYK | cmyk(0%, 74.4%, 75%, 29.4%) |
| CIE-LAB | lab(40.98, 53.17, 33.44) |
| CIE-LCH | lch(40.98, 62.81, 32.17°) |
| OKLab | oklab(51.17% 0.1538 0.075) |
| OKLCH | oklch(51.17% 0.171 26) |
| XYZ | xyz(20.2754, 11.8499, 3.7018) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.32
Brown
#A52A2A
ΔE00 3.26
Scarlet
#BE0119
ΔE00 4.06
Dull Red
#BB3F3F
ΔE00 4.35
Lipstick Red
#C0022F
ΔE00 4.61
Cardinal
#C41E3A
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E2D #2DB3B4
analogous
#B42D70 #B42E2D #B4712D
triadic
#B42E2D #2DB42E #2E2DB4
tetradic
#B42E2D #70B42D #2DB3B4 #712DB4
square
#B42E2D #70B42D #2DB3B4 #712DB4
split-complementary
#B42E2D #2DB471 #2D70B4
monochromatic
#521515 #832121 #B42E2D #D24D4C #DE7E7D
Accessibility & contrast
On white
6.23
#B42E2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#B42E2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E2D
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E2D | 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)
#564E2B
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#C60030
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42e2d; /* rgb */ color: rgb(180, 46, 45); /* oklch */ color: oklch(51.2% 0.171 26.0);
Tailwind
colors: {
custom: {
50: '#d37166',
500: '#b42e2d',
950: '#000000',
},
}SCSS
$custom: #b42e2d; $custom-light: #d37166; $custom-dark: #000000;
JSON
{
"hex": "#b42e2d",
"rgb": {
"r": 180,
"g": 46,
"b": 45
},
"hsl": {
"h": 0.444,
"s": 60,
"l": 44.118
},
"oklch": {
"l": 0.51169,
"c": 0.17108,
"h": 26
},
"luminance": 0.11847
}Semantic roles & 50–950 ramp
primary
#B42E2D
secondary
#76C6C7
accent
#E2E345
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A