100% free no uploads no sign-up

pink color code

The hex code for pink is #FFC0CB, which is rgb(255, 192, 203) in RGB and cmyk(0%, 25%, 20%, 0%) in CMYK. It's a very light, vivid pink. It is a built-in CSS colour, so you can also write it as “pink”.

#FFC0CBpink
White text: 1.53:1 ✗Black text: 13.65:1 ✓ AANearest name: pink

Move the sliders to find a lighter, darker or softer pink; the codes update as you go.

Pink colour codes

HEX#FFC0CB
RGBrgb(255, 192, 203)
HSLhsl(350, 100%, 88%)
HSV / HSBhsv(350, 25%, 100%)
CMYKcmyk(0%, 25%, 20%, 0%)
Decimal16761035
CSS keywordpink

About pink

Pink sits at a hue of 350° on the colour wheel, with 100% saturation and 88% lightness. That makes it a warm colour: warm colours feel energetic and inviting and appear to come forward on a page.

For text, black reads better on pink. Pink as text on a white background has a contrast ratio of 1.53:1, which fails the WCAG AA rule for body text (4.5:1) and fails the 3:1 rule for large text. On black it is 13.65:1, which passes AA for body text.

Tints and shades of pink

Tints mix pink with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.

#FFF9FA#FFF2F5#FFECEF#FFE6EA#FFE0E5#FFD9E0#FFD3DB#FFCDD5#FFC6D0
pink #FFC0CB
#E6ADB7#CC9AA2#B3868E#99737A#806066#664D51#4D3A3D#332629#1A1314

Colours that go with pink

Complementary — opposite on the colour wheel: maximum contrast

#FFC0CB#C0FFF4

Analogous — neighbours 30° either side: calm and natural

#FFC0EB#FFC0CB#FFD4C0

Triadic — three hues 120° apart: lively but balanced

#FFC0CB#CBFFC0#C0CBFF

Split complementary — the two neighbours of the complement: contrast with less tension

#FFC0CB#C0FFD4#C0EBFF

Tetradic — four hues 90° apart: rich, use one as the main colour

#FFC0CB#EBFFC0#C0FFF4#D4C0FF

Pink text contrast

CombinationRatioAA normal (4.5:1)AA large (3:1)AAA (7:1)
pink on white1.53:1failfailfail
pink on black13.65:1passpasspass

Check pink against any other colour in the contrast checker.

How pink looks with colour blindness

Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.

normal #FFC0CBprotanopia #C9CACBdeuteranopia #D8D5CAtritanopia #FFBCC4

Use pink in code

.pink {
  color: pink;
  background-color: #ffc0cb;
  border-color: rgb(255, 192, 203);
}

Frequently asked questions

What is the hex code for pink?

Pink is #FFC0CB (lowercase #ffc0cb). It's the official value of the CSS keyword “pink”.

What is pink in RGB, HSL and CMYK?

RGB: rgb(255, 192, 203). HSL: hsl(350, 100%, 88%). CMYK: cmyk(0%, 25%, 20%, 0%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.

What colours go with pink?

Its complementary colour is #C0FFF4 (close to pale turquoise), which gives the strongest contrast. For a calmer look, use the analogous colours #FFC0EB and #FFD4C0, or the triadic pair #CBFFC0 and #C0CBFF. Tints and shades of pink itself always work together.

Is pink a warm or cool colour?

Pink has a hue of 350°, which makes it warm.

Should I use black or white text on pink?

Black. Black text on pink has a contrast ratio of 13.65:1 and white text has 1.53:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

How do I use pink in CSS?

Write color: pink; or color: #ffc0cb; — both give the same colour. Named colours work in every browser.

Colours similar to pink