#B02A1B#B02A1B
#B02A1B is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.173 H 30.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B02A1B |
|---|---|
| RGB | rgb(176, 42, 27) |
| HSL | hsl(6, 73%, 40%) |
| HSV | hsv(6, 85%, 69%) |
| CMYK | cmyk(0%, 76.1%, 84.7%, 31%) |
| CIE-LAB | lab(39.53, 52.67, 41.62) |
| CIE-LCH | lch(39.53, 67.13, 38.32°) |
| OKLab | oklab(49.89% 0.1491 0.0874) |
| OKLCH | oklch(49.89% 0.173 30.4) |
| XYZ | xyz(18.9326, 10.9682, 2.1569) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.95
Brick
#A03623
ΔE00 3.36
Rusty Red
#AF2F0D
ΔE00 3.70
Brownish Red
#9E3623
ΔE00 3.71
Scarlet
#BE0119
ΔE00 3.81
Rust Red
#AA2704
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02A1B #1BA1B0
analogous
#B01B57 #B02A1B #B0741B
triadic
#B02A1B #1BB02A #2A1BB0
tetradic
#B02A1B #57B01B #1BA1B0 #741BB0
square
#B02A1B #57B01B #1BA1B0 #741BB0
split-complementary
#B02A1B #1BB074 #1B57B0
monochromatic
#46110B #7B1D13 #B02A1B #DE3C2A #E66D5F
Accessibility & contrast
On white
6.58
#B02A1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#B02A1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02A1B
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02A1B | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544A17
Deuteranopia (green-blind)
#756813
Tritanopia (blue-blind)
#C20028
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b02a1b; /* rgb */ color: rgb(176, 42, 27); /* oklch */ color: oklch(49.9% 0.173 30.4);
Tailwind
colors: {
custom: {
50: '#d16f5a',
500: '#b02a1b',
950: '#000000',
},
}SCSS
$custom: #b02a1b; $custom-light: #d16f5a; $custom-dark: #000000;
JSON
{
"hex": "#b02a1b",
"rgb": {
"r": 176,
"g": 42,
"b": 27
},
"hsl": {
"h": 6.04,
"s": 73.399,
"l": 39.804
},
"oklch": {
"l": 0.49891,
"c": 0.1728,
"h": 30.4
},
"luminance": 0.10965
}Semantic roles & 50–950 ramp
primary
#B02A1B
secondary
#5CC0CB
accent
#DEF038
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79