#B8314A#B8314A
#B8314A is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.7% C 0.171 H 15.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B8314A |
|---|---|
| RGB | rgb(184, 49, 74) |
| HSL | hsl(349, 58%, 46%) |
| HSV | hsv(349, 73%, 72%) |
| CMYK | cmyk(0%, 73.4%, 59.8%, 27.8%) |
| CIE-LAB | lab(42.59, 54.94, 17.95) |
| CIE-LCH | lch(42.59, 57.80, 18.09°) |
| OKLab | oklab(52.66% 0.1649 0.0441) |
| OKLCH | oklch(52.66% 0.171 15) |
| XYZ | xyz(22.1037, 12.8846, 7.8003) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.72
Rose Red
#BE013C
ΔE00 3.95
Cardinal
#C41E3A
ΔE00 4.68
Lipstick
#D5174E
ΔE00 5.04
Dark Rose
#B5485D
ΔE00 5.09
Dusty Red
#B9484E
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8314A #31B89F
analogous
#B8318D #B8314A #B85B31
triadic
#B8314A #4AB831 #314AB8
tetradic
#B8314A #8DB831 #31B89F #5B31B8
square
#B8314A #8DB831 #31B89F #5B31B8
split-complementary
#B8314A #31B85B #318DB8
monochromatic
#571723 #882437 #B8314A #D2556C #DE8595
Accessibility & contrast
On white
5.87
#B8314A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#B8314A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8314A
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8314A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8314A | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55534A
Deuteranopia (green-blind)
#786F46
Tritanopia (blue-blind)
#C9043B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b8314a; /* rgb */ color: rgb(184, 49, 74); /* oklch */ color: oklch(52.7% 0.171 15.0);
Tailwind
colors: {
custom: {
50: '#d4747c',
500: '#b8314a',
950: '#000000',
},
}SCSS
$custom: #b8314a; $custom-light: #d4747c; $custom-dark: #000000;
JSON
{
"hex": "#b8314a",
"rgb": {
"r": 184,
"g": 49,
"b": 74
},
"hsl": {
"h": 348.889,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.52658,
"c": 0.1707,
"h": 15
},
"luminance": 0.12881
}Semantic roles & 50–950 ramp
primary
#B8314A
secondary
#7DC8BA
accent
#E1C547
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B