#B5302F#B5302F
#B5302F is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.6% C 0.170 H 25.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B5302F |
|---|---|
| RGB | rgb(181, 48, 47) |
| HSL | hsl(0, 59%, 45%) |
| HSV | hsv(0, 74%, 71%) |
| CMYK | cmyk(0%, 73.5%, 74%, 29%) |
| CIE-LAB | lab(41.45, 52.86, 32.86) |
| CIE-LCH | lch(41.45, 62.24, 31.86°) |
| OKLab | oklab(51.56% 0.1531 0.0741) |
| OKLCH | oklch(51.56% 0.17 25.8) |
| XYZ | xyz(20.6285, 12.1461, 3.9470) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.79
Brown
#A52A2A
ΔE00 3.59
Dull Red
#BB3F3F
ΔE00 3.86
Scarlet
#BE0119
ΔE00 4.40
Lipstick Red
#C0022F
ΔE00 4.60
Cardinal
#C41E3A
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5302F #2FB4B5
analogous
#B52F71 #B5302F #B5732F
triadic
#B5302F #2FB530 #302FB5
tetradic
#B5302F #71B52F #2FB4B5 #732FB5
square
#B5302F #71B52F #2FB4B5 #732FB5
split-complementary
#B5302F #2FB573 #2F71B5
monochromatic
#541616 #842322 #B5302F #D15150 #DE8180
Accessibility & contrast
On white
6.12
#B5302F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#B5302F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5302F
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5302F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5302F | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F2D
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#C70031
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b5302f; /* rgb */ color: rgb(181, 48, 47); /* oklch */ color: oklch(51.6% 0.170 25.8);
Tailwind
colors: {
custom: {
50: '#d47268',
500: '#b5302f',
950: '#000000',
},
}SCSS
$custom: #b5302f; $custom-light: #d47268; $custom-dark: #000000;
JSON
{
"hex": "#b5302f",
"rgb": {
"r": 181,
"g": 48,
"b": 47
},
"hsl": {
"h": 0.448,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.51562,
"c": 0.1701,
"h": 25.8
},
"luminance": 0.12143
}Semantic roles & 50–950 ramp
primary
#B5302F
secondary
#79C6C7
accent
#E1E246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A