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 keyword | pink |
|---|---|
| HEX | #FFC0CB |
| RGB | rgb(255 192 203) |
| HSL | hsl(350 100% 88%) |
| OKLCH | oklch(86.8% 0.074 7.1) |
| White text | 1.54:1 · body text AA Fail |
| Black text | 13.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.
| Colour | HEX | Contrast with Pink | Body text AA |
|---|---|---|---|
| Pansy Purple | #7D133A | 6.74:1 | Pass |
| Sudan Brown | #A36752 | 2.96:1 | Fail |
| Cerulian Blue | #0093A5 | 2.39:1 | Fail |
| Neutral Gray | #B6BFC1 | 1.22:1 | Fail |
| Calamine BLue | #78CDD0 | 1.19:1 | Fail |
| Light Glaucous Blue | #A5C8D1 | 1.16:1 | Fail |
| Seashell Pink | #FDD4BD | 1.12:1 | Fail |
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.
- 100#FFF1F3
- 200#FFDAE0
- 300#F9BAC5
- 400#DB9EA9
- 500#BA7F8A
- 600#975F6A
- 700#78434E
- 800#5A2834
- 900#3D0E1B
: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