#B8313A#B8313A
#B8313A is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.171 H 22.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B8313A |
|---|---|
| RGB | rgb(184, 49, 58) |
| HSL | hsl(356, 58%, 46%) |
| HSV | hsv(356, 73%, 72%) |
| CMYK | cmyk(0%, 73.4%, 68.5%, 27.8%) |
| CIE-LAB | lab(42.30, 53.97, 27.43) |
| CIE-LCH | lch(42.30, 60.54, 26.94°) |
| OKLab | oklab(52.35% 0.1587 0.0641) |
| OKLCH | oklch(52.35% 0.171 22) |
| XYZ | xyz(21.6316, 12.6957, 5.3137) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.71
Dull Red
#BB3F3F
ΔE00 2.92
Lipstick Red
#C0022F
ΔE00 3.58
Cherry (survey)
#CF0234
ΔE00 4.24
Reddish
#C44240
ΔE00 4.84
Dusty Red
#B9484E
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8313A #31B8AF
analogous
#B8317D #B8313A #B86B31
triadic
#B8313A #3AB831 #313AB8
tetradic
#B8313A #7DB831 #31B8AF #6B31B8
square
#B8313A #7DB831 #31B8AF #6B31B8
split-complementary
#B8313A #31B86B #317DB8
monochromatic
#57171C #88242B #B8313A #D2555D #DE858B
Accessibility & contrast
On white
5.93
#B8313A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#B8313A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8313A
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8313A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8313A | 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)
#585139
Deuteranopia (green-blind)
#796E36
Tritanopia (blue-blind)
#CA0036
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b8313a; /* rgb */ color: rgb(184, 49, 58); /* oklch */ color: oklch(52.4% 0.171 22.0);
Tailwind
colors: {
custom: {
50: '#d57370',
500: '#b8313a',
950: '#000000',
},
}SCSS
$custom: #b8313a; $custom-light: #d57370; $custom-dark: #000000;
JSON
{
"hex": "#b8313a",
"rgb": {
"r": 184,
"g": 49,
"b": 58
},
"hsl": {
"h": 356,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.52352,
"c": 0.17109,
"h": 22
},
"luminance": 0.12692
}Semantic roles & 50–950 ramp
primary
#B8313A
secondary
#7DC8C3
accent
#E1D747
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A