Pastel colour names and codes
Nine pastels, each made from the colour your browser knows by that name, with HEX, RGB, HSL and OKLCH codes and the contrast of dark text on it.
Which are the nine?
-
Dark text 11.5:1
Pastel pink
- HEX
#ffc0cb- RGB
rgb(255, 192, 203)- HSL
hsl(350, 100%, 88%)- OKLCH
oklch(86.8% 0.074 7.1)
-
Dark text 13.46:1
Pastel peach
- HEX
#ffdab9- RGB
rgb(255, 218, 185)- HSL
hsl(28, 100%, 86%)- OKLCH
oklch(91.1% 0.06 63.7)
-
Dark text 16.94:1
Pastel yellow
- HEX
#ffffa6- RGB
rgb(255, 255, 166)- HSL
hsl(60, 100%, 83%)- OKLCH
oklch(98% 0.11 108.3)
-
Dark text 15.67:1
Pastel chartreuse
- HEX
#d2ffa6- RGB
rgb(210, 255, 166)- HSL
hsl(90, 100%, 83%)- OKLCH
oklch(94.8% 0.123 130.3)
-
Dark text 11.34:1
Pastel green
- HEX
#b2d9b2- RGB
rgb(178, 217, 178)- HSL
hsl(120, 34%, 77%)- OKLCH
oklch(84.7% 0.067 144.9)
-
Dark text 13.38:1
Pastel turquoise
- HEX
#9befe6- RGB
rgb(155, 239, 230)- HSL
hsl(174, 72%, 77%)- OKLCH
oklch(89.6% 0.083 187.3)
-
Dark text 11.64:1
Pastel teal
- HEX
#b2d9d9- RGB
rgb(178, 217, 217)- HSL
hsl(180, 34%, 77%)- OKLCH
oklch(85.7% 0.041 196.4)
-
Dark text 8.02:1
Pastel blue
- HEX
#a6a6ff- RGB
rgb(166, 166, 255)- HSL
hsl(240, 100%, 83%)- OKLCH
oklch(76% 0.127 283)
-
Dark text 9.53:1
Pastel purple
- HEX
#d9b2d9- RGB
rgb(217, 178, 217)- HSL
hsl(300, 34%, 77%)- OKLCH
oklch(81% 0.069 326.2)
What makes a colour pastel here?
Pastel colours are pale: high value and low or medium saturation in HSV terms. source With no official list of codes source, this site sets a test: value 85% or more, saturation 35% or less. Each named pastel is its CSS colour with the least white that passes source.
Which CSS colour names are pastels?
23 of the browser’s 148 names pass the test source. Whites and greys, under 10% saturation, are left out.
- mistyrose
#ffe4e1 - peachpuff
#ffdab9 - bisque
#ffe4c4 - antiquewhite
#faebd7 - navajowhite
#ffdead - blanchedalmond
#ffebcd - papayawhip
#ffefd5 - moccasin
#ffe4b5 - wheat
#f5deb3 - cornsilk
#fff8dc - lemonchiffon
#fffacd - palegoldenrod
#eee8aa - beige
#f5f5dc - lightgoldenrodyellow
#fafad2 - lightyellow
#ffffe0 - lightcyan
#e0ffff - paleturquoise
#afeeee - powderblue
#b0e0e6 - lightblue
#add8e6 - lightsteelblue
#b0c4de - plum
#dda0dd - pink
#ffc0cb - lightpink
#ffb6c1
Which names only just miss?
These sit within three points of a limit.
- linen
#faf0e6 - tan
#d2b48c - oldlace
#fdf5e6 - lavender
#e6e6fa - thistle
#d8bfd8