#B42D1B#B42D1B
#B42D1B is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.174 H 31.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B42D1B |
|---|---|
| RGB | rgb(180, 45, 27) |
| HSL | hsl(7, 74%, 41%) |
| HSV | hsv(7, 85%, 71%) |
| CMYK | cmyk(0%, 75%, 85%, 29.4%) |
| CIE-LAB | lab(40.67, 52.92, 42.94) |
| CIE-LCH | lch(40.67, 68.15, 39.06°) |
| OKLab | oklab(50.89% 0.1494 0.0899) |
| OKLCH | oklch(50.89% 0.174 31) |
| XYZ | xyz(19.9610, 11.6624, 2.2367) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 3.24
Firebrick
#B22222
ΔE00 3.71
Brick
#A03623
ΔE00 3.97
Rust Red
#AA2704
ΔE00 4.17
Scarlet
#BE0119
ΔE00 4.17
Brownish Red
#9E3623
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42D1B #1BA2B4
analogous
#B41B55 #B42D1B #B4791B
triadic
#B42D1B #1BB42D #2D1BB4
tetradic
#B42D1B #55B41B #1BA2B4 #791BB4
square
#B42D1B #55B41B #1BA2B4 #791BB4
split-complementary
#B42D1B #1BB479 #1B55B4
monochromatic
#4A120B #7F2013 #B42D1B #DF422D #E77262
Accessibility & contrast
On white
6.30
#B42D1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B42D1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42D1B
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42D1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42D1B | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574D17
Deuteranopia (green-blind)
#786B13
Tritanopia (blue-blind)
#C7002A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42d1b; /* rgb */ color: rgb(180, 45, 27); /* oklch */ color: oklch(50.9% 0.174 31.0);
Tailwind
colors: {
custom: {
50: '#d4705a',
500: '#b42d1b',
950: '#000000',
},
}SCSS
$custom: #b42d1b; $custom-light: #d4705a; $custom-dark: #000000;
JSON
{
"hex": "#b42d1b",
"rgb": {
"r": 180,
"g": 45,
"b": 27
},
"hsl": {
"h": 7.059,
"s": 73.913,
"l": 40.588
},
"oklch": {
"l": 0.50887,
"c": 0.1744,
"h": 31
},
"luminance": 0.11659
}Semantic roles & 50–950 ramp
primary
#B42D1B
secondary
#5FBFCC
accent
#DBF137
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79