#B42545#B42545
#B42545 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.8% C 0.178 H 14.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B42545 |
|---|---|
| RGB | rgb(180, 37, 69) |
| HSL | hsl(347, 66%, 43%) |
| HSV | hsv(347, 79%, 71%) |
| CMYK | cmyk(0%, 79.4%, 61.7%, 29.4%) |
| CIE-LAB | lab(40.34, 57.29, 17.96) |
| CIE-LCH | lch(40.34, 60.04, 17.40°) |
| OKLab | oklab(50.82% 0.1721 0.0439) |
| OKLCH | oklch(50.82% 0.178 14.3) |
| XYZ | xyz(20.5603, 11.4592, 6.7583) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.86
Rouge
#AB1239
ΔE00 3.34
Ruby
#CA0147
ΔE00 3.77
Raspberry (survey)
#B00149
ΔE00 4.83
Purplish Red
#B0054B
ΔE00 5.08
Cardinal
#C41E3A
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42545 #25B494
analogous
#B4258D #B42545 #B44C25
triadic
#B42545 #45B425 #2545B4
tetradic
#B42545 #8DB425 #25B494 #4C25B4
square
#B42545 #8DB425 #25B494 #4C25B4
split-complementary
#B42545 #25B44C #258DB4
monochromatic
#4E101E #811B32 #B42545 #D73F61 #E2718B
Accessibility & contrast
On white
6.38
#B42545 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B42545 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42545
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42545 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42545 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4C45
Deuteranopia (green-blind)
#736A41
Tritanopia (blue-blind)
#C50033
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42545; /* rgb */ color: rgb(180, 37, 69); /* oklch */ color: oklch(50.8% 0.178 14.3);
Tailwind
colors: {
custom: {
50: '#d26e78',
500: '#b42545',
950: '#000000',
},
}SCSS
$custom: #b42545; $custom-light: #d26e78; $custom-dark: #000000;
JSON
{
"hex": "#b42545",
"rgb": {
"r": 180,
"g": 37,
"b": 69
},
"hsl": {
"h": 346.573,
"s": 65.899,
"l": 42.549
},
"oklch": {
"l": 0.50824,
"c": 0.17756,
"h": 14.3
},
"luminance": 0.11456
}Semantic roles & 50–950 ramp
primary
#B42545
secondary
#6CC9B4
accent
#E9C33F
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B