About Hot Pink
Hot Pink (hotpink) is a light, vivid pink with the hex code #ff69b4, or rgb(255, 105, 180). In HSL it sits at a hue of 330°, 100% saturation and 71% lightness. It is one of the 148 named colors every browser understands, so you can write color: hotpink; instead of the hex value.
Using Hot Pink for text and backgrounds
| Pairing | Contrast ratio | WCAG |
|---|---|---|
| Hot Pink text on white | 2.65 : 1 | fails |
| Hot Pink text on black | 7.93 : 1 | AAA |
On a hot pink background, use black text (7.93 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.
CSS
.element {
color: hotpink; /* or #ff69b4 */
background-color: #ff69b4;
border: 1px solid rgb(255 105 180 / 50%);
}
Similar named colors
Pale Violet Red (#db7093), Orchid (#da70d6), Light Coral (#f08080), Violet (#ee82ee), Salmon (#fa8072), Plum (#dda0dd).