#BA406E#BA406E
#BA406E is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.5% C 0.162 H 0.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #BA406E |
|---|---|
| RGB | rgb(186, 64, 110) |
| HSL | hsl(337, 49%, 49%) |
| HSV | hsv(337, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 40.9%, 27.1%) |
| CIE-LAB | lab(45.95, 52.89, 0.45) |
| CIE-LCH | lch(45.95, 52.89, 0.49°) |
| OKLab | oklab(55.52% 0.1618 0.0018) |
| OKLCH | oklch(55.52% 0.162 0.6) |
| XYZ | xyz(24.8992, 15.2346, 16.3782) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.44
Deep Rose
#C74767
ΔE00 5.43
Light Burgundy
#A8415B
ΔE00 5.43
Deep Pink
#CB0162
ΔE00 5.54
Dark Rose
#B5485D
ΔE00 6.06
Dark Hot Pink
#D90166
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA406E #40BA8C
analogous
#BA40AB #BA406E #BA4F40
triadic
#BA406E #6EBA40 #406EBA
tetradic
#BA406E #ABBA40 #40BA8C #4F40BA
square
#BA406E #ABBA40 #40BA8C #4F40BA
split-complementary
#BA406E #40BA4F #40ABBA
monochromatic
#5F2138 #8C3053 #BA406E #CC6B90 #DC99B2
Accessibility & contrast
On white
5.19
#BA406E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#BA406E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA406E
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA406E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA406E | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585E6F
Deuteranopia (green-blind)
#78756B
Tritanopia (blue-blind)
#C93252
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ba406e; /* rgb */ color: rgb(186, 64, 110); /* oklch */ color: oklch(55.5% 0.162 0.6);
Tailwind
colors: {
custom: {
50: '#d37c97',
500: '#ba406e',
950: '#000000',
},
}SCSS
$custom: #ba406e; $custom-light: #d37c97; $custom-dark: #000000;
JSON
{
"hex": "#ba406e",
"rgb": {
"r": 186,
"g": 64,
"b": 110
},
"hsl": {
"h": 337.377,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.55516,
"c": 0.16176,
"h": 0.6
},
"luminance": 0.15232
}Semantic roles & 50–950 ramp
primary
#BA406E
secondary
#8EC8B2
accent
#D8A54F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E