#B4173B#B4173B
#B4173B is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.7% C 0.187 H 16.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B4173B |
|---|---|
| RGB | rgb(180, 23, 59) |
| HSL | hsl(346, 77%, 40%) |
| HSV | hsv(346, 87%, 71%) |
| CMYK | cmyk(0%, 87.2%, 67.2%, 29.4%) |
| CIE-LAB | lab(38.96, 60.11, 22.47) |
| CIE-LCH | lch(38.96, 64.17, 20.50°) |
| OKLab | oklab(49.74% 0.1791 0.0532) |
| OKLCH | oklch(49.74% 0.187 16.6) |
| XYZ | xyz(19.9205, 10.6350, 5.1407) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 1.74
Rouge
#AB1239
ΔE00 2.11
Cardinal
#C41E3A
ΔE00 4.27
Lipstick Red
#C0022F
ΔE00 4.31
Ruby
#CA0147
ΔE00 4.52
Raspberry (survey)
#B00149
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4173B #17B490
analogous
#B4178A #B4173B #B44117
triadic
#B4173B #3BB417 #173BB4
tetradic
#B4173B #8AB417 #17B490 #4117B4
square
#B4173B #8AB417 #17B490 #4117B4
split-complementary
#B4173B #17B441 #178AB4
monochromatic
#470917 #7E1029 #B4173B #E32551 #EA5B7C
Accessibility & contrast
On white
6.72
#B4173B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#B4173B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4173B
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4173B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4173B | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B473B
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#C60028
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b4173b; /* rgb */ color: rgb(180, 23, 59); /* oklch */ color: oklch(49.7% 0.187 16.6);
Tailwind
colors: {
custom: {
50: '#d36970',
500: '#b4173b',
950: '#000000',
},
}SCSS
$custom: #b4173b; $custom-light: #d36970; $custom-dark: #000000;
JSON
{
"hex": "#b4173b",
"rgb": {
"r": 180,
"g": 23,
"b": 59
},
"hsl": {
"h": 346.242,
"s": 77.34,
"l": 39.804
},
"oklch": {
"l": 0.49741,
"c": 0.18683,
"h": 16.6
},
"luminance": 0.10632
}Semantic roles & 50–950 ramp
primary
#B4173B
secondary
#59CEB3
accent
#F4C834
background
#FEF6F6
surface
#FCECEC
border
#D5C7C7
text
#160707
muted
#847A7A