#BA345A#BA345A
#BA345A is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.171 H 8.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #BA345A |
|---|---|
| RGB | rgb(186, 52, 90) |
| HSL | hsl(343, 56%, 47%) |
| HSV | hsv(343, 72%, 73%) |
| CMYK | cmyk(0%, 72%, 51.6%, 27.1%) |
| CIE-LAB | lab(43.71, 55.68, 9.58) |
| CIE-LCH | lch(43.71, 56.50, 9.77°) |
| OKLab | oklab(53.67% 0.1694 0.0247) |
| OKLCH | oklch(53.67% 0.171 8.3) |
| XYZ | xyz(23.3252, 13.6364, 11.0747) |
| Luminance | 0.1363 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.64
Dark Rose
#B5485D
ΔE00 3.88
Deep Pink
#CB0162
ΔE00 4.79
Deep Rose
#C74767
ΔE00 5.21
Dark Pink
#CB416B
ΔE00 5.26
Ruby
#CA0147
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA345A #34BA94
analogous
#BA349D #BA345A #BA5134
triadic
#BA345A #5ABA34 #345ABA
tetradic
#BA345A #9DBA34 #34BA94 #5134BA
square
#BA345A #9DBA34 #34BA94 #5134BA
split-complementary
#BA345A #34BA51 #349DBA
monochromatic
#5A192C #8A2743 #BA345A #D15A7C #DE8AA2
Accessibility & contrast
On white
5.64
#BA345A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#BA345A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA345A
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA345A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA345A | 1.00 | 5.64 | 3.73 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55565B
Deuteranopia (green-blind)
#787157
Tritanopia (blue-blind)
#CB1744
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba345a; /* rgb */ color: rgb(186, 52, 90); /* oklch */ color: oklch(53.7% 0.171 8.3);
Tailwind
colors: {
custom: {
50: '#d57688',
500: '#ba345a',
950: '#000000',
},
}SCSS
$custom: #ba345a; $custom-light: #d57688; $custom-dark: #000000;
JSON
{
"hex": "#ba345a",
"rgb": {
"r": 186,
"g": 52,
"b": 90
},
"hsl": {
"h": 342.985,
"s": 56.303,
"l": 46.667
},
"oklch": {
"l": 0.53673,
"c": 0.17121,
"h": 8.3
},
"luminance": 0.13633
}Semantic roles & 50–950 ramp
primary
#BA345A
secondary
#81C8B4
accent
#E0B548
background
#FDF7F8
surface
#FBEEEF
border
#D4C9CA
text
#15090B
muted
#837B7C