#B9312E#B9312E
#B9312E is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.173 H 26.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B9312E |
|---|---|
| RGB | rgb(185, 49, 46) |
| HSL | hsl(1, 60%, 45%) |
| HSV | hsv(1, 75%, 73%) |
| CMYK | cmyk(0%, 73.5%, 75.1%, 27.5%) |
| CIE-LAB | lab(42.33, 53.73, 34.63) |
| CIE-LCH | lch(42.33, 63.92, 32.80°) |
| OKLab | oklab(52.35% 0.1552 0.0775) |
| OKLCH | oklch(52.35% 0.173 26.5) |
| XYZ | xyz(21.6015, 12.7115, 3.9004) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.08
Dull Red
#BB3F3F
ΔE00 3.77
Scarlet
#BE0119
ΔE00 4.22
Brown
#A52A2A
ΔE00 4.54
Reddish
#C44240
ΔE00 4.80
Lipstick Red
#C0022F
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9312E #2EB6B9
analogous
#B92E70 #B9312E #B9762E
triadic
#B9312E #2EB931 #312EB9
tetradic
#B9312E #70B92E #2EB6B9 #762EB9
square
#B9312E #70B92E #2EB6B9 #762EB9
split-complementary
#B9312E #2EB976 #2E70B9
monochromatic
#571716 #882422 #B9312E #D45351 #E08482
Accessibility & contrast
On white
5.93
#B9312E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#B9312E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B9312E
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9312E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9312E | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59512C
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#CC0032
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b9312e; /* rgb */ color: rgb(185, 49, 46); /* oklch */ color: oklch(52.4% 0.173 26.5);
Tailwind
colors: {
custom: {
50: '#d77367',
500: '#b9312e',
950: '#000000',
},
}SCSS
$custom: #b9312e; $custom-light: #d77367; $custom-dark: #000000;
JSON
{
"hex": "#b9312e",
"rgb": {
"r": 185,
"g": 49,
"b": 46
},
"hsl": {
"h": 1.295,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.52351,
"c": 0.17342,
"h": 26.5
},
"luminance": 0.12708
}Semantic roles & 50–950 ramp
primary
#B9312E
secondary
#7AC7C9
accent
#E0E344
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A