#5A2A0C

Color Details

HEX
#5A2A0C
RGB
rgb(90, 42, 12)
HSL
hsl(23, 76%, 20%)
CMYK
cmyk(0%, 53%, 87%, 65%)
Best text on this color #FFFFFF (CR 11.86:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #5A2A0C swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #5A2A0C

#5A2A0C converts to RGB(90, 42, 12) and HSL(23, 76%, 20%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#5A2A0C FAQs

What is the RGB value of #5A2A0C?
RGB: 90, 42, 12. Copy as CSS: rgb(90, 42, 12)
Is #5A2A0C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #5A2A0C?
Complement: #0c3c5a.
Does #5A2A0C have good contrast on white or black?
On white: 11.86:1 (AAA (normal text)). On black: 1.77:1 (Fails AA).