#B42D1C#B42D1C
#B42D1C is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.174 H 30.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B42D1C |
|---|---|
| RGB | rgb(180, 45, 28) |
| HSL | hsl(7, 73%, 41%) |
| HSV | hsv(7, 84%, 71%) |
| CMYK | cmyk(0%, 75%, 84.4%, 29.4%) |
| CIE-LAB | lab(40.68, 52.94, 42.45) |
| CIE-LCH | lch(40.68, 67.86, 38.72°) |
| OKLab | oklab(50.9% 0.1497 0.0892) |
| OKLCH | oklch(50.9% 0.174 30.8) |
| XYZ | xyz(19.9728, 11.6671, 2.2987) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 3.47
Firebrick
#B22222
ΔE00 3.50
Brick
#A03623
ΔE00 3.93
Scarlet
#BE0119
ΔE00 4.02
Brownish Red
#9E3623
ΔE00 4.31
Rust Red
#AA2704
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42D1C #1CA3B4
analogous
#B41C57 #B42D1C #B4791C
triadic
#B42D1C #1CB42D #2D1CB4
tetradic
#B42D1C #57B41C #1CA3B4 #791CB4
square
#B42D1C #57B41C #1CA3B4 #791CB4
split-complementary
#B42D1C #1CB479 #1C57B4
monochromatic
#4A130C #7F2014 #B42D1C #DF422F #E77264
Accessibility & contrast
On white
6.30
#B42D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B42D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42D1C
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42D1C | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574D18
Deuteranopia (green-blind)
#786B14
Tritanopia (blue-blind)
#C7002B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42d1c; /* rgb */ color: rgb(180, 45, 28); /* oklch */ color: oklch(50.9% 0.174 30.8);
Tailwind
colors: {
custom: {
50: '#d4705b',
500: '#b42d1c',
950: '#000000',
},
}SCSS
$custom: #b42d1c; $custom-light: #d4705b; $custom-dark: #000000;
JSON
{
"hex": "#b42d1c",
"rgb": {
"r": 180,
"g": 45,
"b": 28
},
"hsl": {
"h": 6.711,
"s": 73.077,
"l": 40.784
},
"oklch": {
"l": 0.50895,
"c": 0.17426,
"h": 30.8
},
"luminance": 0.11664
}Semantic roles & 50–950 ramp
primary
#B42D1C
secondary
#60C0CC
accent
#DBF038
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79