Swatchproof

Pink #FFC0CB

Pink is one of the named colours in CSS, written pink. Black text reaches 13.65:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordpink
HEX#FFC0CB
RGBrgb(255 192 203)
HSLhsl(350 100% 88%)
OKLCHoklch(86.8% 0.074 7.1)
White text1.54:1 · body text AA Fail
Black text13.65:1 · body text AA Pass

Colours that go with Pink

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Hermosa Pink (#F9C1CE), nearly identical. These are the colours Wada paired it with, ranked by their contrast with Pink itself.

ColourHEXContrast with PinkBody text AA
Pansy Purple#7D133A6.74:1Pass
Sudan Brown#A367522.96:1Fail
Cerulian Blue#0093A52.39:1Fail
Neutral Gray#B6BFC11.22:1Fail
Calamine BLue#78CDD01.19:1Fail
Light Glaucous Blue#A5C8D11.16:1Fail
Seashell Pink#FDD4BD1.12:1Fail

Palettes with Hermosa Pink

Shades and tints of Pink

Nine lightness steps in OKLCH that keep the hue of Pink. Chroma is reduced only where sRGB cannot show it.

:root {
  --pink-100: #FFF1F3;
  --pink-200: #FFDAE0;
  --pink-300: #F9BAC5;
  --pink-400: #DB9EA9;
  --pink-500: #BA7F8A;
  --pink-600: #975F6A;
  --pink-700: #78434E;
  --pink-800: #5A2834;
  --pink-900: #3D0E1B;
}

Text that keeps Pink on screen

Text #3D0E1B on #FFC0CB reaches 10.69:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours