pink — #FFC0CB
#FFC0CB
rgb(255, 192, 203) · hsl(350, 100%, 88%) · CSS keyword pink
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| pink on white | 1.54:1 | — | — |
| pink on black | 13.65:1 | AA | AA |
As a background, pink takes black text: 13.65:1 against 1.54: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: pink;
color: #ffc0cb;
color: rgb(255 192 203);
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 pink
- lightpink — #FFB6C1
- peachpuff — #FFDAB9
- thistle — #D8BFD8
- wheat — #F5DEB3
- navajowhite — #FFDEAD
- bisque — #FFE4C4
Frequently asked questions
What is the hex code for pink?
The hex code for pink is #FFC0CB — RGB 255, 192, 203.
Can I use pink for text?
Not on a white background. pink reaches only 1.54:1, and WCAG AA asks for 4.5:1. It works as a background or a border, not as ink.
Should text on pink be black or white?
Black — 13.65:1 against 1.54:1 the other way.
Other named colours
- plum — #DDA0DD
- powderblue — #B0E0E6
- purple — #800080
- rebeccapurple — #663399
- red — #FF0000
- rosybrown — #BC8F8F
- royalblue — #4169E1
- saddlebrown — #8B4513
- salmon — #FA8072
- sandybrown — #F4A460
- seagreen — #2E8B57
- seashell — #FFF5EE
#FFC0CB in full — tints, shades and harmonies · All named colours · Colour reference