# Custom error code color - HTML forms (not HS landing pages)

**URL:** <https://community.hubspot.com/t/custom-error-code-color-html-forms-not-hs-landing-pages/53435>\
**Category:** CMS Development\
**Tags:** forms, html\
**Created:** [March 18, 2022, 3:16am UTC](https://community.hubspot.com/t/custom-error-code-color-html-forms-not-hs-landing-pages/53435 "2022-03-18T03:16:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spycloud](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/spycloud/32/29368_2.png) [@spycloud](https://community.hubspot.com/u/spycloud)\
**Post date:** [March 18, 2022, 3:16am UTC](https://community.hubspot.com/t/custom-error-code-color-html-forms-not-hs-landing-pages/53435/1 "2022-03-18T03:16:26Z")

</div>

I am using Hubspot forms (HTML embedded on my Wordpress site), and the ‘please complete the required field’ text is showing up as an unreadable font color I’d really like to change. The other posts I see about this advise adjusting your Hubspot landing page CSS to override the font color, but I’m not using Hubspot landing pages.

Any advice?

 ![spycloud_0-1647573274284.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/7/3702aa426465385b6c935b631039c16f0ccc4b52.png)

---

<div class="post-metadata">

**Author:** ![piersg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/piersg/32/99782_2.png) [@piersg](https://community.hubspot.com/u/piersg)\
**Post date:** [March 18, 2022, 11:51am UTC](https://community.hubspot.com/t/custom-error-code-color-html-forms-not-hs-landing-pages/53435/2 "2022-03-18T11:51:44Z")

</div>

You need this CSS:

```lia-code-sample
.hs-error-msgs label {
 color: #000;
}

```
