#BA366B#BA366B
#BA366B is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.4% C 0.173 H 0.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #BA366B |
|---|---|
| RGB | rgb(186, 54, 107) |
| HSL | hsl(336, 55%, 47%) |
| HSV | hsv(336, 71%, 73%) |
| CMYK | cmyk(0%, 71%, 42.5%, 27.1%) |
| CIE-LAB | lab(44.44, 56.51, 0.08) |
| CIE-LCH | lch(44.44, 56.51, 0.09°) |
| OKLab | oklab(54.36% 0.1732 0.0009) |
| OKLCH | oklch(54.36% 0.173 0.3) |
| XYZ | xyz(24.2245, 14.1420, 15.3611) |
| Luminance | 0.1414 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.30
Dark Pink
#CB416B
ΔE00 5.47
Light Burgundy
#A8415B
ΔE00 5.51
Dark Hot Pink
#D90166
ΔE00 5.73
Magenta (survey)
#C20078
ΔE00 5.96
Deep Rose
#C74767
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA366B #36BA85
analogous
#BA36AD #BA366B #BA4336
triadic
#BA366B #6BBA36 #366BBA
tetradic
#BA366B #ADBA36 #36BA85 #4336BA
square
#BA366B #ADBA36 #36BA85 #4336BA
split-complementary
#BA366B #36BA43 #36ADBA
monochromatic
#5B1A34 #8B2850 #BA366B #D05D8B #DE8DAD
Accessibility & contrast
On white
5.49
#BA366B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#BA366B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA366B
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA366B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA366B | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52596C
Deuteranopia (green-blind)
#757268
Tritanopia (blue-blind)
#CA244C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ba366b; /* rgb */ color: rgb(186, 54, 107); /* oklch */ color: oklch(54.4% 0.173 0.3);
Tailwind
colors: {
custom: {
50: '#d47795',
500: '#ba366b',
950: '#000000',
},
}SCSS
$custom: #ba366b; $custom-light: #d47795; $custom-dark: #000000;
JSON
{
"hex": "#ba366b",
"rgb": {
"r": 186,
"g": 54,
"b": 107
},
"hsl": {
"h": 335.909,
"s": 55,
"l": 47.059
},
"oklch": {
"l": 0.54364,
"c": 0.17321,
"h": 0.3
},
"luminance": 0.14139
}Semantic roles & 50–950 ramp
primary
#BA366B
secondary
#84C8AD
accent
#DEA349
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#15090D
muted
#837B7E