#B4173F#B4173F
#B4173F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.187 H 14.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B4173F |
|---|---|
| RGB | rgb(180, 23, 63) |
| HSL | hsl(345, 77%, 40%) |
| HSV | hsv(345, 87%, 71%) |
| CMYK | cmyk(0%, 87.2%, 65%, 29.4%) |
| CIE-LAB | lab(39.03, 60.32, 20.03) |
| CIE-LCH | lch(39.03, 63.56, 18.37°) |
| OKLab | oklab(49.82% 0.1807 0.0481) |
| OKLCH | oklch(49.82% 0.187 14.9) |
| XYZ | xyz(20.0282, 10.6781, 5.7082) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rose Red
#BE013C
ΔE00 2.00
Rouge
#AB1239
ΔE00 2.08
Ruby
#CA0147
ΔE00 4.08
Raspberry (survey)
#B00149
ΔE00 4.78
Cardinal
#C41E3A
ΔE00 5.06
Purplish Red
#B0054B
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4173F #17B48C
analogous
#B4178E #B4173F #B43D17
triadic
#B4173F #3FB417 #173FB4
tetradic
#B4173F #8EB417 #17B48C #3D17B4
square
#B4173F #8EB417 #17B48C #3D17B4
split-complementary
#B4173F #17B43D #178EB4
monochromatic
#470919 #7E102C #B4173F #E32555 #EA5B80
Accessibility & contrast
On white
6.70
#B4173F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#B4173F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4173F
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4173F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4173F | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A483F
Deuteranopia (green-blind)
#71673B
Tritanopia (blue-blind)
#C6002A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b4173f; /* rgb */ color: rgb(180, 23, 63); /* oklch */ color: oklch(49.8% 0.187 14.9);
Tailwind
colors: {
custom: {
50: '#d36a73',
500: '#b4173f',
950: '#000000',
},
}SCSS
$custom: #b4173f; $custom-light: #d36a73; $custom-dark: #000000;
JSON
{
"hex": "#b4173f",
"rgb": {
"r": 180,
"g": 23,
"b": 63
},
"hsl": {
"h": 344.713,
"s": 77.34,
"l": 39.804
},
"oklch": {
"l": 0.4982,
"c": 0.18696,
"h": 14.9
},
"luminance": 0.10675
}Semantic roles & 50–950 ramp
primary
#B4173F
secondary
#59CEB0
accent
#F4C334
background
#FEF6F6
surface
#FCECEC
border
#D5C7C7
text
#160708
muted
#847A7B