#B3342A#B3342A
#B3342A is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.5% C 0.165 H 28.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B3342A |
|---|---|
| RGB | rgb(179, 52, 42) |
| HSL | hsl(4, 62%, 43%) |
| HSV | hsv(4, 77%, 70%) |
| CMYK | cmyk(0%, 70.9%, 76.5%, 29.8%) |
| CIE-LAB | lab(41.55, 50.52, 35.74) |
| CIE-LCH | lch(41.55, 61.89, 35.28°) |
| OKLab | oklab(51.55% 0.1449 0.0793) |
| OKLCH | oklch(51.55% 0.165 28.7) |
| XYZ | xyz(20.2386, 12.2099, 3.4811) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.71
Brick
#A03623
ΔE00 4.21
Scarlet
#BE0119
ΔE00 4.28
Brown
#A52A2A
ΔE00 4.30
Brownish Red
#9E3623
ΔE00 4.56
Dull Red
#BB3F3F
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3342A #2AA9B3
analogous
#B32A64 #B3342A #B3792A
triadic
#B3342A #2AB334 #342AB3
tetradic
#B3342A #64B32A #2AA9B3 #792AB3
square
#B3342A #64B32A #2AA9B3 #792AB3
split-complementary
#B3342A #2AB379 #2A64B3
monochromatic
#501713 #81261E #B3342A #D45146 #DF8078
Accessibility & contrast
On white
6.10
#B3342A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#B3342A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B3342A
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3342A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B3342A | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595028
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#C50033
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b3342a; /* rgb */ color: rgb(179, 52, 42); /* oklch */ color: oklch(51.5% 0.165 28.7);
Tailwind
colors: {
custom: {
50: '#d27464',
500: '#b3342a',
950: '#000000',
},
}SCSS
$custom: #b3342a; $custom-light: #d27464; $custom-dark: #000000;
JSON
{
"hex": "#b3342a",
"rgb": {
"r": 179,
"g": 52,
"b": 42
},
"hsl": {
"h": 4.38,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.5155,
"c": 0.16521,
"h": 28.7
},
"luminance": 0.12207
}Semantic roles & 50–950 ramp
primary
#B3342A
secondary
#72C1C7
accent
#D9E543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A