#B12526#B12526
#B12526 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.176 H 26.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B12526 |
|---|---|
| RGB | rgb(177, 37, 38) |
| HSL | hsl(360, 65%, 42%) |
| HSV | hsv(360, 79%, 69%) |
| CMYK | cmyk(0%, 79.1%, 78.5%, 30.6%) |
| CIE-LAB | lab(39.26, 54.89, 35.47) |
| CIE-LCH | lch(39.26, 65.35, 32.87°) |
| OKLab | oklab(49.76% 0.1581 0.0777) |
| OKLCH | oklch(49.76% 0.176 26.2) |
| XYZ | xyz(19.1452, 10.8133, 2.9125) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 0.89
Brown
#A52A2A
ΔE00 2.52
Scarlet
#BE0119
ΔE00 3.14
Lipstick Red
#C0022F
ΔE00 4.82
Brick
#A03623
ΔE00 4.92
Brownish Red
#9E3623
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12526 #25B1B0
analogous
#B1256C #B12526 #B16A25
triadic
#B12526 #26B125 #2526B1
tetradic
#B12526 #6CB125 #25B1B0 #6A25B1
square
#B12526 #6CB125 #25B1B0 #6A25B1
split-complementary
#B12526 #25B16A #256CB1
monochromatic
#4C1010 #7E1A1B #B12526 #D63D3E #E16F70
Accessibility & contrast
On white
6.64
#B12526 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#B12526 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12526
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12526 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12526 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514924
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#C30028
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b12526; /* rgb */ color: rgb(177, 37, 38); /* oklch */ color: oklch(49.8% 0.176 26.2);
Tailwind
colors: {
custom: {
50: '#d26d61',
500: '#b12526',
950: '#000000',
},
}SCSS
$custom: #b12526; $custom-light: #d26d61; $custom-dark: #000000;
JSON
{
"hex": "#b12526",
"rgb": {
"r": 177,
"g": 37,
"b": 38
},
"hsl": {
"h": 359.571,
"s": 65.421,
"l": 41.961
},
"oklch": {
"l": 0.49763,
"c": 0.17615,
"h": 26.2
},
"luminance": 0.1081
}Semantic roles & 50–950 ramp
primary
#B12526
secondary
#6AC8C7
accent
#E8E73F
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79