ColorXprez

#20171E

Onyx · very dark neutral

About #20171E

#20171E is a very dark, near-neutral pink colour. Digitally that works out to 13% red, 9% green and 12% blue. In CMYK print terms it is 0% cyan, 28% magenta, 6% yellow and 87% black. Being nearly neutral, it pairs easily with warm and cool tones alike.

Visually it is very close to Onyx (ΔE 8.0), with Jet the next nearest named colour. Across the colour wheel sits #172019 (onyx), its complementary partner.

Because it is very dark, it is most useful for headings, body text, footers and dark-mode backgrounds. White text reads best on it at 17.46:1 (a WCAG AAA pass). Used as a text colour on white, it is readable too (17.46:1).

Colour codes

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

Closest named colours

Onyx
#111111 · ΔE 8.0
Jet
#2B2B2B · ΔE 10.9
Black
#000000 · ΔE 11.4

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

Text on #20171E

WCAG contrast for white and black text on this colour.

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

Colour-blindness preview

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

Normal vision
#20171E
Protanopia (no red cones)
#17191E
Deuteranopia (no green cones)
#191A1E
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 #20171E?

#20171E is a very dark, near-neutral pink colour. Digitally that works out to 13% red, 9% green and 12% blue. In CMYK print terms it is 0% cyan, 28% magenta, 6% yellow and 87% black. Being nearly neutral, it pairs easily with warm and cool tones alike.

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

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

›What colours go with #20171E?

Its complementary colour is #172019, and analogous partners are #1D1720 and #20171A.