#B42F1B#B42F1B
#B42F1B is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.173 H 31.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B42F1B |
|---|---|
| RGB | rgb(180, 47, 27) |
| HSL | hsl(8, 74%, 41%) |
| HSV | hsv(8, 85%, 71%) |
| CMYK | cmyk(0%, 73.9%, 85%, 29.4%) |
| CIE-LAB | lab(40.93, 52.22, 43.16) |
| CIE-LCH | lch(40.93, 67.75, 39.58°) |
| OKLab | oklab(51.08% 0.1473 0.0904) |
| OKLCH | oklch(51.08% 0.173 31.6) |
| XYZ | xyz(20.0392, 11.8186, 2.2628) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 2.96
Brick
#A03623
ΔE00 4.02
Rust Red
#AA2704
ΔE00 4.05
Firebrick
#B22222
ΔE00 4.12
Brownish Red
#9E3623
ΔE00 4.40
Scarlet
#BE0119
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42F1B #1BA0B4
analogous
#B41B53 #B42F1B #B47B1B
triadic
#B42F1B #1BB42F #2F1BB4
tetradic
#B42F1B #53B41B #1BA0B4 #7B1BB4
square
#B42F1B #53B41B #1BA0B4 #7B1BB4
split-complementary
#B42F1B #1BB47B #1B53B4
monochromatic
#4A130B #7F2113 #B42F1B #DF442D #E77362
Accessibility & contrast
On white
6.24
#B42F1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B42F1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42F1B
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42F1B | 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)
#584E17
Deuteranopia (green-blind)
#796B13
Tritanopia (blue-blind)
#C7002C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42f1b; /* rgb */ color: rgb(180, 47, 27); /* oklch */ color: oklch(51.1% 0.173 31.6);
Tailwind
colors: {
custom: {
50: '#d4715a',
500: '#b42f1b',
950: '#000000',
},
}SCSS
$custom: #b42f1b; $custom-light: #d4715a; $custom-dark: #000000;
JSON
{
"hex": "#b42f1b",
"rgb": {
"r": 180,
"g": 47,
"b": 27
},
"hsl": {
"h": 7.843,
"s": 73.913,
"l": 40.588
},
"oklch": {
"l": 0.51075,
"c": 0.17281,
"h": 31.6
},
"luminance": 0.11815
}Semantic roles & 50–950 ramp
primary
#B42F1B
secondary
#5FBECC
accent
#D8F137
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79