#BA4166#BA4166
#BA4166 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.4% C 0.158 H 5.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4166 |
|---|---|
| RGB | rgb(186, 65, 102) |
| HSL | hsl(342, 48%, 49%) |
| HSV | hsv(342, 65%, 73%) |
| CMYK | cmyk(0%, 65.1%, 45.2%, 27.1%) |
| CIE-LAB | lab(45.88, 51.65, 5.26) |
| CIE-LCH | lch(45.88, 51.91, 5.81°) |
| OKLab | oklab(55.39% 0.1576 0.014) |
| OKLCH | oklch(55.39% 0.158 5.1) |
| XYZ | xyz(24.5401, 15.1820, 14.2059) |
| Luminance | 0.1518 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.48
Dark Rose
#B5485D
ΔE00 3.73
Deep Rose
#C74767
ΔE00 3.76
Light Burgundy
#A8415B
ΔE00 4.00
Deep Pink
#CB0162
ΔE00 5.58
Dark Hot Pink
#D90166
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4166 #41BA95
analogous
#BA41A3 #BA4166 #BA5941
triadic
#BA4166 #66BA41 #4166BA
tetradic
#BA4166 #A3BA41 #41BA95 #5941BA
square
#BA4166 #A3BA41 #41BA95 #5941BA
split-complementary
#BA4166 #41BA59 #41A3BA
monochromatic
#5F2134 #8D314D #BA4166 #CC6C8A #DC9AAE
Accessibility & contrast
On white
5.20
#BA4166 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#BA4166 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4166
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4166 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5E67
Deuteranopia (green-blind)
#7A7563
Tritanopia (blue-blind)
#CA3150
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ba4166; /* rgb */ color: rgb(186, 65, 102); /* oklch */ color: oklch(55.4% 0.158 5.1);
Tailwind
colors: {
custom: {
50: '#d47d91',
500: '#ba4166',
950: '#000000',
},
}SCSS
$custom: #ba4166; $custom-light: #d47d91; $custom-dark: #000000;
JSON
{
"hex": "#ba4166",
"rgb": {
"r": 186,
"g": 65,
"b": 102
},
"hsl": {
"h": 341.653,
"s": 48.207,
"l": 49.216
},
"oklch": {
"l": 0.55389,
"c": 0.15818,
"h": 5.1
},
"luminance": 0.15179
}Semantic roles & 50–950 ramp
primary
#BA4166
secondary
#8FC8B6
accent
#D8AE50
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D