THE COLOR LIBRARY / Warm
Pink color codes.
The CSS pink color code is #FFC0CB. Its RGB value is rgb(255, 192, 203) and its HSL value is hsl(349.52, 100%, 87.65%). Start with the exact reference, then choose a shade for the job.
A color name describes a family in everyday language. This page uses the standardized CSS keyword as its reference; your brand’s pink may be different.
Explore the shades ↓COPY. PASTE. MAKE IT YOURS.
Pink in HEX, RGB, and HSL
#FFC0CBrgb(255, 192, 203)hsl(349.52, 100%, 87.65%)HEX and RGB encode the same sRGB reference. HSL is calculated from it and rounded to two decimals for display. These are screen color values, not a CMYK print specification.
ONE COLOR. DIFFERENT ROLES.
Explore pink tints and shades
Select a swatch to see its codes and compare text contrast.
Make the next step clear.
A label, a surface, and room to breathe.
Selected: ReferenceSelected color
Reference · #FFC0CB
rgb(255, 192, 203)hsl(349.52, 100%, 87.65%)The specimen picks whichever of black or white has higher contrast. It demonstrates a pair, not a complete accessible component.
Illustrative scale: tints mix the reference with white, shades with black, by the stated percentage in encoded sRGB channels. This is not a perceptually uniform scale. Black tints and white shades remain useful; mixing black with black or white with white repeats the reference.
Text contrast on pink
The table follows your selected swatch, currently #FFC0CB. Decisions use the full calculated ratio; displayed ratios are rounded.
| Text color | Ratio | AA ordinary text | AA large text |
|---|---|---|---|
| Black #000000 | 13.65:1 | Pass · 4.5:1 | Pass · 3:1 |
| White #FFFFFF | 1.54:1 | Fail · 4.5:1 | Fail · 3:1 |
Large text is at least 18pt, or 14pt bold. These numeric checks apply to opaque, solid color pairs. Other criteria, states, backgrounds, and exceptions need review. Read W3C’s contrast guidance.
CSS pink is light. White text usually disappears into a pale pink surface; choose a dark label and inspect any boundary against neighboring white cards.
Check a custom color pair ↗IN A REAL INTERFACE
How to use pink in product design
Give it one clear role
Pink can create a soft category surface or an editorial accent within a product. It should not carry an assumed audience meaning; test the treatment against the brand and the task.
A UI example to try
A feedback board can use a pink tag for one research category. Pair it with a dark category label and keep the same category name in filters and exports.
Work through a real screen
Use pink in an illustrative onboarding panel or a clearly labeled category, then compare it with operational feedback nearby. If the product also uses red for errors, make sure pink decoration does not resemble an error surface. Review the full composition with real text and actions.
Compare nearby colors by purpose
Compare pink with coral for a warmer accent and magenta for stronger emphasis. Avoid relying on broad emotional or gender associations as a product requirement. The audience, content, and surrounding design determine whether the treatment fits.
- Choose the role. Decide whether pink is a surface, foreground, accent, or status. Name the semantic token after that purpose.
- Test the actual pair. Compare its foreground and background at the intended size. Test hover, selected, focus, and supported themes independently.
- Document the decision. Keep the approved code, usage rule, and contrasting companion together. Preserve labels and non-color cues when communicating a state.
Copy a pink CSS palette
These numeric names are illustrative palette tokens, not a standard scale. Connect approved values to semantic tokens such as --surface-highlight or --text-primary after testing their pairs.
:root {
--pink-100: #FFF2F5;
--pink-300: #FFD9E0;
--pink-500: #FFC0CB;
--pink-700: #BF9098;
--pink-900: #806066;
}Common questions about pink
What is the HEX code for pink?
The CSS named color pink is #FFC0CB. Use that exact value when you want the standardized reference; use your own documented token when you mean a particular brand shade.
Is pink accessible?
A color by itself cannot pass or fail accessibility. The foreground/background pair, content size, interaction state, and meaning all matter. Use the table above for the selected solid-color pair, then review the complete interface.