Ghost white #F8F8FF
Ghost white is one of the named colours in CSS, written ghostwhite. Black text reaches 19.86:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | ghostwhite |
|---|---|
| HEX | #F8F8FF |
| RGB | rgb(248 248 255) |
| HSL | hsl(240 100% 99%) |
| OKLCH | oklch(98.1% 0.009 286.2) |
| White text | 1.06:1 · body text AA Fail |
| Black text | 19.86:1 · body text AA Pass |
Colours that go with Ghost white
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is White (#FFFFFF), close. These are the colours Wada paired it with, ranked by their contrast with Ghost white itself.
| Colour | HEX | Contrast with Ghost white | Body text AA |
|---|---|---|---|
| Old Rose | #D46D7A | 3.17:1 | Fail |
Palettes with White
Shades and tints of Ghost white
Nine lightness steps in OKLCH that keep the hue of Ghost white. Chroma is reduced only where sRGB cannot show it.
- 100#F4F4FB
- 200#E4E4EB
- 300#CDCDD4
- 400#B0B0B7
- 500#919198
- 600#717177
- 700#55555A
- 800#3A3A3F
- 900#212126
:root {
--ghostwhite-100: #F4F4FB;
--ghostwhite-200: #E4E4EB;
--ghostwhite-300: #CDCDD4;
--ghostwhite-400: #B0B0B7;
--ghostwhite-500: #919198;
--ghostwhite-600: #717177;
--ghostwhite-700: #55555A;
--ghostwhite-800: #3A3A3F;
--ghostwhite-900: #212126;
}
Text that keeps Ghost white on screen
Text #212126 on #F8F8FF reaches 15.16:1, which passes WCAG AA for body text. Check it on a dashboard