#B12E29#B12E29
#B12E29 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.169 H 27.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B12E29 |
|---|---|
| RGB | rgb(177, 46, 41) |
| HSL | hsl(2, 62%, 43%) |
| HSV | hsv(2, 77%, 69%) |
| CMYK | cmyk(0%, 74%, 76.8%, 30.6%) |
| CIE-LAB | lab(40.35, 52.06, 34.91) |
| CIE-LCH | lch(40.35, 62.68, 33.85°) |
| OKLab | oklab(50.58% 0.1498 0.0773) |
| OKLCH | oklch(50.58% 0.169 27.3) |
| XYZ | xyz(19.5110, 11.4642, 3.2829) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.62
Brown
#A52A2A
ΔE00 3.05
Scarlet
#BE0119
ΔE00 3.73
Brick
#A03623
ΔE00 4.33
Brownish Red
#9E3623
ΔE00 4.61
Dull Red
#BB3F3F
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12E29 #29ACB1
analogous
#B12968 #B12E29 #B17229
triadic
#B12E29 #29B12E #2E29B1
tetradic
#B12E29 #68B129 #29ACB1 #7229B1
square
#B12E29 #68B129 #29ACB1 #7229B1
split-complementary
#B12E29 #29B172 #2968B1
monochromatic
#4E1412 #7F211D #B12E29 #D44944 #DF7975
Accessibility & contrast
On white
6.38
#B12E29 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B12E29 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12E29
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12E29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12E29 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D27
Deuteranopia (green-blind)
#766924
Tritanopia (blue-blind)
#C3002E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12e29; /* rgb */ color: rgb(177, 46, 41); /* oklch */ color: oklch(50.6% 0.169 27.3);
Tailwind
colors: {
custom: {
50: '#d17163',
500: '#b12e29',
950: '#000000',
},
}SCSS
$custom: #b12e29; $custom-light: #d17163; $custom-dark: #000000;
JSON
{
"hex": "#b12e29",
"rgb": {
"r": 177,
"g": 46,
"b": 41
},
"hsl": {
"h": 2.206,
"s": 62.385,
"l": 42.745
},
"oklch": {
"l": 0.50584,
"c": 0.16858,
"h": 27.3
},
"luminance": 0.11461
}Semantic roles & 50–950 ramp
primary
#B12E29
secondary
#6FC3C7
accent
#DFE542
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79