#B42540#B42540
#B42540 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.7% C 0.177 H 16.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B42540 |
|---|---|
| RGB | rgb(180, 37, 64) |
| HSL | hsl(349, 66%, 43%) |
| HSV | hsv(349, 79%, 71%) |
| CMYK | cmyk(0%, 79.4%, 64.4%, 29.4%) |
| CIE-LAB | lab(40.25, 56.98, 20.97) |
| CIE-LCH | lch(40.25, 60.72, 20.21°) |
| OKLab | oklab(50.72% 0.1701 0.0504) |
| OKLCH | oklch(50.72% 0.177 16.5) |
| XYZ | xyz(20.4116, 11.3997, 5.9751) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.30
Rouge
#AB1239
ΔE00 3.10
Cardinal
#C41E3A
ΔE00 3.95
Ruby
#CA0147
ΔE00 4.18
Lipstick Red
#C0022F
ΔE00 4.76
Cherry (survey)
#CF0234
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42540 #25B499
analogous
#B42588 #B42540 #B45125
triadic
#B42540 #40B425 #2540B4
tetradic
#B42540 #88B425 #25B499 #5125B4
square
#B42540 #88B425 #25B499 #5125B4
split-complementary
#B42540 #25B451 #2588B4
monochromatic
#4E101C #811B2E #B42540 #D73F5C #E27187
Accessibility & contrast
On white
6.40
#B42540 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B42540 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42540
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42540 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4C40
Deuteranopia (green-blind)
#736A3C
Tritanopia (blue-blind)
#C60031
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42540; /* rgb */ color: rgb(180, 37, 64); /* oklch */ color: oklch(50.7% 0.177 16.5);
Tailwind
colors: {
custom: {
50: '#d26e74',
500: '#b42540',
950: '#000000',
},
}SCSS
$custom: #b42540; $custom-light: #d26e74; $custom-dark: #000000;
JSON
{
"hex": "#b42540",
"rgb": {
"r": 180,
"g": 37,
"b": 64
},
"hsl": {
"h": 348.671,
"s": 65.899,
"l": 42.549
},
"oklch": {
"l": 0.5072,
"c": 0.17739,
"h": 16.5
},
"luminance": 0.11397
}Semantic roles & 50–950 ramp
primary
#B42540
secondary
#6CC9B7
accent
#E9C93F
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B