#B8313B#B8313B
#B8313B is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.171 H 21.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B8313B |
|---|---|
| RGB | rgb(184, 49, 59) |
| HSL | hsl(356, 58%, 46%) |
| HSV | hsv(356, 73%, 72%) |
| CMYK | cmyk(0%, 73.4%, 67.9%, 27.8%) |
| CIE-LAB | lab(42.32, 54.03, 26.84) |
| CIE-LCH | lch(42.32, 60.33, 26.42°) |
| OKLab | oklab(52.37% 0.159 0.0629) |
| OKLCH | oklch(52.37% 0.171 21.6) |
| XYZ | xyz(21.6573, 12.7060, 5.4490) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.58
Dull Red
#BB3F3F
ΔE00 3.04
Lipstick Red
#C0022F
ΔE00 3.61
Cherry (survey)
#CF0234
ΔE00 4.26
Dusty Red
#B9484E
ΔE00 4.89
Reddish
#C44240
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8313B #31B8AE
analogous
#B8317E #B8313B #B86B31
triadic
#B8313B #3BB831 #313BB8
tetradic
#B8313B #7EB831 #31B8AE #6B31B8
square
#B8313B #7EB831 #31B8AE #6B31B8
split-complementary
#B8313B #31B86B #317EB8
monochromatic
#57171C #88242C #B8313B #D2555E #DE858C
Accessibility & contrast
On white
5.93
#B8313B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#B8313B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8313B
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8313B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8313B | 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)
#57523A
Deuteranopia (green-blind)
#796E37
Tritanopia (blue-blind)
#CA0036
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b8313b; /* rgb */ color: rgb(184, 49, 59); /* oklch */ color: oklch(52.4% 0.171 21.6);
Tailwind
colors: {
custom: {
50: '#d57371',
500: '#b8313b',
950: '#000000',
},
}SCSS
$custom: #b8313b; $custom-light: #d57371; $custom-dark: #000000;
JSON
{
"hex": "#b8313b",
"rgb": {
"r": 184,
"g": 49,
"b": 59
},
"hsl": {
"h": 355.556,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.52368,
"c": 0.17101,
"h": 21.6
},
"luminance": 0.12703
}Semantic roles & 50–950 ramp
primary
#B8313B
secondary
#7DC8C2
accent
#E1D647
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A