Skip to content

Pink

Pink is a pastel color. Hex code #FFC0CB.

Pink#FFC0CB

Pink color codes

  • CSS namepink
  • HEX#FFC0CB
  • RGBrgb(255, 192, 203)
  • HSLhsl(350, 100%, 88%)
  • OKLCHoklch(86.8% 0.074 7.1)
HSB and CMYK values
  • HSB / HSVhsb(350, 25%, 100%)
  • CMYKC0 M25 Y20 K0

White text

1.53:1 · fails WCAG

Black text

13.65:1 · passes WCAG AAA

Shades of pink

A darker shade of pink is #C58A94 (300).

Colors that go with pink

Complementary

Analogous

Triadic

The complementary color of pink is #C0FFF4, close to light cyan.

Click a color to copy its hex code.

Colors similar to pink

Each compared with pink.

About this color

Pink in CSS and design

Pink is one of the extended color keywords, which mostly go back to the X11 color names of Unix systems. These four lines all give the same pink:

color: pink;
color: #FFC0CB;
color: rgb(255, 192, 203);
color: hsl(350, 100%, 88%);

What to know about pink

The color takes its name from the flower: pink first described the color of the flowers of pinks, the plants of the genus Dianthus. CSS pink (#FFC0CB) is pale and cool, and light pink (#FFB6C1) is actually darker than it, an inconsistency the CSS Color specification itself points out. For a stronger pink, use hot pink (#FF69B4) or deep pink (#FF1493).

Frequently asked questions

What is the hex code for pink?

#FFC0CB. In CSS you can also use the keyword pink, which works in every browser.

What is pink in RGB and HSL?

In RGB it is rgb(255, 192, 203) and in HSL hsl(350, 100%, 88%). In CMYK it is about C0 M25 Y20 K0, though printed colors vary with paper and ink.

Should I use black or white text on pink?

Black text works better: it has a contrast ratio of 13.65:1 and passes WCAG AAA. White text reaches 1.53:1.

What is the complementary color of pink?

#C0FFF4, close to light cyan. It sits opposite pink on the color wheel: the hue turned 180 degrees, with the same saturation and lightness.

Which colors go with pink?

For strong contrast, pair it with its complementary color #C0FFF4. For a calmer look, combine it with its analogous neighbors #FFC0EB and #FFD4C0. The palette generator builds more combinations.