#B4173A#B4173A
#B4173A is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.7% C 0.187 H 17.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B4173A |
|---|---|
| RGB | rgb(180, 23, 58) |
| HSL | hsl(347, 77%, 40%) |
| HSV | hsv(347, 87%, 71%) |
| CMYK | cmyk(0%, 87.2%, 67.8%, 29.4%) |
| CIE-LAB | lab(38.94, 60.06, 23.08) |
| CIE-LCH | lch(38.94, 64.34, 21.02°) |
| OKLab | oklab(49.72% 0.1787 0.0545) |
| OKLCH | oklch(49.72% 0.187 17) |
| XYZ | xyz(19.8948, 10.6248, 5.0054) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 1.81
Rouge
#AB1239
ΔE00 2.22
Lipstick Red
#C0022F
ΔE00 4.04
Cardinal
#C41E3A
ΔE00 4.11
Ruby
#CA0147
ΔE00 4.68
Cherry (survey)
#CF0234
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4173A #17B491
analogous
#B41789 #B4173A #B44217
triadic
#B4173A #3AB417 #173AB4
tetradic
#B4173A #89B417 #17B491 #4217B4
square
#B4173A #89B417 #17B491 #4217B4
split-complementary
#B4173A #17B442 #1789B4
monochromatic
#470917 #7E1029 #B4173A #E3254F #EA5B7B
Accessibility & contrast
On white
6.72
#B4173A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#B4173A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4173A
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4173A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4173A | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B473A
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#C60028
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b4173a; /* rgb */ color: rgb(180, 23, 58); /* oklch */ color: oklch(49.7% 0.187 17.0);
Tailwind
colors: {
custom: {
50: '#d3696f',
500: '#b4173a',
950: '#000000',
},
}SCSS
$custom: #b4173a; $custom-light: #d3696f; $custom-dark: #000000;
JSON
{
"hex": "#b4173a",
"rgb": {
"r": 180,
"g": 23,
"b": 58
},
"hsl": {
"h": 346.624,
"s": 77.34,
"l": 39.804
},
"oklch": {
"l": 0.49722,
"c": 0.18682,
"h": 17
},
"luminance": 0.10622
}Semantic roles & 50–950 ramp
primary
#B4173A
secondary
#59CEB4
accent
#F4C934
background
#FEF6F6
surface
#FCECEC
border
#D5C7C7
text
#160707
muted
#847A7A