ColorXprez

#271A22

Onyx · very dark warm pink

About #271A22

With the hex code #271A22, this is a very dark pink with a muted character. Its RGB recipe is 15% red, 10% green and 13% blue, while a printer would mix 0% cyan, 33% magenta, 13% yellow and 85% black. It reads as a warm colour.

If you had to name it, it is similar to Onyx — a ΔE of 10.6 — followed by Jet. For maximum hue contrast, pair it with its complement #1A271F, 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 16.70:1 (a WCAG AAA pass). Used as a text colour on white, it is readable too (16.70:1).

Colour codes

HEX
RGB
HSL
HSV / HSB
CMYK
CIELAB
Decimal
CSS
Red39
Green26
Blue34

Closest named colours

Onyx
#111111 · ΔE 10.6
Jet
#2B2B2B · ΔE 10.7
Black
#000000 · ΔE 14.1

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

Text on #271A22

WCAG contrast for white and black text on this colour.

White heading text
Body copy set on onyx #271A22.
16.70:1AAA
Black heading text
Body copy set on onyx #271A22.
1.26:1Fail

Colour-blindness preview

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

Normal vision
#271A22
Protanopia (no red cones)
#1B1D22
Deuteranopia (no green cones)
#1E1F22
Tritanopia (no blue cones)
#291A1D

Shades, tints & matching colours

Tints and shades

Complementary

Analogous

Triadic

Split complementary

Tetradic

Similar colours

Frequently asked questions

›What colour is #271A22?

With the hex code #271A22, this is a very dark pink with a muted character. Its RGB recipe is 15% red, 10% green and 13% blue, while a printer would mix 0% cyan, 33% magenta, 13% yellow and 85% black. It reads as a warm colour.

›What text colour should I use on #271A22?

Use white text. White on #271A22 has a contrast ratio of 16.70:1 (AAA).

›What colours go with #271A22?

Its complementary colour is #1A271F, and analogous partners are #261A27 and #271A1B.