Pink Color Code: Hex #FFC0CB
The hex code for Pink is #FFC0CB (the CSS keyword pink). Pink RGB code: rgb(255, 192, 203). The xkcd color survey gives #FF81C0 instead, which looks clearly different; both codes are below with their source.
#FFC0CBTop: the code browsers use#FF81C0Below: compare edge to edgePink color codes: each Pink hex code in every format
Sources
Properties
- Hex codes
- 2 different ones in 3 color lists; they look clearly different
- Family
- pink
- Contrast
- 1.54:1 with white, 13.65:1 with black
- CSS keyword
- pink
- Character
- light, muted
- Readable text on it
- black (AA)
The color is named after the flowers called pinks, plants of the genus Dianthus with frilled petal edges; it came into use as a color name in the late 17th century, and the noun for the pale red color is recorded by 1733.
A light, muted pinkish red with a warm cast. In code, pink gives exactly this web value. If you mean the color as people usually picture the name, the survey value #FF81C0 is closer: it is darker and more vivid.
Black text reads best on it; white text does not pass WCAG AA. Next to Light Pink, its closest named neighbour, it looks lighter, more muted and cooler; beside Pastel Pink it looks about as light, about as saturated and neither warmer nor cooler.
Colors that go with Pink
Complementary: the opposite of Pink
#FFC0CBBlack text 13.65:1#9BE4DCBlack text 14.52:1#FFDCE2Black text 16.59:1#5E8D88Black text 5.64:1
Analogous
#F4C2E5Black text 13.69:1#FFC0CBBlack text 13.65:1#FFC4B2Black text 13.79:1#FFE6EABlack text 17.76:1
Triadic
#FFC0CBBlack text 13.65:1#C6DDA9Black text 14.32:1#B0D9FFBlack text 14.22:1#FFEFF2Black text 18.88:1
Monochrome
#483437White text 11.53:1#9E767DBlack text 5.34:1#FFC0CBBlack text 13.65:1#FFD3DABlack text 15.58:1#FFE6EABlack text 17.76:1
With neutrals
#FFC0CBBlack text 13.65:1#FFEFF2Black text 18.88:1#221618White text 17.56:1#A59396Black text 7.21:1
Preview
Heading on Pink
Body text on this color, 13.65:1.
ButtonHeading in Pink
Text in this color on white, 1.54:1.
ButtonTints and shades
#FFEFF2#FFE6EA#FFDCE2#FFD3DA#FFCAD3#FFC0CB#CE9AA3#9E767D#715459#483437#221618
WhitePinkBlack
Similar named colors
Where the name comes from
- Source: Wikipedia, “Pink” (checked 2 Nov 2026)
- Source: Etymonline, “pink” (checked 2 Nov 2026)
- Listed in CSS Color 4, xkcd color survey, meodai color-name-list. About these lists.
Try it: