#B42145#B42145
#B42145 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.5% C 0.181 H 13.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B42145 |
|---|---|
| RGB | rgb(180, 33, 69) |
| HSL | hsl(345, 69%, 42%) |
| HSV | hsv(345, 82%, 71%) |
| CMYK | cmyk(0%, 81.7%, 61.7%, 29.4%) |
| CIE-LAB | lab(39.95, 58.39, 17.44) |
| CIE-LCH | lch(39.95, 60.94, 16.63°) |
| OKLab | oklab(50.54% 0.1756 0.0426) |
| OKLCH | oklch(50.54% 0.181 13.6) |
| XYZ | xyz(20.4426, 11.2238, 6.7191) |
| Luminance | 0.1122 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.91
Rouge
#AB1239
ΔE00 3.17
Ruby
#CA0147
ΔE00 3.79
Raspberry (survey)
#B00149
ΔE00 4.26
Purplish Red
#B0054B
ΔE00 4.52
Cardinal
#C41E3A
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42145 #21B490
analogous
#B4218F #B42145 #B44721
triadic
#B42145 #45B421 #2145B4
tetradic
#B42145 #8FB421 #21B490 #4721B4
square
#B42145 #8FB421 #21B490 #4721B4
split-complementary
#B42145 #21B447 #218FB4
monochromatic
#4D0E1D #801831 #B42145 #DA3860 #E46B89
Accessibility & contrast
On white
6.47
#B42145 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B42145 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42145
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42145 | 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)
#4D4B45
Deuteranopia (green-blind)
#726941
Tritanopia (blue-blind)
#C50031
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b42145; /* rgb */ color: rgb(180, 33, 69); /* oklch */ color: oklch(50.5% 0.181 13.6);
Tailwind
colors: {
custom: {
50: '#d26d78',
500: '#b42145',
950: '#000000',
},
}SCSS
$custom: #b42145; $custom-light: #d26d78; $custom-dark: #000000;
JSON
{
"hex": "#b42145",
"rgb": {
"r": 180,
"g": 33,
"b": 69
},
"hsl": {
"h": 345.306,
"s": 69.014,
"l": 41.765
},
"oklch": {
"l": 0.50537,
"c": 0.18072,
"h": 13.6
},
"luminance": 0.11221
}Semantic roles & 50–950 ramp
primary
#B42145
secondary
#67CAB2
accent
#ECC13C
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B