#B42240#B42240
#B42240 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.5% C 0.180 H 16.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B42240 |
|---|---|
| RGB | rgb(180, 34, 64) |
| HSL | hsl(348, 68%, 42%) |
| HSV | hsv(348, 81%, 71%) |
| CMYK | cmyk(0%, 81.1%, 64.4%, 29.4%) |
| CIE-LAB | lab(39.95, 57.82, 20.59) |
| CIE-LCH | lch(39.95, 61.38, 19.60°) |
| OKLab | oklab(50.5% 0.1728 0.0495) |
| OKLCH | oklch(50.5% 0.18 16) |
| XYZ | xyz(20.3220, 11.2206, 5.9452) |
| Luminance | 0.1122 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.12
Rouge
#AB1239
ΔE00 2.78
Ruby
#CA0147
ΔE00 4.06
Cardinal
#C41E3A
ΔE00 4.25
Lipstick Red
#C0022F
ΔE00 4.96
Raspberry (survey)
#B00149
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42240 #22B496
analogous
#B42289 #B42240 #B44D22
triadic
#B42240 #40B422 #2240B4
tetradic
#B42240 #89B422 #22B496 #4D22B4
square
#B42240 #89B422 #22B496 #4D22B4
split-complementary
#B42240 #22B44D #2289B4
monochromatic
#4D0F1B #81182E #B42240 #DA3A5A #E36D85
Accessibility & contrast
On white
6.47
#B42240 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B42240 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42240
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42240 | 1.00 | 6.47 | 3.24 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4B40
Deuteranopia (green-blind)
#72693C
Tritanopia (blue-blind)
#C6002F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b42240; /* rgb */ color: rgb(180, 34, 64); /* oklch */ color: oklch(50.5% 0.180 16.0);
Tailwind
colors: {
custom: {
50: '#d26d74',
500: '#b42240',
950: '#000000',
},
}SCSS
$custom: #b42240; $custom-light: #d26d74; $custom-dark: #000000;
JSON
{
"hex": "#b42240",
"rgb": {
"r": 180,
"g": 34,
"b": 64
},
"hsl": {
"h": 347.671,
"s": 68.224,
"l": 41.961
},
"oklch": {
"l": 0.50502,
"c": 0.17974,
"h": 16
},
"luminance": 0.11218
}Semantic roles & 50–950 ramp
primary
#B42240
secondary
#68CAB6
accent
#EBC73D
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160808
muted
#847B7B