#B02E1F#B02E1F
#B02E1F is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.169 H 30.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B02E1F |
|---|---|
| RGB | rgb(176, 46, 31) |
| HSL | hsl(6, 70%, 41%) |
| HSV | hsv(6, 82%, 69%) |
| CMYK | cmyk(0%, 73.9%, 82.4%, 31%) |
| CIE-LAB | lab(40.06, 51.39, 40.06) |
| CIE-LCH | lch(40.06, 65.16, 37.93°) |
| OKLab | oklab(50.3% 0.1458 0.0855) |
| OKLCH | oklch(50.3% 0.169 30.4) |
| XYZ | xyz(19.1311, 11.2860, 2.4671) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.83
Brick
#A03623
ΔE00 3.17
Brownish Red
#9E3623
ΔE00 3.55
Scarlet
#BE0119
ΔE00 3.97
Rusty Red
#AF2F0D
ΔE00 4.02
Rust Red
#AA2704
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02E1F #1FA1B0
analogous
#B01F58 #B02E1F #B0761F
triadic
#B02E1F #1FB02E #2E1FB0
tetradic
#B02E1F #58B01F #1FA1B0 #761FB0
square
#B02E1F #58B01F #1FA1B0 #761FB0
split-complementary
#B02E1F #1FB076 #1F58B0
monochromatic
#48130D #7C2016 #B02E1F #DB4331 #E47365
Accessibility & contrast
On white
6.45
#B02E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#B02E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02E1F
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02E1F | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564C1C
Deuteranopia (green-blind)
#766918
Tritanopia (blue-blind)
#C2002C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b02e1f; /* rgb */ color: rgb(176, 46, 31); /* oklch */ color: oklch(50.3% 0.169 30.4);
Tailwind
colors: {
custom: {
50: '#d1705c',
500: '#b02e1f',
950: '#000000',
},
}SCSS
$custom: #b02e1f; $custom-light: #d1705c; $custom-dark: #000000;
JSON
{
"hex": "#b02e1f",
"rgb": {
"r": 176,
"g": 46,
"b": 31
},
"hsl": {
"h": 6.207,
"s": 70.048,
"l": 40.588
},
"oklch": {
"l": 0.50298,
"c": 0.16903,
"h": 30.4
},
"luminance": 0.11283
}Semantic roles & 50–950 ramp
primary
#B02E1F
secondary
#62BEC9
accent
#DAED3B
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79