#B42F2F#B42F2F
#B42F2F is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.3% C 0.170 H 25.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B42F2F |
|---|---|
| RGB | rgb(180, 47, 47) |
| HSL | hsl(0, 59%, 45%) |
| HSV | hsv(0, 74%, 71%) |
| CMYK | cmyk(0%, 73.9%, 73.9%, 29.4%) |
| CIE-LAB | lab(41.13, 52.90, 32.44) |
| CIE-LCH | lch(41.13, 62.06, 31.52°) |
| OKLab | oklab(51.29% 0.1534 0.0733) |
| OKLCH | oklch(51.29% 0.17 25.5) |
| XYZ | xyz(20.3543, 11.9447, 3.9226) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.73
Brown
#A52A2A
ΔE00 3.30
Dull Red
#BB3F3F
ΔE00 4.01
Lipstick Red
#C0022F
ΔE00 4.39
Scarlet
#BE0119
ΔE00 4.44
Cardinal
#C41E3A
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42F2F #2FB4B4
analogous
#B42F72 #B42F2F #B4722F
triadic
#B42F2F #2FB42F #2F2FB4
tetradic
#B42F2F #72B42F #2FB4B4 #722FB4
square
#B42F2F #72B42F #2FB4B4 #722FB4
split-complementary
#B42F2F #2FB472 #2F72B4
monochromatic
#531616 #832222 #B42F2F #D14F4F #DE8080
Accessibility & contrast
On white
6.20
#B42F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#B42F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42F2F
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42F2F | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564F2D
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#C60031
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42f2f; /* rgb */ color: rgb(180, 47, 47); /* oklch */ color: oklch(51.3% 0.170 25.5);
Tailwind
colors: {
custom: {
50: '#d37268',
500: '#b42f2f',
950: '#000000',
},
}SCSS
$custom: #b42f2f; $custom-light: #d37268; $custom-dark: #000000;
JSON
{
"hex": "#b42f2f",
"rgb": {
"r": 180,
"g": 47,
"b": 47
},
"hsl": {
"h": 0,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.5129,
"c": 0.16996,
"h": 25.5
},
"luminance": 0.11942
}Semantic roles & 50–950 ramp
primary
#B42F2F
secondary
#78C7C7
accent
#E2E246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A