#B02F26#B02F26
#B02F26 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.167 H 28.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B02F26 |
|---|---|
| RGB | rgb(176, 47, 38) |
| HSL | hsl(4, 64%, 42%) |
| HSV | hsv(4, 78%, 69%) |
| CMYK | cmyk(0%, 73.3%, 78.4%, 31%) |
| CIE-LAB | lab(40.26, 51.26, 36.45) |
| CIE-LCH | lch(40.26, 62.90, 35.42°) |
| OKLab | oklab(50.47% 0.1468 0.0799) |
| OKLCH | oklch(50.47% 0.167 28.6) |
| XYZ | xyz(19.2731, 11.4061, 3.0201) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.79
Brown
#A52A2A
ΔE00 3.58
Brick
#A03623
ΔE00 3.62
Scarlet
#BE0119
ΔE00 3.73
Brownish Red
#9E3623
ΔE00 3.94
Darkish Red
#A90308
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02F26 #26A7B0
analogous
#B02662 #B02F26 #B07426
triadic
#B02F26 #26B02F #2F26B0
tetradic
#B02F26 #62B026 #26A7B0 #7426B0
square
#B02F26 #62B026 #26A7B0 #7426B0
split-complementary
#B02F26 #26B074 #2662B0
monochromatic
#4B1410 #7E221B #B02F26 #D5483E #E07870
Accessibility & contrast
On white
6.40
#B02F26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B02F26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02F26
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02F26 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564D24
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#C2002E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b02f26; /* rgb */ color: rgb(176, 47, 38); /* oklch */ color: oklch(50.5% 0.167 28.6);
Tailwind
colors: {
custom: {
50: '#d07161',
500: '#b02f26',
950: '#000000',
},
}SCSS
$custom: #b02f26; $custom-light: #d07161; $custom-dark: #000000;
JSON
{
"hex": "#b02f26",
"rgb": {
"r": 176,
"g": 47,
"b": 38
},
"hsl": {
"h": 3.913,
"s": 64.486,
"l": 41.961
},
"oklch": {
"l": 0.50467,
"c": 0.16714,
"h": 28.6
},
"luminance": 0.11403
}Semantic roles & 50–950 ramp
primary
#B02F26
secondary
#6BC1C7
accent
#DDE740
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79