#BA4A71#BA4A71
#BA4A71 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.8% C 0.149 H 1.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4A71 |
|---|---|
| RGB | rgb(186, 74, 113) |
| HSL | hsl(339, 45%, 51%) |
| HSV | hsv(339, 60%, 73%) |
| CMYK | cmyk(0%, 60.2%, 39.2%, 27.1%) |
| CIE-LAB | lab(47.66, 48.82, 1.11) |
| CIE-LCH | lch(47.66, 48.84, 1.31°) |
| OKLab | oklab(56.82% 0.149 0.0035) |
| OKLCH | oklch(56.82% 0.149 1.3) |
| XYZ | xyz(25.6807, 16.5318, 17.4581) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.91
Deep Rose
#C74767
ΔE00 4.55
Dark Rose
#B5485D
ΔE00 5.61
Light Burgundy
#A8415B
ΔE00 5.96
Darkish Pink
#DA467D
ΔE00 6.23
Dark Hot Pink
#D90166
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4A71 #4ABA93
analogous
#BA4AA9 #BA4A71 #BA5B4A
triadic
#BA4A71 #71BA4A #4A71BA
tetradic
#BA4A71 #A9BA4A #4ABA93 #5B4ABA
square
#BA4A71 #A9BA4A #4ABA93 #5B4ABA
split-complementary
#BA4A71 #4ABA5B #4AA9BA
monochromatic
#64263B #903756 #BA4A71 #CB7694 #DCA3B7
Accessibility & contrast
On white
4.88
#BA4A71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#BA4A71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4A71
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4A71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4A71 | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E6472
Deuteranopia (green-blind)
#7C796E
Tritanopia (blue-blind)
#C93F59
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ba4a71; /* rgb */ color: rgb(186, 74, 113); /* oklch */ color: oklch(56.8% 0.149 1.3);
Tailwind
colors: {
custom: {
50: '#d38299',
500: '#ba4a71',
950: '#000000',
},
}SCSS
$custom: #ba4a71; $custom-light: #d38299; $custom-dark: #000000;
JSON
{
"hex": "#ba4a71",
"rgb": {
"r": 186,
"g": 74,
"b": 113
},
"hsl": {
"h": 339.107,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.56817,
"c": 0.14902,
"h": 1.3
},
"luminance": 0.16529
}Semantic roles & 50–950 ramp
primary
#BA4A71
secondary
#97C9B7
accent
#D5A853
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E