#B4312A#B4312A
#B4312A is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.4% C 0.169 H 27.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B4312A |
|---|---|
| RGB | rgb(180, 49, 42) |
| HSL | hsl(3, 62%, 44%) |
| HSV | hsv(3, 77%, 71%) |
| CMYK | cmyk(0%, 72.8%, 76.7%, 29.4%) |
| CIE-LAB | lab(41.33, 51.97, 35.56) |
| CIE-LCH | lch(41.33, 62.98, 34.38°) |
| OKLab | oklab(51.42% 0.1494 0.0788) |
| OKLCH | oklch(51.42% 0.169 27.8) |
| XYZ | xyz(20.3410, 12.0702, 3.4488) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.27
Scarlet
#BE0119
ΔE00 3.88
Brown
#A52A2A
ΔE00 3.95
Brick
#A03623
ΔE00 4.57
Dull Red
#BB3F3F
ΔE00 4.87
Brownish Red
#9E3623
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4312A #2AADB4
analogous
#B42A68 #B4312A #B4762A
triadic
#B4312A #2AB431 #312AB4
tetradic
#B4312A #68B42A #2AADB4 #762AB4
square
#B4312A #68B42A #2AADB4 #762AB4
split-complementary
#B4312A #2AB476 #2A68B4
monochromatic
#511613 #82231E #B4312A #D44E47 #E07E79
Accessibility & contrast
On white
6.15
#B4312A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#B4312A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4312A
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4312A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4312A | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584F28
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#C60031
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b4312a; /* rgb */ color: rgb(180, 49, 42); /* oklch */ color: oklch(51.4% 0.169 27.8);
Tailwind
colors: {
custom: {
50: '#d37364',
500: '#b4312a',
950: '#000000',
},
}SCSS
$custom: #b4312a; $custom-light: #d37364; $custom-dark: #000000;
JSON
{
"hex": "#b4312a",
"rgb": {
"r": 180,
"g": 49,
"b": 42
},
"hsl": {
"h": 3.043,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.51419,
"c": 0.1689,
"h": 27.8
},
"luminance": 0.12067
}Semantic roles & 50–950 ramp
primary
#B4312A
secondary
#72C3C8
accent
#DDE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A