Skip to content

Pink

Hex #FFC0CB, rgb(255 192 203). A pink CSS named color.

Open in palette generator

Pink color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Pink

Pink is a light moderately saturated pink with the hex code #FFC0CB. In RGB it is made of 255 red, 192 green and 203 blue; in HSL its hue is 350°, with 100% saturation and 88% lightness. Its perceptual lightness (OKLCH L) is 86.8%.

It is a CSS named color, so you can write "pink" anywhere CSS accepts a color. Against white it has a contrast ratio of 1.54:1 and against black 13.65:1, so black text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Pink mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Pink 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Pink

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Complementary

Analogous

Triadic

Split complementary

Tetradic

Square

Monochromatic

Contrast and readability

WCAG 2 contrast of Pink with white and black. The readable text color on Pink is black.

Pink textSmall text on white

On white1.54:1

  • AA fail
  • AA Large fail
  • AAA fail
  • UI 3:1 fail

APCA Lc 25

Pink textSmall text on black

On black13.65:1

  • AA pass
  • AA Large pass
  • AAA pass
  • UI 3:1 pass

APCA Lc -78

Black text on Pink (#000000)

Test any pair in the contrast checker.

Color blindness preview

How Pink appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#C9CACB
  • Deuteranopia#D8D5CA
  • Tritanopia#FFBCC4
  • Protanomaly#DAC8CB
  • Deuteranomaly#E1CFCA
  • Tritanomaly#FFBEC8
  • Achromatopsia#D0D0D0

Colors similar to Pink

The closest named colors by perceptual difference (OKLab).

Use Pink in CSS and Tailwind

CSS
.pink {
  color: pink; /* #FFC0CB */
  background-color: rgb(255 192 203);
  border-color: oklch(86.8% 0.074 7.1);
}
Tailwind CSS
/* Tailwind CSS v4: bg-pink-500, text-pink-700... */
@theme {
  --color-pink-50: #FFF8F9;
  --color-pink-100: #FFE2E6;
  --color-pink-200: #FFC0CB;
  --color-pink-300: #FF94AB;
  --color-pink-400: #F94E80;
  --color-pink-500: #EB0068;
  --color-pink-600: #CB0058;
  --color-pink-700: #A50047;
  --color-pink-800: #860038;
  --color-pink-900: #6F002D;
  --color-pink-950: #310010;
}

<!-- or the exact color, no config -->
<div class="bg-[#FFC0CB] text-[#000000]">…</div>