#B9312F#B9312F
#B9312F is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.173 H 26.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B9312F |
|---|---|
| RGB | rgb(185, 49, 47) |
| HSL | hsl(1, 59%, 45%) |
| HSV | hsv(1, 75%, 73%) |
| CMYK | cmyk(0%, 73.5%, 74.6%, 27.5%) |
| CIE-LAB | lab(42.34, 53.77, 34.07) |
| CIE-LCH | lch(42.34, 63.65, 32.36°) |
| OKLab | oklab(52.36% 0.1555 0.0765) |
| OKLCH | oklch(52.36% 0.173 26.2) |
| XYZ | xyz(21.6215, 12.7195, 4.0054) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.19
Dull Red
#BB3F3F
ΔE00 3.57
Scarlet
#BE0119
ΔE00 4.36
Brown
#A52A2A
ΔE00 4.49
Reddish
#C44240
ΔE00 4.69
Lipstick Red
#C0022F
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9312F #2FB7B9
analogous
#B92F72 #B9312F #B9762F
triadic
#B9312F #2FB931 #312FB9
tetradic
#B9312F #72B92F #2FB7B9 #762FB9
square
#B9312F #72B92F #2FB7B9 #762FB9
split-complementary
#B9312F #2FB976 #2F72B9
monochromatic
#571716 #882423 #B9312F #D35452 #DF8483
Accessibility & contrast
On white
5.93
#B9312F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#B9312F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B9312F
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9312F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9312F | 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)
#59512D
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#CC0032
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b9312f; /* rgb */ color: rgb(185, 49, 47); /* oklch */ color: oklch(52.4% 0.173 26.2);
Tailwind
colors: {
custom: {
50: '#d77368',
500: '#b9312f',
950: '#000000',
},
}SCSS
$custom: #b9312f; $custom-light: #d77368; $custom-dark: #000000;
JSON
{
"hex": "#b9312f",
"rgb": {
"r": 185,
"g": 49,
"b": 47
},
"hsl": {
"h": 0.87,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.52364,
"c": 0.17329,
"h": 26.2
},
"luminance": 0.12716
}Semantic roles & 50–950 ramp
primary
#B9312F
secondary
#7BC8C9
accent
#E0E345
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A