#BA406A#BA406A
#BA406A is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.4% C 0.161 H 2.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #BA406A |
|---|---|
| RGB | rgb(186, 64, 106) |
| HSL | hsl(339, 49%, 49%) |
| HSV | hsv(339, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 43%, 27.1%) |
| CIE-LAB | lab(45.84, 52.47, 2.74) |
| CIE-LCH | lch(45.84, 52.54, 2.99°) |
| OKLab | oklab(55.39% 0.1603 0.0077) |
| OKLCH | oklch(55.39% 0.161 2.7) |
| XYZ | xyz(24.6864, 15.1495, 15.2570) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.87
Deep Rose
#C74767
ΔE00 4.61
Light Burgundy
#A8415B
ΔE00 4.64
Dark Rose
#B5485D
ΔE00 4.98
Deep Pink
#CB0162
ΔE00 5.34
Dark Hot Pink
#D90166
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA406A #40BA90
analogous
#BA40A7 #BA406A #BA5340
triadic
#BA406A #6ABA40 #406ABA
tetradic
#BA406A #A7BA40 #40BA90 #5340BA
square
#BA406A #A7BA40 #40BA90 #5340BA
split-complementary
#BA406A #40BA53 #40A7BA
monochromatic
#5F2136 #8C3050 #BA406A #CC6B8C #DC99B0
Accessibility & contrast
On white
5.21
#BA406A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#BA406A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA406A
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA406A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA406A | 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)
#595E6B
Deuteranopia (green-blind)
#797567
Tritanopia (blue-blind)
#C93151
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ba406a; /* rgb */ color: rgb(186, 64, 106); /* oklch */ color: oklch(55.4% 0.161 2.7);
Tailwind
colors: {
custom: {
50: '#d37c94',
500: '#ba406a',
950: '#000000',
},
}SCSS
$custom: #ba406a; $custom-light: #d37c94; $custom-dark: #000000;
JSON
{
"hex": "#ba406a",
"rgb": {
"r": 186,
"g": 64,
"b": 106
},
"hsl": {
"h": 339.344,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.55392,
"c": 0.16052,
"h": 2.7
},
"luminance": 0.15147
}Semantic roles & 50–950 ramp
primary
#BA406A
secondary
#8EC8B4
accent
#D8A94F
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E