#B42547#B42547
#B42547 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.9% C 0.178 H 13.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B42547 |
|---|---|
| RGB | rgb(180, 37, 71) |
| HSL | hsl(346, 66%, 43%) |
| HSV | hsv(346, 79%, 71%) |
| CMYK | cmyk(0%, 79.4%, 60.6%, 29.4%) |
| CIE-LAB | lab(40.38, 57.42, 16.75) |
| CIE-LCH | lch(40.38, 59.81, 16.26°) |
| OKLab | oklab(50.87% 0.1729 0.0412) |
| OKLCH | oklch(50.87% 0.178 13.4) |
| XYZ | xyz(20.6234, 11.4844, 7.0908) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.28
Rouge
#AB1239
ΔE00 3.63
Ruby
#CA0147
ΔE00 3.80
Raspberry (survey)
#B00149
ΔE00 4.36
Purplish Red
#B0054B
ΔE00 4.57
Cardinal
#C41E3A
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42547 #25B492
analogous
#B4258F #B42547 #B44A25
triadic
#B42547 #47B425 #2547B4
tetradic
#B42547 #8FB425 #25B492 #4A25B4
square
#B42547 #8FB425 #25B492 #4A25B4
split-complementary
#B42547 #25B44A #258FB4
monochromatic
#4E101F #811B33 #B42547 #D73F63 #E2718C
Accessibility & contrast
On white
6.37
#B42547 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B42547 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42547
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42547 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42547 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4C47
Deuteranopia (green-blind)
#726A43
Tritanopia (blue-blind)
#C50034
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42547; /* rgb */ color: rgb(180, 37, 71); /* oklch */ color: oklch(50.9% 0.178 13.4);
Tailwind
colors: {
custom: {
50: '#d26e79',
500: '#b42547',
950: '#000000',
},
}SCSS
$custom: #b42547; $custom-light: #d26e79; $custom-dark: #000000;
JSON
{
"hex": "#b42547",
"rgb": {
"r": 180,
"g": 37,
"b": 71
},
"hsl": {
"h": 345.734,
"s": 65.899,
"l": 42.549
},
"oklch": {
"l": 0.50868,
"c": 0.17769,
"h": 13.4
},
"luminance": 0.11481
}Semantic roles & 50–950 ramp
primary
#B42547
secondary
#6CC9B3
accent
#E9C03F
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B