#B8313F#B8313F
#B8313F is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.171 H 19.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B8313F |
|---|---|
| RGB | rgb(184, 49, 63) |
| HSL | hsl(354, 58%, 46%) |
| HSV | hsv(354, 73%, 72%) |
| CMYK | cmyk(0%, 73.4%, 65.8%, 27.8%) |
| CIE-LAB | lab(42.38, 54.25, 24.48) |
| CIE-LCH | lch(42.38, 59.52, 24.29°) |
| OKLab | oklab(52.44% 0.1606 0.0581) |
| OKLCH | oklch(52.44% 0.171 19.9) |
| XYZ | xyz(21.7650, 12.7491, 6.0164) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.47
Dull Red
#BB3F3F
ΔE00 3.75
Lipstick Red
#C0022F
ΔE00 4.01
Rose Red
#BE013C
ΔE00 4.24
Dusty Red
#B9484E
ΔE00 4.52
Cherry (survey)
#CF0234
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8313F #31B8AA
analogous
#B83182 #B8313F #B86631
triadic
#B8313F #3FB831 #313FB8
tetradic
#B8313F #82B831 #31B8AA #6631B8
square
#B8313F #82B831 #31B8AA #6631B8
split-complementary
#B8313F #31B866 #3182B8
monochromatic
#57171E #88242E #B8313F #D25562 #DE858E
Accessibility & contrast
On white
5.92
#B8313F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#B8313F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8313F
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8313F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8313F | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57523F
Deuteranopia (green-blind)
#796E3B
Tritanopia (blue-blind)
#CA0037
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b8313f; /* rgb */ color: rgb(184, 49, 63); /* oklch */ color: oklch(52.4% 0.171 19.9);
Tailwind
colors: {
custom: {
50: '#d57474',
500: '#b8313f',
950: '#000000',
},
}SCSS
$custom: #b8313f; $custom-light: #d57474; $custom-dark: #000000;
JSON
{
"hex": "#b8313f",
"rgb": {
"r": 184,
"g": 49,
"b": 63
},
"hsl": {
"h": 353.778,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.52439,
"c": 0.17077,
"h": 19.9
},
"luminance": 0.12746
}Semantic roles & 50–950 ramp
primary
#B8313F
secondary
#7DC8C0
accent
#E1D147
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160908
muted
#847B7B