#B5313A#B5313A
#B5313A is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.8% C 0.168 H 21.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B5313A |
|---|---|
| RGB | rgb(181, 49, 58) |
| HSL | hsl(356, 57%, 45%) |
| HSV | hsv(356, 73%, 71%) |
| CMYK | cmyk(0%, 72.9%, 68%, 29%) |
| CIE-LAB | lab(41.73, 53.03, 26.61) |
| CIE-LCH | lch(41.73, 59.33, 26.64°) |
| OKLab | oklab(51.83% 0.1561 0.0623) |
| OKLCH | oklch(51.83% 0.168 21.8) |
| XYZ | xyz(20.9204, 12.3290, 5.2803) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.99
Dull Red
#BB3F3F
ΔE00 3.35
Lipstick Red
#C0022F
ΔE00 3.64
Cherry (survey)
#CF0234
ΔE00 4.69
Brown
#A52A2A
ΔE00 4.72
Rose Red
#BE013C
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5313A #31B5AC
analogous
#B5317C #B5313A #B56A31
triadic
#B5313A #3AB531 #313AB5
tetradic
#B5313A #7CB531 #31B5AC #6A31B5
square
#B5313A #7CB531 #31B5AC #6A31B5
split-complementary
#B5313A #31B56A #317CB5
monochromatic
#55171B #85242B #B5313A #D0535B #DD8389
Accessibility & contrast
On white
6.06
#B5313A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#B5313A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5313A
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5313A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5313A | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#565139
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#C70036
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b5313a; /* rgb */ color: rgb(181, 49, 58); /* oklch */ color: oklch(51.8% 0.168 21.8);
Tailwind
colors: {
custom: {
50: '#d37370',
500: '#b5313a',
950: '#000000',
},
}SCSS
$custom: #b5313a; $custom-light: #d37370; $custom-dark: #000000;
JSON
{
"hex": "#b5313a",
"rgb": {
"r": 181,
"g": 49,
"b": 58
},
"hsl": {
"h": 355.909,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.51827,
"c": 0.16804,
"h": 21.8
},
"luminance": 0.12326
}Semantic roles & 50–950 ramp
primary
#B5313A
secondary
#7BC7C2
accent
#E1D647
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A