#B5314A#B5314A
#B5314A is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.1% C 0.168 H 14.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B5314A |
|---|---|
| RGB | rgb(181, 49, 74) |
| HSL | hsl(349, 57%, 45%) |
| HSV | hsv(349, 73%, 71%) |
| CMYK | cmyk(0%, 72.9%, 59.1%, 29%) |
| CIE-LAB | lab(42.03, 54.02, 17.10) |
| CIE-LCH | lch(42.03, 56.67, 17.57°) |
| OKLab | oklab(52.14% 0.1624 0.0422) |
| OKLCH | oklch(52.14% 0.168 14.6) |
| XYZ | xyz(21.3925, 12.5178, 7.7670) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 4.04
Ruby
#CA0147
ΔE00 4.04
Rouge
#AB1239
ΔE00 4.95
Dark Rose
#B5485D
ΔE00 5.12
Cardinal
#C41E3A
ΔE00 5.13
Light Burgundy
#A8415B
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5314A #31B59C
analogous
#B5318C #B5314A #B55A31
triadic
#B5314A #4AB531 #314AB5
tetradic
#B5314A #8CB531 #31B59C #5A31B5
square
#B5314A #8CB531 #31B59C #5A31B5
split-complementary
#B5314A #31B55A #318CB5
monochromatic
#551723 #852436 #B5314A #D0536B #DD8394
Accessibility & contrast
On white
5.99
#B5314A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#B5314A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5314A
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5314A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5314A | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54524A
Deuteranopia (green-blind)
#766D47
Tritanopia (blue-blind)
#C6083B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b5314a; /* rgb */ color: rgb(181, 49, 74); /* oklch */ color: oklch(52.1% 0.168 14.6);
Tailwind
colors: {
custom: {
50: '#d2737c',
500: '#b5314a',
950: '#000000',
},
}SCSS
$custom: #b5314a; $custom-light: #d2737c; $custom-dark: #000000;
JSON
{
"hex": "#b5314a",
"rgb": {
"r": 181,
"g": 49,
"b": 74
},
"hsl": {
"h": 348.636,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.52139,
"c": 0.16774,
"h": 14.6
},
"luminance": 0.12515
}Semantic roles & 50–950 ramp
primary
#B5314A
secondary
#7BC7B8
accent
#E1C447
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B