#B12D2B#B12D2B
#B12D2B is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.169 H 26.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B12D2B |
|---|---|
| RGB | rgb(177, 45, 43) |
| HSL | hsl(1, 61%, 43%) |
| HSV | hsv(1, 76%, 69%) |
| CMYK | cmyk(0%, 74.6%, 75.7%, 30.6%) |
| CIE-LAB | lab(40.25, 52.49, 33.64) |
| CIE-LCH | lch(40.25, 62.34, 32.66°) |
| OKLab | oklab(50.51% 0.1516 0.0751) |
| OKLCH | oklch(50.51% 0.169 26.4) |
| XYZ | xyz(19.5082, 11.4013, 3.4585) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.83
Brown
#A52A2A
ΔE00 2.68
Scarlet
#BE0119
ΔE00 3.94
Brick
#A03623
ΔE00 4.85
Lipstick Red
#C0022F
ΔE00 4.91
Dull Red
#BB3F3F
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12D2B #2BAFB1
analogous
#B12B6C #B12D2B #B1702B
triadic
#B12D2B #2BB12D #2D2BB1
tetradic
#B12D2B #6CB12B #2BAFB1 #702BB1
square
#B12D2B #6CB12B #2BAFB1 #702BB1
split-complementary
#B12D2B #2BB170 #2B6CB1
monochromatic
#4F1413 #80201F #B12D2B #D24947 #DE7A78
Accessibility & contrast
On white
6.40
#B12D2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B12D2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12D2B
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12D2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12D2B | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D29
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#C3002E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12d2b; /* rgb */ color: rgb(177, 45, 43); /* oklch */ color: oklch(50.5% 0.169 26.4);
Tailwind
colors: {
custom: {
50: '#d17065',
500: '#b12d2b',
950: '#000000',
},
}SCSS
$custom: #b12d2b; $custom-light: #d17065; $custom-dark: #000000;
JSON
{
"hex": "#b12d2b",
"rgb": {
"r": 177,
"g": 45,
"b": 43
},
"hsl": {
"h": 0.896,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.50514,
"c": 0.16916,
"h": 26.4
},
"luminance": 0.11398
}Semantic roles & 50–950 ramp
primary
#B12D2B
secondary
#72C5C6
accent
#E2E444
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A