#B2402F#B2402F
#B2402F is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.8% C 0.152 H 31.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B2402F |
|---|---|
| RGB | rgb(178, 64, 47) |
| HSL | hsl(8, 58%, 44%) |
| HSV | hsv(8, 74%, 70%) |
| CMYK | cmyk(0%, 64%, 73.6%, 30.2%) |
| CIE-LAB | lab(43.27, 45.39, 34.76) |
| CIE-LCH | lch(43.27, 57.17, 37.45°) |
| OKLab | oklab(52.83% 0.13 0.0784) |
| OKLCH | oklch(52.83% 0.152 31.1) |
| XYZ | xyz(20.7088, 13.3399, 4.1732) |
| Luminance | 0.1334 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 4.62
Brownish Red
#9E3623
ΔE00 4.96
Firebrick
#B22222
ΔE00 5.10
Dull Red
#BB3F3F
ΔE00 5.20
Reddish
#C44240
ΔE00 5.68
Rusty Red
#AF2F0D
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2402F #2FA1B2
analogous
#B22F60 #B2402F #B2822F
triadic
#B2402F #2FB240 #402FB2
tetradic
#B2402F #60B22F #2FA1B2 #822FB2
square
#B2402F #60B22F #2FA1B2 #822FB2
split-complementary
#B2402F #2FB282 #2F60B2
monochromatic
#511D15 #822F22 #B2402F #D05F4E #DD8B7E
Accessibility & contrast
On white
5.73
#B2402F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#B2402F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2402F
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2402F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2402F | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60562C
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#C4233D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #b2402f; /* rgb */ color: rgb(178, 64, 47); /* oklch */ color: oklch(52.8% 0.152 31.1);
Tailwind
colors: {
custom: {
50: '#d17a68',
500: '#b2402f',
950: '#000000',
},
}SCSS
$custom: #b2402f; $custom-light: #d17a68; $custom-dark: #000000;
JSON
{
"hex": "#b2402f",
"rgb": {
"r": 178,
"g": 64,
"b": 47
},
"hsl": {
"h": 7.786,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.52827,
"c": 0.15183,
"h": 31.1
},
"luminance": 0.13337
}Semantic roles & 50–950 ramp
primary
#B2402F
secondary
#77BCC6
accent
#CDE146
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A06
muted
#837C7A