#B9312A#B9312A
#B9312A is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.3% C 0.174 H 27.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B9312A |
|---|---|
| RGB | rgb(185, 49, 42) |
| HSL | hsl(3, 63%, 45%) |
| HSV | hsv(3, 77%, 73%) |
| CMYK | cmyk(0%, 73.5%, 77.3%, 27.5%) |
| CIE-LAB | lab(42.28, 53.57, 36.86) |
| CIE-LCH | lch(42.28, 65.03, 34.53°) |
| OKLab | oklab(52.3% 0.1538 0.0813) |
| OKLCH | oklch(52.3% 0.174 27.9) |
| XYZ | xyz(21.5263, 12.6814, 3.5043) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.90
Scarlet
#BE0119
ΔE00 3.86
Dull Red
#BB3F3F
ΔE00 4.65
Brown
#A52A2A
ΔE00 4.90
Brick
#A03623
ΔE00 5.32
Reddish
#C44240
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9312A #2AB2B9
analogous
#B92A6B #B9312A #B9792A
triadic
#B9312A #2AB931 #312AB9
tetradic
#B9312A #6BB92A #2AB2B9 #792AB9
square
#B9312A #6BB92A #2AB2B9 #792AB9
split-complementary
#B9312A #2AB979 #2A6BB9
monochromatic
#551713 #87241F #B9312A #D6514A #E1817C
Accessibility & contrast
On white
5.94
#B9312A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#B9312A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B9312A
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9312A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9312A | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5128
Deuteranopia (green-blind)
#7B6F24
Tritanopia (blue-blind)
#CC0031
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b9312a; /* rgb */ color: rgb(185, 49, 42); /* oklch */ color: oklch(52.3% 0.174 27.9);
Tailwind
colors: {
custom: {
50: '#d77364',
500: '#b9312a',
950: '#000000',
},
}SCSS
$custom: #b9312a; $custom-light: #d77364; $custom-dark: #000000;
JSON
{
"hex": "#b9312a",
"rgb": {
"r": 185,
"g": 49,
"b": 42
},
"hsl": {
"h": 2.937,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.52302,
"c": 0.17397,
"h": 27.9
},
"luminance": 0.12678
}Semantic roles & 50–950 ramp
primary
#B9312A
secondary
#75C5CA
accent
#DEE642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A