# Pink Color Code: #FFC0CB Hex, RGB & Palettes

The CSS pink reference is #FFC0CB, rgb(255, 192, 203), or hsl(349.52, 100%, 87.65%). Brand shades may differ. HEX and RGB encode the same sRGB reference; HSL is rounded to two decimals. These are screen values, not a CMYK print specification.

## Tints and shades

Illustrative mixes with white or black in encoded sRGB channels, not a perceptually uniform scale.

| Shade | HEX | RGB | HSL | Black text contrast | White text contrast |
| --- | --- | --- | --- | --- | --- |
| Tint 80% | #FFF2F5 | rgb(255, 242, 245) | hsl(346.15, 100%, 97.45%) | 19.27:1 | 1.09:1 |
| Tint 40% | #FFD9E0 | rgb(255, 217, 224) | hsl(348.95, 100%, 92.55%) | 16.25:1 | 1.29:1 |
| Reference | #FFC0CB | rgb(255, 192, 203) | hsl(349.52, 100%, 87.65%) | 13.65:1 | 1.54:1 |
| Shade 25% | #BF9098 | rgb(191, 144, 152) | hsl(349.79, 26.86%, 65.69%) | 7.66:1 | 2.74:1 |
| Shade 50% | #806066 | rgb(128, 96, 102) | hsl(348.75, 14.29%, 43.92%) | 3.78:1 | 5.55:1 |

## Text contrast

AA ordinary text requires at least 4.5:1; large text requires at least 3:1. Large text is at least 18pt, or 14pt bold. Use unrounded ratios for decisions. Color pairs alone cannot certify accessibility; review criteria, states, context, and exceptions.

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.

## How to use pink in product design

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.

1. Choose a foreground, surface, accent, or status role and name a semantic token after its purpose.
2. Test the actual pair, text size, interaction states, and themes.
3. Document the approved value and companion colors. Keep labels and non-color cues for states.

## CSS palette

Illustrative numeric tokens; connect tested pairs to semantic roles.

```css
:root {
  --pink-100: #FFF2F5;
  --pink-300: #FFD9E0;
  --pink-500: #FFC0CB;
  --pink-700: #BF9098;
  --pink-900: #806066;
}
```

## What is the HEX code for pink?

The CSS named color pink is #FFC0CB. Use a documented brand token when you mean another shade.

## Is pink accessible?

A color alone cannot pass or fail accessibility. Evaluate the pair, content size, interaction state, and meaning in the complete interface.

## Related colors

- [coral color codes](https://designproject.io/resources/colors/coral/)

- [magenta color codes](https://designproject.io/resources/colors/magenta/)

- [lavender color codes](https://designproject.io/resources/colors/lavender/)

## Sources and next steps

By The Design Project. UI examples and generated scales are illustrative.

- [MDN CSS named colors](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/named-color)
- [W3C contrast guidance](https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html)
- [UI color palette guide](https://designproject.io/resources/guides/create-ui-color-palette/)
- [Semantic color tokens](https://designproject.io/resources/guides/create-semantic-color-tokens/)
- [Color contrast checker](https://designproject.io/resources/guides/check-color-contrast/)
- [Design glossary](https://designproject.io/resources/glossary/)

Canonical: https://designproject.io/resources/colors/pink/

## Keep learning

- [How to create a UI color palette, step by step](https://designproject.io/resources/guides/create-ui-color-palette/)
- [Product design glossary: 44 terms explained](https://designproject.io/resources/glossary/)
- [How to create semantic color tokens for UI](https://designproject.io/resources/guides/create-semantic-color-tokens/)
