#B4167F#B4167F
#B4167F is a mid, highly saturated pink. Relative luminance 0.118; OKLCH L 51.8% C 0.207 H 346.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B4167F |
|---|---|
| RGB | rgb(180, 22, 127) |
| HSL | hsl(320, 78%, 40%) |
| HSV | hsv(320, 88%, 71%) |
| CMYK | cmyk(0%, 87.8%, 29.4%, 29.4%) |
| CIE-LAB | lab(40.92, 65.98, -17.69) |
| CIE-LCH | lch(40.92, 68.31, 344.99°) |
| OKLab | oklab(51.83% 0.2016 -0.0468) |
| OKLCH | oklch(51.83% 0.207 346.9) |
| XYZ | xyz(22.9413, 11.8122, 21.1464) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.54
Mediumvioletred
#C71585
ΔE00 3.94
Red Violet
#9E0168
ΔE00 5.72
Deep Magenta
#A0025C
ΔE00 7.35
Warm Purple
#952E8F
ΔE00 7.83
Dark Fuchsia
#9D0759
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4167F #16B44B
analogous
#9A16B4 #B4167F #B41630
triadic
#B4167F #7FB416 #167FB4
tetradic
#B4167F #B49A16 #16B44B #1630B4
square
#B4167F #B49A16 #16B44B #1630B4
split-complementary
#B4167F #30B416 #16B49A
monochromatic
#470932 #7D0F59 #B4167F #E423A3 #EB5ABA
Accessibility & contrast
On white
6.25
#B4167F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B4167F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4167F
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4167F | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#C10A4C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b4167f; /* rgb */ color: rgb(180, 22, 127); /* oklch */ color: oklch(51.8% 0.207 346.9);
Tailwind
colors: {
custom: {
50: '#cf6ca4',
500: '#b4167f',
950: '#000000',
},
}SCSS
$custom: #b4167f; $custom-light: #cf6ca4; $custom-dark: #000000;
JSON
{
"hex": "#b4167f",
"rgb": {
"r": 180,
"g": 22,
"b": 127
},
"hsl": {
"h": 320.127,
"s": 78.218,
"l": 39.608
},
"oklch": {
"l": 0.51825,
"c": 0.207,
"h": 346.9
},
"luminance": 0.11809
}Semantic roles & 50–950 ramp
primary
#B4167F
secondary
#58CE7F
accent
#F57433
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#15080F
muted
#837B7F