#B5313E#B5313E
#B5313E is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.9% C 0.168 H 20.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B5313E |
|---|---|
| RGB | rgb(181, 49, 62) |
| HSL | hsl(354, 57%, 45%) |
| HSV | hsv(354, 73%, 71%) |
| CMYK | cmyk(0%, 72.9%, 65.7%, 29%) |
| CIE-LAB | lab(41.80, 53.26, 24.24) |
| CIE-LCH | lch(41.80, 58.52, 24.48°) |
| OKLab | oklab(51.9% 0.1576 0.0576) |
| OKLCH | oklch(51.9% 0.168 20.1) |
| XYZ | xyz(21.0261, 12.3713, 5.8372) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.85
Dull Red
#BB3F3F
ΔE00 3.98
Lipstick Red
#C0022F
ΔE00 4.01
Rose Red
#BE013C
ΔE00 4.26
Dusty Red
#B9484E
ΔE00 4.83
Cherry (survey)
#CF0234
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5313E #31B5A8
analogous
#B53180 #B5313E #B56631
triadic
#B5313E #3EB531 #313EB5
tetradic
#B5313E #80B531 #31B5A8 #6631B5
square
#B5313E #80B531 #31B5A8 #6631B5
split-complementary
#B5313E #31B566 #3180B5
monochromatic
#55171D #85242E #B5313E #D0535F #DD838C
Accessibility & contrast
On white
6.05
#B5313E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#B5313E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5313E
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5313E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5313E | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#56513D
Deuteranopia (green-blind)
#776D3A
Tritanopia (blue-blind)
#C70037
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b5313e; /* rgb */ color: rgb(181, 49, 62); /* oklch */ color: oklch(51.9% 0.168 20.1);
Tailwind
colors: {
custom: {
50: '#d37373',
500: '#b5313e',
950: '#000000',
},
}SCSS
$custom: #b5313e; $custom-light: #d37373; $custom-dark: #000000;
JSON
{
"hex": "#b5313e",
"rgb": {
"r": 181,
"g": 49,
"b": 62
},
"hsl": {
"h": 354.091,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.51897,
"c": 0.16778,
"h": 20.1
},
"luminance": 0.12368
}Semantic roles & 50–950 ramp
primary
#B5313E
secondary
#7BC7BF
accent
#E1D247
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150908
muted
#837B7B