#D2048C

Color Details

HEX
#D2048C
RGB
rgb(210, 4, 140)
HSL
hsl(320, 96%, 42%)
CMYK
cmyk(0%, 98%, 33%, 18%)
Best text on this color #FFFFFF (CR 5.08:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #D2048C swatch

Embed this swatch

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

Open image

About #D2048C

#D2048C converts to RGB(210, 4, 140) and HSL(320, 96%, 42%). 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).

#D2048C FAQs

What is the RGB value of #D2048C?
RGB: 210, 4, 140. Copy as CSS: rgb(210, 4, 140)
Is #D2048C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #D2048C?
Complement: #04d249.
Does #D2048C have good contrast on white or black?
On white: 5.08:1 (AA (normal text)). On black: 4.14:1 (AA (large text)).