#B8313E#B8313E
#B8313E is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.171 H 20.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B8313E |
|---|---|
| RGB | rgb(184, 49, 62) |
| HSL | hsl(354, 58%, 46%) |
| HSV | hsv(354, 73%, 72%) |
| CMYK | cmyk(0%, 73.4%, 66.3%, 27.8%) |
| CIE-LAB | lab(42.37, 54.19, 25.07) |
| CIE-LCH | lch(42.37, 59.71, 24.83°) |
| OKLab | oklab(52.42% 0.1602 0.0593) |
| OKLCH | oklch(52.42% 0.171 20.3) |
| XYZ | xyz(21.7373, 12.7380, 5.8706) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.43
Dull Red
#BB3F3F
ΔE00 3.54
Lipstick Red
#C0022F
ΔE00 3.87
Rose Red
#BE013C
ΔE00 4.41
Cherry (survey)
#CF0234
ΔE00 4.45
Dusty Red
#B9484E
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8313E #31B8AB
analogous
#B83181 #B8313E #B86731
triadic
#B8313E #3EB831 #313EB8
tetradic
#B8313E #81B831 #31B8AB #6731B8
square
#B8313E #81B831 #31B8AB #6731B8
split-complementary
#B8313E #31B867 #3181B8
monochromatic
#57171D #88242E #B8313E #D25561 #DE858E
Accessibility & contrast
On white
5.92
#B8313E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#B8313E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8313E
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8313E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8313E | 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)
#57523D
Deuteranopia (green-blind)
#796E3A
Tritanopia (blue-blind)
#CA0037
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b8313e; /* rgb */ color: rgb(184, 49, 62); /* oklch */ color: oklch(52.4% 0.171 20.3);
Tailwind
colors: {
custom: {
50: '#d57473',
500: '#b8313e',
950: '#000000',
},
}SCSS
$custom: #b8313e; $custom-light: #d57473; $custom-dark: #000000;
JSON
{
"hex": "#b8313e",
"rgb": {
"r": 184,
"g": 49,
"b": 62
},
"hsl": {
"h": 354.222,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.52421,
"c": 0.17082,
"h": 20.3
},
"luminance": 0.12735
}Semantic roles & 50–950 ramp
primary
#B8313E
secondary
#7DC8C1
accent
#E1D247
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160908
muted
#847B7B