#BA406B#BA406B
#BA406B is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.4% C 0.161 H 2.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #BA406B |
|---|---|
| RGB | rgb(186, 64, 107) |
| HSL | hsl(339, 49%, 49%) |
| HSV | hsv(339, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 42.5%, 27.1%) |
| CIE-LAB | lab(45.87, 52.57, 2.16) |
| CIE-LCH | lch(45.87, 52.62, 2.36°) |
| OKLab | oklab(55.42% 0.1607 0.0062) |
| OKLCH | oklch(55.42% 0.161 2.2) |
| XYZ | xyz(24.7387, 15.1704, 15.5325) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.99
Deep Rose
#C74767
ΔE00 4.81
Light Burgundy
#A8415B
ΔE00 4.82
Dark Rose
#B5485D
ΔE00 5.25
Deep Pink
#CB0162
ΔE00 5.37
Dark Hot Pink
#D90166
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA406B #40BA8F
analogous
#BA40A8 #BA406B #BA5240
triadic
#BA406B #6BBA40 #406BBA
tetradic
#BA406B #A8BA40 #40BA8F #5240BA
square
#BA406B #A8BA40 #40BA8F #5240BA
split-complementary
#BA406B #40BA52 #40A8BA
monochromatic
#5F2137 #8C3051 #BA406B #CC6B8D #DC99B0
Accessibility & contrast
On white
5.21
#BA406B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#BA406B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA406B
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA406B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA406B | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585E6C
Deuteranopia (green-blind)
#797568
Tritanopia (blue-blind)
#C93151
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ba406b; /* rgb */ color: rgb(186, 64, 107); /* oklch */ color: oklch(55.4% 0.161 2.2);
Tailwind
colors: {
custom: {
50: '#d37c95',
500: '#ba406b',
950: '#000000',
},
}SCSS
$custom: #ba406b; $custom-light: #d37c95; $custom-dark: #000000;
JSON
{
"hex": "#ba406b",
"rgb": {
"r": 186,
"g": 64,
"b": 107
},
"hsl": {
"h": 338.852,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.55423,
"c": 0.16082,
"h": 2.2
},
"luminance": 0.15167
}Semantic roles & 50–950 ramp
primary
#BA406B
secondary
#8EC8B3
accent
#D8A84F
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E