#B8314F#B8314F
#B8314F is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.8% C 0.171 H 12.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B8314F |
|---|---|
| RGB | rgb(184, 49, 79) |
| HSL | hsl(347, 58%, 46%) |
| HSV | hsv(347, 73%, 72%) |
| CMYK | cmyk(0%, 73.4%, 57.1%, 27.8%) |
| CIE-LAB | lab(42.69, 55.29, 14.98) |
| CIE-LCH | lch(42.69, 57.29, 15.16°) |
| OKLab | oklab(52.77% 0.1669 0.0374) |
| OKLCH | oklch(52.77% 0.171 12.6) |
| XYZ | xyz(22.2789, 12.9546, 8.7230) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.88
Dark Rose
#B5485D
ΔE00 4.40
Light Burgundy
#A8415B
ΔE00 4.78
Rose Red
#BE013C
ΔE00 4.79
Lipstick
#D5174E
ΔE00 5.13
Light Maroon
#A24857
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8314F #31B89A
analogous
#B83192 #B8314F #B85731
triadic
#B8314F #4FB831 #314FB8
tetradic
#B8314F #92B831 #31B89A #5731B8
square
#B8314F #92B831 #31B89A #5731B8
split-complementary
#B8314F #31B857 #3192B8
monochromatic
#571725 #88243A #B8314F #D25570 #DE8599
Accessibility & contrast
On white
5.85
#B8314F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#B8314F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8314F
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8314F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8314F | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54534F
Deuteranopia (green-blind)
#776F4C
Tritanopia (blue-blind)
#C9083D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b8314f; /* rgb */ color: rgb(184, 49, 79); /* oklch */ color: oklch(52.8% 0.171 12.6);
Tailwind
colors: {
custom: {
50: '#d47480',
500: '#b8314f',
950: '#000000',
},
}SCSS
$custom: #b8314f; $custom-light: #d47480; $custom-dark: #000000;
JSON
{
"hex": "#b8314f",
"rgb": {
"r": 184,
"g": 49,
"b": 79
},
"hsl": {
"h": 346.667,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.52771,
"c": 0.17101,
"h": 12.6
},
"luminance": 0.12951
}Semantic roles & 50–950 ramp
primary
#B8314F
secondary
#7DC8B7
accent
#E1BF47
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C