#B02126#B02126
#B02126 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.178 H 25.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B02126 |
|---|---|
| RGB | rgb(176, 33, 38) |
| HSL | hsl(358, 68%, 41%) |
| HSV | hsv(358, 81%, 69%) |
| CMYK | cmyk(0%, 81.3%, 78.4%, 31%) |
| CIE-LAB | lab(38.66, 55.74, 34.77) |
| CIE-LCH | lch(38.66, 65.69, 31.95°) |
| OKLab | oklab(49.28% 0.1609 0.0762) |
| OKLCH | oklch(49.28% 0.178 25.4) |
| XYZ | xyz(18.8005, 10.4608, 2.8626) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.43
Brown
#A52A2A
ΔE00 2.18
Scarlet
#BE0119
ΔE00 3.40
Lipstick Red
#C0022F
ΔE00 4.39
Carmine
#9D0216
ΔE00 5.23
Brick
#A03623
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02126 #21B0AB
analogous
#B0216D #B02126 #B06321
triadic
#B02126 #26B021 #2126B0
tetradic
#B02126 #6DB021 #21B0AB #6321B0
square
#B02126 #6DB021 #21B0AB #6321B0
split-complementary
#B02126 #21B063 #216DB0
monochromatic
#490E10 #7C171B #B02126 #D9353B #E3696D
Accessibility & contrast
On white
6.79
#B02126 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#B02126 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02126
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02126 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02126 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4724
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#C20025
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b02126; /* rgb */ color: rgb(176, 33, 38); /* oklch */ color: oklch(49.3% 0.178 25.4);
Tailwind
colors: {
custom: {
50: '#d16b61',
500: '#b02126',
950: '#000000',
},
}SCSS
$custom: #b02126; $custom-light: #d16b61; $custom-dark: #000000;
JSON
{
"hex": "#b02126",
"rgb": {
"r": 176,
"g": 33,
"b": 38
},
"hsl": {
"h": 357.902,
"s": 68.421,
"l": 40.98
},
"oklch": {
"l": 0.49277,
"c": 0.17804,
"h": 25.4
},
"luminance": 0.10458
}Semantic roles & 50–950 ramp
primary
#B02126
secondary
#64C8C5
accent
#EBE53D
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160805
muted
#847A79