Skip to content

Pink Color

CSS pink #FFC0CB — a soft, pale pink.

HEX
#FFC0CB
RGB
rgb(255, 192, 203)
HSL
hsl(350, 100%, 87.6%)
HSV
hsv(350, 24.7%, 100%)
CMYKapproximation
cmyk(0%, 25%, 20%, 0%)
CSS name
pink

Open pink in the color picker to adjust it or copy other formats.

About pink

#FFC0CB is the CSS named color pink: a light tint of red with a slight blue lean. It is pastel rather than vivid — what many people picture as “baby pink”.

For a stronger pink, CSS has hotpink (#FF69B4) and deeppink (#FF1493). Pink is a light version of red, so its hue sits just below 360°, on the red side of the wheel.

#FFC0CB is the value of the CSS named color pink, defined in the CSS Color specification and identical in every browser.

Other colors called pink

  • Hot pink (CSS) #FF69B4A brighter, more saturated pink.
  • Deep pink (CSS) #FF1493A vivid magenta-leaning pink.

Pink shades and tints

Shades mix pink with black, tints mix it with white — useful for hover states, borders and backgrounds. Click a swatch to copy its HEX code.

Colors that go with pink

Color harmonies based on the hue of #FFC0CB: its complement on the opposite side of the color wheel, its analogous neighbours and its triadic partners.

Pink contrast and readability

On a pink background, black text reads best (13.65:1). Here is how pink works as a text color:

#FFC0CB on white

1.53:1

Normal text sample

Large text

  • AA normal text (4.5:1)Fail
  • AA large text (3:1)Fail
  • AAA normal text (7:1)Fail
  • AAA large text (4.5:1)Fail

#FFC0CB on black

13.65:1

Normal text sample

Large text

  • AA normal text (4.5:1)Pass
  • AA large text (3:1)Pass
  • AAA normal text (7:1)Pass
  • AAA large text (4.5:1)Pass

Pale pink works best as a background, badge or card color with dark text. It is too light for text on white; use deeppink or a darker rose if you need pink text.

Using pink in CSS and HTML

CSS custom property
:root {
  --color-pink: #FFC0CB;
}

.highlight {
  background-color: var(--color-pink);
}
Background and text color
.banner {
  background-color: pink;
  color: #000000;
}

.label {
  color: #FFC0CB;
  border: 2px solid rgb(255, 192, 203);
}
Inline style in HTML
<p style="background-color: #FFC0CB; color: #000000;">
  Pink background
</p>

Pink color FAQ

What is the HEX code for pink?
Pink is #FFC0CB in HEX and rgb(255, 192, 203) in RGB. It is also the CSS named color pink, so color: pink and color: #ffc0cb give exactly the same result.
What is pink in CMYK?
Approximately 0%, 25%, 20%, 0% (cyan, magenta, yellow, black). This is the standard profile-free conversion of #FFC0CB; for professional print, check the value against your printer's color profile.
What colors go with pink?
Its complementary color is #C0FFF4, and #FFC0EB and #FFD4C0 sit next to it on the color wheel as analogous colors. White, black and gray always work as neutral partners; the matching colors above show more combinations.
Should I use black or white text on pink?
Black text: it has a contrast ratio of 13.65:1 on #FFC0CB, which meets WCAG AAA for normal text.