#B12D2E#B12D2E
#B12D2E is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.169 H 25.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B12D2E |
|---|---|
| RGB | rgb(177, 45, 46) |
| HSL | hsl(360, 59%, 44%) |
| HSV | hsv(360, 75%, 69%) |
| CMYK | cmyk(0%, 74.6%, 74%, 30.6%) |
| CIE-LAB | lab(40.29, 52.61, 31.92) |
| CIE-LCH | lch(40.29, 61.54, 31.25°) |
| OKLab | oklab(50.55% 0.1526 0.0721) |
| OKLCH | oklch(50.55% 0.169 25.3) |
| XYZ | xyz(19.5652, 11.4242, 3.7591) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.52
Brown
#A52A2A
ΔE00 2.55
Lipstick Red
#C0022F
ΔE00 4.28
Scarlet
#BE0119
ΔE00 4.48
Dull Red
#BB3F3F
ΔE00 4.58
Cardinal
#C41E3A
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12D2E #2DB1B0
analogous
#B12D70 #B12D2E #B16E2D
triadic
#B12D2E #2EB12D #2D2EB1
tetradic
#B12D2E #70B12D #2DB1B0 #6E2DB1
square
#B12D2E #70B12D #2DB1B0 #6E2DB1
split-complementary
#B12D2E #2DB16E #2D70B1
monochromatic
#4F1415 #802121 #B12D2E #D14A4B #DD7B7C
Accessibility & contrast
On white
6.39
#B12D2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B12D2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12D2E
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12D2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12D2E | 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)
#544D2D
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#C3002F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12d2e; /* rgb */ color: rgb(177, 45, 46); /* oklch */ color: oklch(50.6% 0.169 25.3);
Tailwind
colors: {
custom: {
50: '#d17067',
500: '#b12d2e',
950: '#000000',
},
}SCSS
$custom: #b12d2e; $custom-light: #d17067; $custom-dark: #000000;
JSON
{
"hex": "#b12d2e",
"rgb": {
"r": 177,
"g": 45,
"b": 46
},
"hsl": {
"h": 359.545,
"s": 59.459,
"l": 43.529
},
"oklch": {
"l": 0.50554,
"c": 0.16879,
"h": 25.3
},
"luminance": 0.11421
}Semantic roles & 50–950 ramp
primary
#B12D2E
secondary
#74C6C5
accent
#E3E145
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A