#B02A26#B02A26
#B02A26 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.171 H 27.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B02A26 |
|---|---|
| RGB | rgb(176, 42, 38) |
| HSL | hsl(2, 64%, 42%) |
| HSV | hsv(2, 78%, 69%) |
| CMYK | cmyk(0%, 76.1%, 78.4%, 31%) |
| CIE-LAB | lab(39.63, 53.01, 35.79) |
| CIE-LCH | lch(39.63, 63.96, 34.03°) |
| OKLab | oklab(50% 0.1523 0.0785) |
| OKLCH | oklch(50% 0.171 27.3) |
| XYZ | xyz(19.0846, 11.0290, 2.9573) |
| Luminance | 0.1103 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 0.98
Brown
#A52A2A
ΔE00 2.81
Scarlet
#BE0119
ΔE00 3.34
Brick
#A03623
ΔE00 4.20
Brownish Red
#9E3623
ΔE00 4.47
Darkish Red
#A90308
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02A26 #26ACB0
analogous
#B02667 #B02A26 #B06F26
triadic
#B02A26 #26B02A #2A26B0
tetradic
#B02A26 #67B026 #26ACB0 #6F26B0
square
#B02A26 #67B026 #26ACB0 #6F26B0
split-complementary
#B02A26 #26B06F #2667B0
monochromatic
#4B1210 #7E1E1B #B02A26 #D5423E #E07370
Accessibility & contrast
On white
6.55
#B02A26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#B02A26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02A26
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02A26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02A26 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B24
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#C2002B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b02a26; /* rgb */ color: rgb(176, 42, 38); /* oklch */ color: oklch(50.0% 0.171 27.3);
Tailwind
colors: {
custom: {
50: '#d16f61',
500: '#b02a26',
950: '#000000',
},
}SCSS
$custom: #b02a26; $custom-light: #d16f61; $custom-dark: #000000;
JSON
{
"hex": "#b02a26",
"rgb": {
"r": 176,
"g": 42,
"b": 38
},
"hsl": {
"h": 1.739,
"s": 64.486,
"l": 41.961
},
"oklch": {
"l": 0.5,
"c": 0.17131,
"h": 27.3
},
"luminance": 0.11026
}Semantic roles & 50–950 ramp
primary
#B02A26
secondary
#6BC4C7
accent
#E3E740
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79