ColorXprez

#20171A

Onyx · very dark neutral

About #20171A

With the hex code #20171A, this is a very dark pink with a near-neutral character. Its RGB recipe is 13% red, 9% green and 10% blue, while a printer would mix 0% cyan, 28% magenta, 19% yellow and 87% black. Being nearly neutral, it pairs easily with warm and cool tones alike.

If you had to name it, it is very close to Onyx — a ΔE of 6.5 — followed by Jet. For maximum hue contrast, pair it with its complement #17201D, a jet shade.

In design, a very dark colour like this works best for headings, body text, footers and dark-mode backgrounds. White text reads best on it at 17.52:1 (a WCAG AAA pass). Used as a text colour on white, it is readable too (17.52:1).

Colour codes

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

Closest named colours

Onyx
#111111 · ΔE 6.5
Jet
#2B2B2B · ΔE 10.0
Black
#000000 · ΔE 10.3

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

Text on #20171A

WCAG contrast for white and black text on this colour.

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

Colour-blindness preview

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

Normal vision
#20171A
Protanopia (no red cones)
#18181A
Deuteranopia (no green cones)
#1A1A1A
Tritanopia (no blue cones)
#221718

Shades, tints & matching colours

Tints and shades

Complementary

Analogous

Triadic

Split complementary

Tetradic

Similar colours

Frequently asked questions

›What colour is #20171A?

With the hex code #20171A, this is a very dark pink with a near-neutral character. Its RGB recipe is 13% red, 9% green and 10% blue, while a printer would mix 0% cyan, 28% magenta, 19% yellow and 87% black. Being nearly neutral, it pairs easily with warm and cool tones alike.

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

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

›What colours go with #20171A?

Its complementary colour is #17201D, and analogous partners are #20171E and #201917.