#B0342A#B0342A
#B0342A is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.0% C 0.162 H 28.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B0342A |
|---|---|
| RGB | rgb(176, 52, 42) |
| HSL | hsl(4, 61%, 43%) |
| HSV | hsv(4, 76%, 69%) |
| CMYK | cmyk(0%, 70.5%, 76.1%, 31%) |
| CIE-LAB | lab(40.99, 49.53, 34.97) |
| CIE-LCH | lch(40.99, 60.63, 35.23°) |
| OKLab | oklab(51.03% 0.1422 0.0778) |
| OKLCH | oklch(51.03% 0.162 28.7) |
| XYZ | xyz(19.5526, 11.8562, 3.4490) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.54
Brick
#A03623
ΔE00 3.76
Brown
#A52A2A
ΔE00 3.81
Brownish Red
#9E3623
ΔE00 4.08
Scarlet
#BE0119
ΔE00 4.41
Dull Red
#BB3F3F
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0342A #2AA6B0
analogous
#B02A63 #B0342A #B0772A
triadic
#B0342A #2AB034 #342AB0
tetradic
#B0342A #63B02A #2AA6B0 #772AB0
square
#B0342A #63B02A #2AA6B0 #772AB0
split-complementary
#B0342A #2AB077 #2A63B0
monochromatic
#4D1712 #7F251E #B0342A #D34F45 #DE7E76
Accessibility & contrast
On white
6.23
#B0342A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#B0342A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B0342A
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0342A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B0342A | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584F28
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#C20433
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b0342a; /* rgb */ color: rgb(176, 52, 42); /* oklch */ color: oklch(51.0% 0.162 28.7);
Tailwind
colors: {
custom: {
50: '#d07364',
500: '#b0342a',
950: '#000000',
},
}SCSS
$custom: #b0342a; $custom-light: #d07364; $custom-dark: #000000;
JSON
{
"hex": "#b0342a",
"rgb": {
"r": 176,
"g": 52,
"b": 42
},
"hsl": {
"h": 4.478,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.51027,
"c": 0.16208,
"h": 28.7
},
"luminance": 0.11853
}Semantic roles & 50–950 ramp
primary
#B0342A
secondary
#70C0C6
accent
#D9E543
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A