#B5302B#B5302B
#B5302B is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.5% C 0.171 H 27.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B5302B |
|---|---|
| RGB | rgb(181, 48, 43) |
| HSL | hsl(2, 62%, 44%) |
| HSV | hsv(2, 76%, 71%) |
| CMYK | cmyk(0%, 73.5%, 76.2%, 29%) |
| CIE-LAB | lab(41.40, 52.70, 35.12) |
| CIE-LCH | lch(41.40, 63.33, 33.68°) |
| OKLab | oklab(51.51% 0.1518 0.0781) |
| OKLCH | oklch(51.51% 0.171 27.2) |
| XYZ | xyz(20.5514, 12.1152, 3.5414) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.27
Scarlet
#BE0119
ΔE00 3.84
Brown
#A52A2A
ΔE00 3.86
Dull Red
#BB3F3F
ΔE00 4.59
Brick
#A03623
ΔE00 4.95
Brownish Red
#9E3623
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5302B #2BB0B5
analogous
#B52B6B #B5302B #B5752B
triadic
#B5302B #2BB530 #302BB5
tetradic
#B5302B #6BB52B #2BB0B5 #752BB5
square
#B5302B #6BB52B #2BB0B5 #752BB5
split-complementary
#B5302B #2BB575 #2B6BB5
monochromatic
#521614 #84231F #B5302B #D44E49 #E07E7B
Accessibility & contrast
On white
6.14
#B5302B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#B5302B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5302B
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5302B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5302B | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584F29
Deuteranopia (green-blind)
#796C26
Tritanopia (blue-blind)
#C70030
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b5302b; /* rgb */ color: rgb(181, 48, 43); /* oklch */ color: oklch(51.5% 0.171 27.2);
Tailwind
colors: {
custom: {
50: '#d47265',
500: '#b5302b',
950: '#000000',
},
}SCSS
$custom: #b5302b; $custom-light: #d47265; $custom-dark: #000000;
JSON
{
"hex": "#b5302b",
"rgb": {
"r": 181,
"g": 48,
"b": 43
},
"hsl": {
"h": 2.174,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.51511,
"c": 0.17065,
"h": 27.2
},
"luminance": 0.12112
}Semantic roles & 50–950 ramp
primary
#B5302B
secondary
#74C5C8
accent
#DFE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A