#A40C8C
Color Details
HEX
#A40C8C
RGB
rgb(164, 12, 140)
HSL
hsl(309, 86%, 35%)
CMYK
cmyk(0%, 93%, 15%, 36%)
Best text on this color
#FFFFFF (CR 6.98:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #A40C8C
#A40C8C converts to RGB(164, 12, 140) and HSL(309, 86%, 35%). 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).
#A40C8C FAQs
What is the RGB value of #A40C8C?
RGB: 164, 12, 140. Copy as CSS:
rgb(164, 12, 140)
Is #A40C8C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #A40C8C?
Complement: #0ca624.
Does #A40C8C have good contrast on white or black?
On white: 6.98:1 (AA (normal text)).
On black: 3.01:1 (AA (large text)).