#B12E23#B12E23
#B12E23 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.169 H 29.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B12E23 |
|---|---|
| RGB | rgb(177, 46, 35) |
| HSL | hsl(5, 67%, 42%) |
| HSV | hsv(5, 80%, 69%) |
| CMYK | cmyk(0%, 74%, 80.2%, 30.6%) |
| CIE-LAB | lab(40.29, 51.84, 38.21) |
| CIE-LCH | lch(40.29, 64.40, 36.39°) |
| OKLab | oklab(50.52% 0.1479 0.0827) |
| OKLCH | oklch(50.52% 0.169 29.2) |
| XYZ | xyz(19.4141, 11.4255, 2.7729) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.05
Brick
#A03623
ΔE00 3.52
Scarlet
#BE0119
ΔE00 3.58
Brownish Red
#9E3623
ΔE00 3.88
Brown
#A52A2A
ΔE00 4.18
Rusty Red
#AF2F0D
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12E23 #23A6B1
analogous
#B1235F #B12E23 #B17523
triadic
#B12E23 #23B12E #2E23B1
tetradic
#B12E23 #5FB123 #23A6B1 #7523B1
square
#B12E23 #5FB123 #23A6B1 #7523B1
split-complementary
#B12E23 #23B175 #235FB1
monochromatic
#4B130F #7E2119 #B12E23 #D84639 #E2766C
Accessibility & contrast
On white
6.39
#B12E23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B12E23 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12E23
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12E23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12E23 | 1.00 | 6.39 | 3.28 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564D20
Deuteranopia (green-blind)
#76691D
Tritanopia (blue-blind)
#C3002D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12e23; /* rgb */ color: rgb(177, 46, 35); /* oklch */ color: oklch(50.5% 0.169 29.2);
Tailwind
colors: {
custom: {
50: '#d1715f',
500: '#b12e23',
950: '#000000',
},
}SCSS
$custom: #b12e23; $custom-light: #d1715f; $custom-dark: #000000;
JSON
{
"hex": "#b12e23",
"rgb": {
"r": 177,
"g": 46,
"b": 35
},
"hsl": {
"h": 4.648,
"s": 66.981,
"l": 41.569
},
"oklch": {
"l": 0.50516,
"c": 0.16944,
"h": 29.2
},
"luminance": 0.11422
}Semantic roles & 50–950 ramp
primary
#B12E23
secondary
#68C1C8
accent
#DDEA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79