#B3331F#B3331F
#B3331F is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.3% C 0.168 H 31.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B3331F |
|---|---|
| RGB | rgb(179, 51, 31) |
| HSL | hsl(8, 70%, 41%) |
| HSV | hsv(8, 83%, 70%) |
| CMYK | cmyk(0%, 71.5%, 82.7%, 29.8%) |
| CIE-LAB | lab(41.30, 50.53, 41.44) |
| CIE-LCH | lch(41.30, 65.35, 39.36°) |
| OKLab | oklab(51.33% 0.1428 0.0882) |
| OKLCH | oklch(51.33% 0.168 31.7) |
| XYZ | xyz(20.0239, 12.0534, 2.5682) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 3.33
Brick
#A03623
ΔE00 3.77
Firebrick
#B22222
ΔE00 4.12
Brownish Red
#9E3623
ΔE00 4.17
Rust Red
#AA2704
ΔE00 4.51
Scarlet
#BE0119
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3331F #1F9FB3
analogous
#B31F55 #B3331F #B37D1F
triadic
#B3331F #1FB333 #331FB3
tetradic
#B3331F #55B31F #1F9FB3 #7D1FB3
square
#B3331F #55B31F #1F9FB3 #7D1FB3
split-complementary
#B3331F #1FB37D #1F55B3
monochromatic
#4B150D #7F2416 #B3331F #DC4A33 #E57968
Accessibility & contrast
On white
6.16
#B3331F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#B3331F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B3331F
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3331F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B3331F | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594F1B
Deuteranopia (green-blind)
#796C18
Tritanopia (blue-blind)
#C50030
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b3331f; /* rgb */ color: rgb(179, 51, 31); /* oklch */ color: oklch(51.3% 0.168 31.7);
Tailwind
colors: {
custom: {
50: '#d3735d',
500: '#b3331f',
950: '#000000',
},
}SCSS
$custom: #b3331f; $custom-light: #d3735d; $custom-dark: #000000;
JSON
{
"hex": "#b3331f",
"rgb": {
"r": 179,
"g": 51,
"b": 31
},
"hsl": {
"h": 8.108,
"s": 70.476,
"l": 41.176
},
"oklch": {
"l": 0.51331,
"c": 0.16787,
"h": 31.7
},
"luminance": 0.1205
}Semantic roles & 50–950 ramp
primary
#B3331F
secondary
#64BCCA
accent
#D5ED3B
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160904
muted
#847B79