About pink
A pale, light red. This is the CSS pink. Its hex code is #FFC0CB, which is rgb(255, 192, 203): 255 red, 192 green and 203 blue on a scale of 0 to 255.
Pink is a warm color.
Pink tints and shades
Lighter tints (mixed with white) and darker shades (mixed with black) of pink. Click any of them to copy its hex code.
Colors that go with pink
Complementary
The opposite color on the color wheel, for strong contrast.
Analogous
Neighbors on the color wheel, for a calm, matching look.
Triadic
Three colors evenly spaced around the wheel, for a balanced, lively palette.
Split complementary
The two colors either side of the complement: contrast without clashing.
Text on pink
White text
Black text
For readable text, WCAG asks for a contrast ratio of at least 4.5:1 (3:1 for large text). Black text is the better choice on pink. Test other combinations with the contrast checker.
Using pink in CSS
.element {
color: #FFC0CB;
background-color: rgb(255 192 203);
border-color: hsl(350 100% 88%);
}
Frequently asked questions
What is the hex code for pink?
Pink is #FFC0CB. In RGB it's rgb(255, 192, 203), and in HSL it's hsl(350, 100%, 88%).
What colors go with pink?
Its complementary color is #C0FFF4, which gives strong contrast. For a softer look, use analogous colors #FFC0EB and #FFD4C0. Pink also pairs well with charcoal or black.
Is pink warm or cool?
Pink is a warm color.
Should I use white or black text on pink?
Use black text. Its contrast ratio on pink is 13.65:1, versus 1.53:1 for white.
Similar colors
- Salmon#FA8072rgb(250, 128, 114)
- Hot pink#FF69B4rgb(255, 105, 180)
- Red#FF0000rgb(255, 0, 0)
- Crimson#DC143Crgb(220, 20, 60)
- Coral#FF7F50rgb(255, 127, 80)
- Terracotta#E2725Brgb(226, 114, 91)
See all popular colors · All HTML color names · Open pink in the color picker