#BA3167#BA3167
#BA3167 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.178 H 1.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3167 |
|---|---|
| RGB | rgb(186, 49, 103) |
| HSL | hsl(336, 58%, 46%) |
| HSV | hsv(336, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 44.6%, 27.1%) |
| CIE-LAB | lab(43.68, 57.90, 1.46) |
| CIE-LCH | lch(43.68, 57.92, 1.45°) |
| OKLab | oklab(53.77% 0.1775 0.0044) |
| OKLCH | oklch(53.77% 0.178 1.4) |
| XYZ | xyz(23.7980, 13.6181, 14.2047) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.61
Light Burgundy
#A8415B
ΔE00 5.20
Dark Hot Pink
#D90166
ΔE00 5.45
Dark Pink
#CB416B
ΔE00 5.73
Magenta (survey)
#C20078
ΔE00 6.07
Dark Rose
#B5485D
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3167 #31BA84
analogous
#BA31AB #BA3167 #BA3F31
triadic
#BA3167 #67BA31 #3167BA
tetradic
#BA3167 #ABBA31 #31BA84 #3F31BA
square
#BA3167 #ABBA31 #31BA84 #3F31BA
split-complementary
#BA3167 #31BA3F #31ABBA
monochromatic
#591731 #8A244C #BA3167 #D25687 #DF86A9
Accessibility & contrast
On white
5.64
#BA3167 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#BA3167 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3167
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3167 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3167 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505668
Deuteranopia (green-blind)
#747164
Tritanopia (blue-blind)
#CA1A48
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3167; /* rgb */ color: rgb(186, 49, 103); /* oklch */ color: oklch(53.8% 0.178 1.4);
Tailwind
colors: {
custom: {
50: '#d47592',
500: '#ba3167',
950: '#000000',
},
}SCSS
$custom: #ba3167; $custom-light: #d47592; $custom-dark: #000000;
JSON
{
"hex": "#ba3167",
"rgb": {
"r": 186,
"g": 49,
"b": 103
},
"hsl": {
"h": 336.35,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53768,
"c": 0.17759,
"h": 1.4
},
"luminance": 0.13615
}Semantic roles & 50–950 ramp
primary
#BA3167
secondary
#7EC9AB
accent
#E2A446
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D