#BA416B#BA416B
#BA416B is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.5% C 0.160 H 2.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #BA416B |
|---|---|
| RGB | rgb(186, 65, 107) |
| HSL | hsl(339, 48%, 49%) |
| HSV | hsv(339, 65%, 73%) |
| CMYK | cmyk(0%, 65.1%, 42.5%, 27.1%) |
| CIE-LAB | lab(46.02, 52.15, 2.39) |
| CIE-LCH | lch(46.02, 52.21, 2.62°) |
| OKLab | oklab(55.54% 0.1594 0.0068) |
| OKLCH | oklch(55.54% 0.16 2.4) |
| XYZ | xyz(24.7956, 15.2842, 15.5515) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.86
Deep Rose
#C74767
ΔE00 4.63
Light Burgundy
#A8415B
ΔE00 4.79
Dark Rose
#B5485D
ΔE00 5.10
Deep Pink
#CB0162
ΔE00 5.52
Dark Hot Pink
#D90166
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA416B #41BA90
analogous
#BA41A8 #BA416B #BA5441
triadic
#BA416B #6BBA41 #416BBA
tetradic
#BA416B #A8BA41 #41BA90 #5441BA
square
#BA416B #A8BA41 #41BA90 #5441BA
split-complementary
#BA416B #41BA54 #41A8BA
monochromatic
#5F2137 #8D3151 #BA416B #CC6C8E #DC9AB1
Accessibility & contrast
On white
5.18
#BA416B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#BA416B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA416B
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA416B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA416B | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595E6C
Deuteranopia (green-blind)
#797668
Tritanopia (blue-blind)
#C93252
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ba416b; /* rgb */ color: rgb(186, 65, 107); /* oklch */ color: oklch(55.5% 0.160 2.4);
Tailwind
colors: {
custom: {
50: '#d37d95',
500: '#ba416b',
950: '#000000',
},
}SCSS
$custom: #ba416b; $custom-light: #d37d95; $custom-dark: #000000;
JSON
{
"hex": "#ba416b",
"rgb": {
"r": 186,
"g": 65,
"b": 107
},
"hsl": {
"h": 339.174,
"s": 48.207,
"l": 49.216
},
"oklch": {
"l": 0.55537,
"c": 0.15951,
"h": 2.4
},
"luminance": 0.15281
}Semantic roles & 50–950 ramp
primary
#BA416B
secondary
#8FC8B4
accent
#D8A950
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E