#BA4071#BA4071
#BA4071 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.6% C 0.163 H 359.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4071 |
|---|---|
| RGB | rgb(186, 64, 113) |
| HSL | hsl(336, 49%, 49%) |
| HSV | hsv(336, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 39.2%, 27.1%) |
| CIE-LAB | lab(46.04, 53.21, -1.25) |
| CIE-LCH | lch(46.04, 53.22, 358.65°) |
| OKLab | oklab(55.61% 0.1628 -0.0026) |
| OKLCH | oklch(55.61% 0.163 359.1) |
| XYZ | xyz(25.0653, 15.3011, 17.2530) |
| Luminance | 0.1530 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.98
Deep Pink
#CB0162
ΔE00 5.83
Deep Rose
#C74767
ΔE00 6.08
Light Burgundy
#A8415B
ΔE00 6.09
Dark Hot Pink
#D90166
ΔE00 6.49
Magenta (survey)
#C20078
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4071 #40BA89
analogous
#BA40AE #BA4071 #BA4C40
triadic
#BA4071 #71BA40 #4071BA
tetradic
#BA4071 #AEBA40 #40BA89 #4C40BA
square
#BA4071 #AEBA40 #40BA89 #4C40BA
split-complementary
#BA4071 #40BA4C #40AEBA
monochromatic
#5F213A #8C3055 #BA4071 #CC6B92 #DC99B4
Accessibility & contrast
On white
5.17
#BA4071 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#BA4071 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4071
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4071 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4071 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575E72
Deuteranopia (green-blind)
#78766E
Tritanopia (blue-blind)
#C93354
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ba4071; /* rgb */ color: rgb(186, 64, 113); /* oklch */ color: oklch(55.6% 0.163 359.1);
Tailwind
colors: {
custom: {
50: '#d37c99',
500: '#ba4071',
950: '#000000',
},
}SCSS
$custom: #ba4071; $custom-light: #d37c99; $custom-dark: #000000;
JSON
{
"hex": "#ba4071",
"rgb": {
"r": 186,
"g": 64,
"b": 113
},
"hsl": {
"h": 335.902,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.55612,
"c": 0.16279,
"h": 359.1
},
"luminance": 0.15298
}Semantic roles & 50–950 ramp
primary
#BA4071
secondary
#8EC8B1
accent
#D8A14F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E