#B5302A#B5302A
#B5302A is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.5% C 0.171 H 27.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B5302A |
|---|---|
| RGB | rgb(181, 48, 42) |
| HSL | hsl(3, 62%, 44%) |
| HSV | hsv(3, 77%, 71%) |
| CMYK | cmyk(0%, 73.5%, 76.8%, 29%) |
| CIE-LAB | lab(41.39, 52.66, 35.68) |
| CIE-LCH | lch(41.39, 63.61, 34.12°) |
| OKLab | oklab(51.5% 0.1514 0.079) |
| OKLCH | oklch(51.5% 0.171 27.6) |
| XYZ | xyz(20.5333, 12.1080, 3.4459) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.23
Scarlet
#BE0119
ΔE00 3.75
Brown
#A52A2A
ΔE00 3.98
Brick
#A03623
ΔE00 4.79
Dull Red
#BB3F3F
ΔE00 4.80
Brownish Red
#9E3623
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5302A #2AAFB5
analogous
#B52A69 #B5302A #B5752A
triadic
#B5302A #2AB530 #302AB5
tetradic
#B5302A #69B52A #2AAFB5 #752AB5
square
#B5302A #69B52A #2AAFB5 #752AB5
split-complementary
#B5302A #2AB575 #2A69B5
monochromatic
#521613 #83231E #B5302A #D44E48 #E07E79
Accessibility & contrast
On white
6.14
#B5302A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#B5302A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5302A
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5302A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5302A | 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)
#584F28
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#C70030
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b5302a; /* rgb */ color: rgb(181, 48, 42); /* oklch */ color: oklch(51.5% 0.171 27.6);
Tailwind
colors: {
custom: {
50: '#d47264',
500: '#b5302a',
950: '#000000',
},
}SCSS
$custom: #b5302a; $custom-light: #d47264; $custom-dark: #000000;
JSON
{
"hex": "#b5302a",
"rgb": {
"r": 181,
"g": 48,
"b": 42
},
"hsl": {
"h": 2.59,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.51498,
"c": 0.17079,
"h": 27.6
},
"luminance": 0.12105
}Semantic roles & 50–950 ramp
primary
#B5302A
secondary
#73C4C8
accent
#DEE542
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A