deeppink — #FF1493
#FF1493
rgb(255, 20, 147) · hsl(328, 100%, 54%) · CSS keyword deeppink
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| deeppink on white | 3.64:1 | — | AA |
| deeppink on black | 5.77:1 | AA | AA |
As a background, deeppink takes black text: 5.77:1 against 3.64:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.
Using it
color: deeppink;
color: #ff1493;
color: rgb(255 20 147);
All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.
Colours close to deeppink
- mediumvioletred — #C71585
- crimson — #DC143C
- fuchsia — #FF00FF
- magenta — #FF00FF
- red — #FF0000
- firebrick — #B22222
Frequently asked questions
What is the hex code for deeppink?
The hex code for deeppink is #FF1493 — RGB 255, 20, 147.
Can I use deeppink for text?
Only for large text. deeppink reaches 3.64:1 against white — enough for the 3:1 of headings at 24px or 18.5px bold, short of the 4.5:1 body text needs.
Should text on deeppink be black or white?
Black — 5.77:1 against 3.64:1 the other way.
Other named colours
- deepskyblue — #00BFFF
- dimgray — #696969
- dodgerblue — #1E90FF
- firebrick — #B22222
- floralwhite — #FFFAF0
- forestgreen — #228B22
- fuchsia — #FF00FF
- gainsboro — #DCDCDC
- ghostwhite — #F8F8FF
- gold — #FFD700
- goldenrod — #DAA520
- gray — #808080
#FF1493 in full — tints, shades and harmonies · All named colours · Colour reference