#5A0C1C

Color Details

HEX
#5A0C1C
RGB
rgb(90, 12, 28)
HSL
hsl(348, 76%, 20%)
CMYK
cmyk(0%, 87%, 69%, 65%)
Best text on this color #FFFFFF (CR 13.96:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #5A0C1C swatch

Embed this swatch

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

Open image

About #5A0C1C

#5A0C1C converts to RGB(90, 12, 28) and HSL(348, 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).

#5A0C1C FAQs

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