#B5312A#B5312A
#B5312A is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.6% C 0.170 H 27.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B5312A |
|---|---|
| RGB | rgb(181, 49, 42) |
| HSL | hsl(3, 62%, 44%) |
| HSV | hsv(3, 77%, 71%) |
| CMYK | cmyk(0%, 72.9%, 76.8%, 29%) |
| CIE-LAB | lab(41.52, 52.30, 35.82) |
| CIE-LCH | lch(41.52, 63.39, 34.41°) |
| OKLab | oklab(51.6% 0.1503 0.0793) |
| OKLCH | oklch(51.6% 0.17 27.8) |
| XYZ | xyz(20.5747, 12.1907, 3.4597) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.37
Scarlet
#BE0119
ΔE00 3.85
Brown
#A52A2A
ΔE00 4.13
Brick
#A03623
ΔE00 4.72
Dull Red
#BB3F3F
ΔE00 4.81
Brownish Red
#9E3623
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5312A #2AAEB5
analogous
#B52A68 #B5312A #B5762A
triadic
#B5312A #2AB531 #312AB5
tetradic
#B5312A #68B52A #2AAEB5 #762AB5
square
#B5312A #68B52A #2AAEB5 #762AB5
split-complementary
#B5312A #2AB576 #2A68B5
monochromatic
#521613 #83241E #B5312A #D44F48 #E07F79
Accessibility & contrast
On white
6.11
#B5312A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#B5312A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5312A
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5312A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5312A | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585028
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#C70031
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b5312a; /* rgb */ color: rgb(181, 49, 42); /* oklch */ color: oklch(51.6% 0.170 27.8);
Tailwind
colors: {
custom: {
50: '#d47364',
500: '#b5312a',
950: '#000000',
},
}SCSS
$custom: #b5312a; $custom-light: #d47364; $custom-dark: #000000;
JSON
{
"hex": "#b5312a",
"rgb": {
"r": 181,
"g": 49,
"b": 42
},
"hsl": {
"h": 3.022,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.51596,
"c": 0.16992,
"h": 27.8
},
"luminance": 0.12188
}Semantic roles & 50–950 ramp
primary
#B5312A
secondary
#73C4C8
accent
#DDE542
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A