#BA366A#BA366A
#BA366A is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.3% C 0.173 H 0.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #BA366A |
|---|---|
| RGB | rgb(186, 54, 106) |
| HSL | hsl(336, 55%, 47%) |
| HSV | hsv(336, 71%, 73%) |
| CMYK | cmyk(0%, 71%, 43%, 27.1%) |
| CIE-LAB | lab(44.41, 56.41, 0.66) |
| CIE-LCH | lch(44.41, 56.42, 0.67°) |
| OKLab | oklab(54.33% 0.1729 0.0024) |
| OKLCH | oklch(54.33% 0.173 0.8) |
| XYZ | xyz(24.1722, 14.1211, 15.0856) |
| Luminance | 0.1412 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.20
Light Burgundy
#A8415B
ΔE00 5.30
Dark Pink
#CB416B
ΔE00 5.34
Dark Hot Pink
#D90166
ΔE00 5.63
Magenta (survey)
#C20078
ΔE00 6.17
Deep Rose
#C74767
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA366A #36BA86
analogous
#BA36AC #BA366A #BA4436
triadic
#BA366A #6ABA36 #366ABA
tetradic
#BA366A #ACBA36 #36BA86 #4436BA
square
#BA366A #ACBA36 #36BA86 #4436BA
split-complementary
#BA366A #36BA44 #36ACBA
monochromatic
#5B1A34 #8B284F #BA366A #D05D8A #DE8DAD
Accessibility & contrast
On white
5.49
#BA366A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#BA366A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA366A
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA366A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA366A | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52596B
Deuteranopia (green-blind)
#757267
Tritanopia (blue-blind)
#CA234C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ba366a; /* rgb */ color: rgb(186, 54, 106); /* oklch */ color: oklch(54.3% 0.173 0.8);
Tailwind
colors: {
custom: {
50: '#d47794',
500: '#ba366a',
950: '#000000',
},
}SCSS
$custom: #ba366a; $custom-light: #d47794; $custom-dark: #000000;
JSON
{
"hex": "#ba366a",
"rgb": {
"r": 186,
"g": 54,
"b": 106
},
"hsl": {
"h": 336.364,
"s": 55,
"l": 47.059
},
"oklch": {
"l": 0.54332,
"c": 0.17289,
"h": 0.8
},
"luminance": 0.14118
}Semantic roles & 50–950 ramp
primary
#BA366A
secondary
#84C8AD
accent
#DEA449
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#15090D
muted
#837B7E