#B4164F#B4164F
#B4164F is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.189 H 7.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B4164F |
|---|---|
| RGB | rgb(180, 22, 79) |
| HSL | hsl(338, 78%, 40%) |
| HSV | hsv(338, 88%, 71%) |
| CMYK | cmyk(0%, 87.8%, 56.1%, 29.4%) |
| CIE-LAB | lab(39.32, 61.52, 10.21) |
| CIE-LCH | lch(39.32, 62.37, 9.42°) |
| OKLab | oklab(50.14% 0.1875 0.0259) |
| OKLCH | oklch(50.14% 0.189 7.9) |
| XYZ | xyz(20.5226, 10.8447, 8.4082) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.53
Raspberry (survey)
#B00149
ΔE00 1.77
Deep Pink
#CB0162
ΔE00 5.30
Ruby
#CA0147
ΔE00 5.70
Violet Red
#A50055
ΔE00 5.74
Light Burgundy
#A8415B
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4164F #16B47B
analogous
#B4169E #B4164F #B42C16
triadic
#B4164F #4FB416 #164FB4
tetradic
#B4164F #9EB416 #16B47B #2C16B4
square
#B4164F #9EB416 #16B47B #2C16B4
split-complementary
#B4164F #16B42C #169EB4
monochromatic
#47091F #7D0F37 #B4164F #E42369 #EB5A8E
Accessibility & contrast
On white
6.63
#B4164F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#B4164F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4164F
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4164F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4164F | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464950
Deuteranopia (green-blind)
#6E674B
Tritanopia (blue-blind)
#C50032
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b4164f; /* rgb */ color: rgb(180, 22, 79); /* oklch */ color: oklch(50.1% 0.189 7.9);
Tailwind
colors: {
custom: {
50: '#d26a80',
500: '#b4164f',
950: '#000000',
},
}SCSS
$custom: #b4164f; $custom-light: #d26a80; $custom-dark: #000000;
JSON
{
"hex": "#b4164f",
"rgb": {
"r": 180,
"g": 22,
"b": 79
},
"hsl": {
"h": 338.354,
"s": 78.218,
"l": 39.608
},
"oklch": {
"l": 0.50142,
"c": 0.1893,
"h": 7.9
},
"luminance": 0.10842
}Semantic roles & 50–950 ramp
primary
#B4164F
secondary
#58CEA3
accent
#F5AF33
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C