CSS named color
Pink #FFC0CB
Pink is a pale red with the hex code #FFC0CB, which converts to rgb(255, 192, 203). Open #FFC0CB in the converter to tweak it.
Pink color values
| HEX | #FFC0CB |
|---|---|
| HEX (shorthand) | — |
| RGB | rgb(255, 192, 203) |
| RGBA | rgba(255, 192, 203, 1) |
| 8-digit HEX | #FFC0CBFF |
| HSL | hsl(350, 100%, 88%) |
| HSV / HSB | 350°, 25%, 100% |
| CMYK | 0%, 25%, 20%, 0% |
| RGB 0–1 | 1, 0.753, 0.796 |
| Decimal | 16761035 |
| CSS keyword | pink |
How #FFC0CB converts to RGB
Split the hex code into three pairs and read each pair as a base-16 number: FF → 255, C0 → 192, CB → 203. That gives rgb(255, 192, 203). The step-by-step guide explains the math.
Shades of Pink
Mixed toward black in 10% steps. Click a swatch to copy its hex.
Tints of Pink
Mixed toward white in 10% steps.
Color harmonies
Hue rotations of Pink on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.
Complementary
Analogous
Split-complementary
Triadic
Tetradic (square)
Contrast and accessibility
| Text | Background | Ratio | WCAG 2.x |
|---|---|---|---|
| White | Pink | 1.53:1 | Fail |
| Black | Pink | 13.65:1 | AAA |
Use black text on a pink background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.
Use Pink in CSS
.element {
color: pink; /* keyword */
background-color: #FFC0CB; /* hex */
border-color: rgb(255 192 203 / 50%); /* 50% transparent */
}
Need it semi-transparent? Append an alpha byte: #FFC0CB80 is Pink at 50% opacity. See RGBA & transparency.
Similar named colors
FAQ
What is the HEX code for Pink?
The CSS named color pink is #FFC0CB in hexadecimal. In CSS you can write color: pink; or color: #FFC0CB; — both produce the same pixel.
What is Pink in RGB?
Pink is rgb(255, 192, 203): red 255, green 192, blue 203 on the 0–255 scale. As normalized 0–1 floats that is (1, 0.753, 0.796).
Is white or black text more readable on Pink?
Black text is more readable. White on #FFC0CB has a contrast ratio of 1.53:1 (Fail), black on #FFC0CB has 13.65:1 (AAA). WCAG AA needs 4.5:1 for normal text.