#B4167E#B4167E
#B4167E is a mid, highly saturated pink. Relative luminance 0.118; OKLCH L 51.8% C 0.206 H 347.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B4167E |
|---|---|
| RGB | rgb(180, 22, 126) |
| HSL | hsl(321, 78%, 40%) |
| HSV | hsv(321, 88%, 71%) |
| CMYK | cmyk(0%, 87.8%, 30%, 29.4%) |
| CIE-LAB | lab(40.87, 65.87, -17.14) |
| CIE-LCH | lch(40.87, 68.06, 345.42°) |
| OKLab | oklab(51.78% 0.2015 -0.0453) |
| OKLCH | oklch(51.78% 0.206 347.3) |
| XYZ | xyz(22.8764, 11.7862, 20.8049) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.38
Mediumvioletred
#C71585
ΔE00 3.92
Red Violet
#9E0168
ΔE00 5.63
Deep Magenta
#A0025C
ΔE00 7.18
Dark Fuchsia
#9D0759
ΔE00 7.87
Warm Purple
#952E8F
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4167E #16B44C
analogous
#9B16B4 #B4167E #B4162F
triadic
#B4167E #7EB416 #167EB4
tetradic
#B4167E #B49B16 #16B44C #162FB4
square
#B4167E #B49B16 #16B44C #162FB4
split-complementary
#B4167E #2FB416 #16B49B
monochromatic
#470932 #7D0F58 #B4167E #E423A2 #EB5AB9
Accessibility & contrast
On white
6.26
#B4167E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B4167E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4167E
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4167E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4167E | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#C1084B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b4167e; /* rgb */ color: rgb(180, 22, 126); /* oklch */ color: oklch(51.8% 0.206 347.3);
Tailwind
colors: {
custom: {
50: '#cf6ca3',
500: '#b4167e',
950: '#000000',
},
}SCSS
$custom: #b4167e; $custom-light: #cf6ca3; $custom-dark: #000000;
JSON
{
"hex": "#b4167e",
"rgb": {
"r": 180,
"g": 22,
"b": 126
},
"hsl": {
"h": 320.506,
"s": 78.218,
"l": 39.608
},
"oklch": {
"l": 0.51782,
"c": 0.20648,
"h": 347.3
},
"luminance": 0.11783
}Semantic roles & 50–950 ramp
primary
#B4167E
secondary
#58CE80
accent
#F57533
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15080F
muted
#837B7F