#B82A28#B82A28
#B82A28 is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.5% C 0.179 H 26.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B82A28 |
|---|---|
| RGB | rgb(184, 42, 40) |
| HSL | hsl(1, 64%, 44%) |
| HSV | hsv(1, 78%, 72%) |
| CMYK | cmyk(0%, 77.2%, 78.3%, 27.8%) |
| CIE-LAB | lab(41.22, 55.54, 36.81) |
| CIE-LCH | lch(41.22, 66.63, 33.54°) |
| OKLab | oklab(51.47% 0.1597 0.0807) |
| OKLCH | oklch(51.47% 0.179 26.8) |
| XYZ | xyz(20.9806, 12.0028, 3.2191) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.88
Scarlet
#BE0119
ΔE00 3.04
Brown
#A52A2A
ΔE00 4.08
Dull Red
#BB3F3F
ΔE00 5.04
Lipstick Red
#C0022F
ΔE00 5.12
Brick
#A03623
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B82A28 #28B6B8
analogous
#B8286E #B82A28 #B87228
triadic
#B82A28 #28B82A #2A28B8
tetradic
#B82A28 #6EB828 #28B6B8 #7228B8
square
#B82A28 #6EB828 #28B6B8 #7228B8
split-complementary
#B82A28 #28B872 #286EB8
monochromatic
#531312 #861F1D #B82A28 #D74846 #E27A79
Accessibility & contrast
On white
6.18
#B82A28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#B82A28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B82A28
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B82A28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B82A28 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564D26
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#CB002C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b82a28; /* rgb */ color: rgb(184, 42, 40); /* oklch */ color: oklch(51.5% 0.179 26.8);
Tailwind
colors: {
custom: {
50: '#d77063',
500: '#b82a28',
950: '#000000',
},
}SCSS
$custom: #b82a28; $custom-light: #d77063; $custom-dark: #000000;
JSON
{
"hex": "#b82a28",
"rgb": {
"r": 184,
"g": 42,
"b": 40
},
"hsl": {
"h": 0.833,
"s": 64.286,
"l": 43.922
},
"oklch": {
"l": 0.51472,
"c": 0.17892,
"h": 26.8
},
"luminance": 0.11999
}Semantic roles & 50–950 ramp
primary
#B82A28
secondary
#72C8CA
accent
#E5E741
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#160805
muted
#847B79