ColorXprez

#20171C

Onyx · very dark neutral

About #20171C

#20171C is a near-neutral, very dark shade in the pink family. On screen it is built from 13% red, 9% green and 11% blue; for print, its CMYK mix is 0% cyan, 28% magenta, 12% yellow and 87% black. Being nearly neutral, it pairs easily with warm and cool tones alike.

Of the common colour names it is very close to Onyx (ΔE 7.1); Jet comes next. Its complementary colour, directly opposite on the colour wheel, is #17201B — a onyx tone that gives the strongest contrast in hue.

Designers tend to use very dark tones like #20171C for headings, body text, footers and dark-mode backgrounds. White text reads best on it at 17.49:1 (a WCAG AAA pass). Used as a text colour on white, it is readable too (17.49:1).

Colour codes

HEX
RGB
HSL
HSV / HSB
CMYK
CIELAB
Decimal
CSS
Red32
Green23
Blue28

Closest named colours

Onyx
#111111 · ΔE 7.1
Jet
#2B2B2B · ΔE 10.4
Black
#000000 · ΔE 10.8

ΔE measures visible difference: under 2 is barely noticeable, over 10 is clearly different.

Text on #20171C

WCAG contrast for white and black text on this colour.

White heading text
Body copy set on onyx #20171C.
17.49:1AAA
Black heading text
Body copy set on onyx #20171C.
1.20:1Fail

Colour-blindness preview

How #20171C appears to people with the three most common types of colour-vision deficiency.

Normal vision
#20171C
Protanopia (no red cones)
#17191C
Deuteranopia (no green cones)
#1A1A1C
Tritanopia (no blue cones)
#211719

Shades, tints & matching colours

Tints and shades

Complementary

Analogous

Triadic

Split complementary

Tetradic

Similar colours

Frequently asked questions

›What colour is #20171C?

#20171C is a near-neutral, very dark shade in the pink family. On screen it is built from 13% red, 9% green and 11% blue; for print, its CMYK mix is 0% cyan, 28% magenta, 12% yellow and 87% black. Being nearly neutral, it pairs easily with warm and cool tones alike.

›What text colour should I use on #20171C?

Use white text. White on #20171C has a contrast ratio of 17.49:1 (AAA).

›What colours go with #20171C?

Its complementary colour is #17201B, and analogous partners are #201720 and #201717.