#B42340#B42340
#B42340 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.6% C 0.179 H 16.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B42340 |
|---|---|
| RGB | rgb(180, 35, 64) |
| HSL | hsl(348, 67%, 42%) |
| HSV | hsv(348, 81%, 71%) |
| CMYK | cmyk(0%, 80.6%, 64.4%, 29.4%) |
| CIE-LAB | lab(40.05, 57.55, 20.71) |
| CIE-LCH | lch(40.05, 61.16, 19.80°) |
| OKLab | oklab(50.57% 0.1719 0.0498) |
| OKLCH | oklch(50.57% 0.179 16.1) |
| XYZ | xyz(20.3510, 11.2786, 5.9549) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.17
Rouge
#AB1239
ΔE00 2.88
Ruby
#CA0147
ΔE00 4.09
Cardinal
#C41E3A
ΔE00 4.15
Lipstick Red
#C0022F
ΔE00 4.89
Raspberry (survey)
#B00149
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42340 #23B497
analogous
#B42389 #B42340 #B44F23
triadic
#B42340 #40B423 #2340B4
tetradic
#B42340 #89B423 #23B497 #4F23B4
square
#B42340 #89B423 #23B497 #4F23B4
split-complementary
#B42340 #23B44F #2389B4
monochromatic
#4E0F1C #81192E #B42340 #D93B5B #E36E86
Accessibility & contrast
On white
6.45
#B42340 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#B42340 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42340
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42340 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42340 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4B40
Deuteranopia (green-blind)
#73693C
Tritanopia (blue-blind)
#C60030
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b42340; /* rgb */ color: rgb(180, 35, 64); /* oklch */ color: oklch(50.6% 0.179 16.1);
Tailwind
colors: {
custom: {
50: '#d26d74',
500: '#b42340',
950: '#000000',
},
}SCSS
$custom: #b42340; $custom-light: #d26d74; $custom-dark: #000000;
JSON
{
"hex": "#b42340",
"rgb": {
"r": 180,
"g": 35,
"b": 64
},
"hsl": {
"h": 348,
"s": 67.442,
"l": 42.157
},
"oklch": {
"l": 0.50573,
"c": 0.17897,
"h": 16.1
},
"luminance": 0.11276
}Semantic roles & 50–950 ramp
primary
#B42340
secondary
#69C9B6
accent
#EAC83D
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160808
muted
#847B7B