Choose a utility from the Bootstrap version in use
Bootstrap 5.3 documents text color classes including text-body-secondary and emphasis colors such as text-danger-emphasis. Its documentation marks text-muted deprecated. If you are updating an existing site, check the installed version and compare the old and new classes on one component before changing every instance.
Check the color mode and background separately
Bootstrap’s guide distinguishes mode-responsive emphasis utilities from some older theme color classes. Compare the same label in both light and dark modes, on the actual background. Use the wording or a separate indicator to communicate the status even when its color is hard to distinguish.
Proof links and state changes in the finished component
Check the default, focused and visited link appearance where relevant. The text utility changes the color choice, while other link behavior depends on its styles and state. Refer to the HTML and CSS text color guide for direct CSS and the homepage styled text for a separate caption.
Your questions, answered.
What replaces text-muted in Bootstrap 5.3?
Bootstrap documents text-body-secondary for the secondary body-color role. Check the loaded version.
Will every text color utility adapt to dark mode?
Check the class in the 5.3 documentation and proof both modes. The emphasis utilities and some older classes behave differently.
Sources & background
Sources supporting this page’s explanations. Practical examples are our editorial suggestions.