#B12626#B12626
#B12626 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.175 H 26.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B12626 |
|---|---|
| RGB | rgb(177, 38, 38) |
| HSL | hsl(0, 65%, 42%) |
| HSV | hsv(0, 79%, 69%) |
| CMYK | cmyk(0%, 78.5%, 78.5%, 30.6%) |
| CIE-LAB | lab(39.37, 54.59, 35.58) |
| CIE-LCH | lch(39.37, 65.16, 33.10°) |
| OKLab | oklab(49.84% 0.1571 0.0779) |
| OKLCH | oklch(49.84% 0.175 26.4) |
| XYZ | xyz(19.1767, 10.8763, 2.9230) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 0.83
Brown
#A52A2A
ΔE00 2.59
Scarlet
#BE0119
ΔE00 3.14
Brick
#A03623
ΔE00 4.79
Lipstick Red
#C0022F
ΔE00 4.95
Brownish Red
#9E3623
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12626 #26B1B1
analogous
#B1266C #B12626 #B16C26
triadic
#B12626 #26B126 #2626B1
tetradic
#B12626 #6CB126 #26B1B1 #6C26B1
square
#B12626 #6CB126 #26B1B1 #6C26B1
split-complementary
#B12626 #26B16C #266CB1
monochromatic
#4C1010 #7F1B1B #B12626 #D63F3F #E07171
Accessibility & contrast
On white
6.62
#B12626 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#B12626 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12626
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12626 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12626 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524924
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#C30028
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b12626; /* rgb */ color: rgb(177, 38, 38); /* oklch */ color: oklch(49.8% 0.175 26.4);
Tailwind
colors: {
custom: {
50: '#d26d61',
500: '#b12626',
950: '#000000',
},
}SCSS
$custom: #b12626; $custom-light: #d26d61; $custom-dark: #000000;
JSON
{
"hex": "#b12626",
"rgb": {
"r": 177,
"g": 38,
"b": 38
},
"hsl": {
"h": 0,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.49843,
"c": 0.1754,
"h": 26.4
},
"luminance": 0.10873
}Semantic roles & 50–950 ramp
primary
#B12626
secondary
#6BC7C7
accent
#E8E840
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79