#B12A3E#B12A3E
#B12A3E is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.170 H 18.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B12A3E |
|---|---|
| RGB | rgb(177, 42, 62) |
| HSL | hsl(351, 62%, 43%) |
| HSV | hsv(351, 76%, 69%) |
| CMYK | cmyk(0%, 76.3%, 65%, 30.6%) |
| CIE-LAB | lab(40.17, 54.44, 22.01) |
| CIE-LCH | lch(40.17, 58.72, 22.01°) |
| OKLab | oklab(50.55% 0.1619 0.0526) |
| OKLCH | oklch(50.55% 0.17 18) |
| XYZ | xyz(19.8311, 11.3538, 5.7038) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.10
Rouge
#AB1239
ΔE00 3.46
Cardinal
#C41E3A
ΔE00 3.78
Lipstick Red
#C0022F
ΔE00 4.40
Ruby
#CA0147
ΔE00 5.14
Cherry (survey)
#CF0234
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12A3E #2AB19D
analogous
#B12A81 #B12A3E #B1592A
triadic
#B12A3E #3EB12A #2A3EB1
tetradic
#B12A3E #81B12A #2AB19D #592AB1
square
#B12A3E #81B12A #2AB19D #592AB1
split-complementary
#B12A3E #2AB159 #2A81B1
monochromatic
#4E131B #801E2D #B12A3E #D3455A #DF7786
Accessibility & contrast
On white
6.42
#B12A3E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#B12A3E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12A3E
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12A3E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12A3E | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514D3E
Deuteranopia (green-blind)
#73693A
Tritanopia (blue-blind)
#C20033
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12a3e; /* rgb */ color: rgb(177, 42, 62); /* oklch */ color: oklch(50.5% 0.170 18.0);
Tailwind
colors: {
custom: {
50: '#d06f73',
500: '#b12a3e',
950: '#000000',
},
}SCSS
$custom: #b12a3e; $custom-light: #d06f73; $custom-dark: #000000;
JSON
{
"hex": "#b12a3e",
"rgb": {
"r": 177,
"g": 42,
"b": 62
},
"hsl": {
"h": 351.111,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.50547,
"c": 0.17026,
"h": 18
},
"luminance": 0.11351
}Semantic roles & 50–950 ramp
primary
#B12A3E
secondary
#70C6BA
accent
#E5CD43
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150808
muted
#837B7B