#B2302A#B2302A
#B2302A is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.168 H 27.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B2302A |
|---|---|
| RGB | rgb(178, 48, 42) |
| HSL | hsl(3, 62%, 43%) |
| HSV | hsv(3, 76%, 70%) |
| CMYK | cmyk(0%, 73%, 76.4%, 30.2%) |
| CIE-LAB | lab(40.81, 51.70, 34.89) |
| CIE-LCH | lch(40.81, 62.37, 34.02°) |
| OKLab | oklab(50.97% 0.1488 0.0775) |
| OKLCH | oklch(50.97% 0.168 27.5) |
| XYZ | xyz(19.8373, 11.7491, 3.4133) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.97
Brown
#A52A2A
ΔE00 3.41
Scarlet
#BE0119
ΔE00 3.88
Brick
#A03623
ΔE00 4.40
Brownish Red
#9E3623
ΔE00 4.70
Dull Red
#BB3F3F
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2302A #2AACB2
analogous
#B22A68 #B2302A #B2742A
triadic
#B2302A #2AB230 #302AB2
tetradic
#B2302A #68B22A #2AACB2 #742AB2
square
#B2302A #68B22A #2AACB2 #742AB2
split-complementary
#B2302A #2AB274 #2A68B2
monochromatic
#4F1513 #80231E #B2302A #D34C46 #DF7C77
Accessibility & contrast
On white
6.27
#B2302A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B2302A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2302A
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2302A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2302A | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E28
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#C40030
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b2302a; /* rgb */ color: rgb(178, 48, 42); /* oklch */ color: oklch(51.0% 0.168 27.5);
Tailwind
colors: {
custom: {
50: '#d27264',
500: '#b2302a',
950: '#000000',
},
}SCSS
$custom: #b2302a; $custom-light: #d27264; $custom-dark: #000000;
JSON
{
"hex": "#b2302a",
"rgb": {
"r": 178,
"g": 48,
"b": 42
},
"hsl": {
"h": 2.647,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.50967,
"c": 0.16773,
"h": 27.5
},
"luminance": 0.11746
}Semantic roles & 50–950 ramp
primary
#B2302A
secondary
#71C3C7
accent
#DEE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A