#B5343A#B5343A
#B5343A is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.1% C 0.165 H 22.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B5343A |
|---|---|
| RGB | rgb(181, 52, 58) |
| HSL | hsl(357, 55%, 46%) |
| HSV | hsv(357, 71%, 71%) |
| CMYK | cmyk(0%, 71.3%, 68%, 29%) |
| CIE-LAB | lab(42.14, 51.92, 27.10) |
| CIE-LCH | lch(42.14, 58.57, 27.56°) |
| OKLab | oklab(52.13% 0.1525 0.0635) |
| OKLCH | oklch(52.13% 0.165 22.6) |
| XYZ | xyz(21.0500, 12.5883, 5.3235) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.77
Cardinal
#C41E3A
ΔE00 3.37
Lipstick Red
#C0022F
ΔE00 4.05
Brown
#A52A2A
ΔE00 4.70
Reddish
#C44240
ΔE00 4.84
Cherry (survey)
#CF0234
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5343A #34B5AF
analogous
#B5347A #B5343A #B56E34
triadic
#B5343A #3AB534 #343AB5
tetradic
#B5343A #7AB534 #34B5AF #6E34B5
square
#B5343A #7AB534 #34B5AF #6E34B5
split-complementary
#B5343A #34B56E #347AB5
monochromatic
#56191C #85262B #B5343A #CF575D #DC878B
Accessibility & contrast
On white
5.97
#B5343A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#B5343A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5343A
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5343A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5343A | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585239
Deuteranopia (green-blind)
#796E36
Tritanopia (blue-blind)
#C70737
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b5343a; /* rgb */ color: rgb(181, 52, 58); /* oklch */ color: oklch(52.1% 0.165 22.6);
Tailwind
colors: {
custom: {
50: '#d37470',
500: '#b5343a',
950: '#000000',
},
}SCSS
$custom: #b5343a; $custom-light: #d37470; $custom-dark: #000000;
JSON
{
"hex": "#b5343a",
"rgb": {
"r": 181,
"g": 52,
"b": 58
},
"hsl": {
"h": 357.209,
"s": 55.365,
"l": 45.686
},
"oklch": {
"l": 0.52126,
"c": 0.16519,
"h": 22.6
},
"luminance": 0.12585
}Semantic roles & 50–950 ramp
primary
#B5343A
secondary
#7FC6C3
accent
#DFD849
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A