Pink hex code
#FFC0CB
The hex code for pink is #FFC0CB, which is RGB 255, 192, 203. It is the pink keyword in CSS and the code nearly every color site agrees on. Hot pink, deep pink and the other named pinks have their own codes, listed below.
Click a value to copy it. Move the slider to try a lighter or darker version; the code samples further down follow it.
Runs in your browser. Nothing you type is uploaded.
Pink color codes
These are all the same pink, written for different tools. Web and app design use HEX, RGB and HSL, print uses CMYK, and CIE Lab and LCH describe the color the way the eye sees it. Click any code in the tool above to copy it.
| Format | Value |
|---|---|
| HEX | #FFC0CB |
| RGB | rgb(255, 192, 203) |
| HSL | hsl(350, 100%, 88%) |
| HSV | hsv(350, 25%, 100%) |
| CMYK | 0, 25, 20, 0 |
| CIE Lab | 83.6, 24.1, 3.3 |
| LCH | 83.6, 24.4, 7.8 |
| Decimal | 16,761,035 |
| Binary | 11111111 11000000 11001011 |
| CSS color name | pink |

To turn any other code into these values, paste it into the hex to RGB converter.
Which pink hex code should you use?
Different color sites give different codes for pink. These are the three you are most likely to run into, where each one comes from and how they differ.
pink, used by Wikipedia, HTMLColorCodes and EncycolorpediaA pale, slightly cool pink.lightpinkDarker than pink, despite the name.Pink is one of the few colors where almost everyone uses the same code, because #FFC0CB is built into CSS. The odd one out is the CSS name lightpink: it is a little darker and more saturated than pink, a quirk of the old X Window System color list that CSS copied.
Measured as CIE76 color distance from #FFC0CB, #FFB6C1 is 4.9 and #FF8DA1 is 24.8. A distance under about 2.3 is hard to see, so all of these are visibly different from the main code. Codes checked on November 5, 2026.
Shades of pink
The first six are CSS color names, so they work in any stylesheet. The rest are common names with the codes most sites use.
pinklightpinkhotpinkdeeppinkpalevioletredmediumvioletredLight pink and dark pink
Each step mixes pink with 10 percent more white (tints) or black (shades), so the hue stays the same. Click a step to copy it.
Colors that go with pink
Pink is pale and soft, so it needs something darker next to it for contrast. Deep blues, grays and greens all work, and gold gives it a warmer, dressier look.
Matches from the color wheel
These come from rotating the hue of #FFC0CB (350 degrees) around the color wheel while keeping its saturation and lightness. They fit together in theory, but check them in your design: a wheel match is a starting point, not a rule.
Pink color palettes
Three palettes built around pink, each with a light color for backgrounds and a dark one for text. Click a palette to copy all five codes.
What colors make pink?
On a screen
Pink is red with a lot of green and blue added. #FFC0CB keeps red at 255 and raises green to 192 and blue to 203. Blue sits a little higher than green, and that is what stops it from looking peach. Turn green and blue down together and you move toward hot pink and then red.
With paint
Mix red and white. Start with the white and add red a little at a time, because red is much stronger. A cool red such as crimson gives a rosy pink, while an orange-leaning red gives salmon or coral. A tiny bit of blue or purple cools it down.
Is text readable on pink?
WCAG asks for a contrast ratio of at least 4.5 to 1 for normal text and 3 to 1 for large text, which means 24px, or 19px bold. Black text on #FFC0CB is the readable choice.
| Pairing | Contrast | Normal text | Large text |
|---|---|---|---|
| White text on pink | 1.54:1 | Fails | Fails |
| Black text on pink | 13.65:1 | Passes | Passes |
How pink looks with color blindness
With protanopia or deuteranopia pink loses its hue and looks light gray, close to #C9CACB, so pink next to gray is hard to tell apart. These are approximate simulations using the Machado matrices for full color blindness. Color blindness affects about 1 in 12 men and 1 in 200 women, mostly the red-green types, so do not use pink as the only signal for something like an error or a selected state.
Pink in binary
A hex code is three bytes, one each for red, green and blue. Each pair of hex digits is one byte, and each byte is 8 bits. This is how #FFC0CB is stored:
| Channel | Hex | Decimal | Binary | Bits that are on |
|---|---|---|---|---|
| Red | FF | 255 | 11111111 | 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 |
| Green | C0 | 192 | 11000000 | 128 + 64 |
| Blue | CB | 203 | 11001011 | 128 + 64 + 8 + 2 + 1 |
Joined together that is 111111111100000011001011, a 24-bit number equal to 16,761,035 in decimal. The hex to binary converter does the same for any hex value.
Pink in CSS and code
Copy the version for your stack. The tool above updates these if you change the lightness.
/* CSS */
:root { --pink: #FFC0CB; }
.button { background: var(--pink); color: #1F1D1A; }
<!-- Tailwind -->
<button class="bg-[#FFC0CB] text-[#1F1D1A]">Button</button>
// SwiftUI
Color(red: 1.000, green: 0.753, blue: 0.796)
<!-- Android colors.xml -->
<color name="pink">#FFC0CB</color>
# Python
pink = (255, 192, 203)
Pink color meaning
Pink is linked with sweetness, care and romance, and it is the color of Valentine's Day cards and breast cancer awareness ribbons. The idea of pink as a color for girls is fairly recent. In the US it only settled into that role in the middle of the 20th century.
Where the name comes from
The color is named after the flower, not the other way round. Pinks are plants in the genus Dianthus, and the color name comes from their pale petals with frilled edges. Wikipedia says pink was first used as a color name in the late 17th century.
Frequently asked questions
What is the hex code for pink?
The pink hex code is #FFC0CB, RGB 255, 192, 203. It is the CSS named color pink.
What is the hex code for hot pink?
Hot pink is #FF69B4, RGB 255, 105, 180, and it is also a CSS color name, hotpink.
What is the hex code for light pink?
The CSS color lightpink is #FFB6C1. It is slightly darker than pink. For a paler pink, use a tint such as #FFD3DB from the tints row above, or pastel pink #FFD1DC.
What is the RGB code for pink?
RGB 255, 192, 203. In CSS you can write it as rgb(255 192 203) or rgb(255, 192, 203).
What colors make pink?
Red and white. With paint, add red to white a little at a time. On a screen, keep red at full strength and raise green and blue.
Is pink in the rainbow?
No. Pink is a pale tint of red, so it is not one of the spectral colors. A rainbow has no white light mixed into its colors.