#D842DB Color

Inspect #D842DB across formats, palettes, contrast and closest named color matches.

Color preview

#D842DB

Color formats

HEX
#D842DB
RGB
rgb(216, 66, 219)
RGBA
rgba(216, 66, 219, 1)
HSL
hsl(299, 68%, 56%)
HSV
hsv(299, 70%, 86%)
CMYK
cmyk(1%, 70%, 0%, 14%)
CSS variable
--color-primary: #D842DB;
Lowercase HEX
#d842db

Shades

Tints

Tones

Harmony

CSS snippets for #D842DB

.color-d842db {
  color: #D842DB;
  background-color: #D842DB;
}

Frequently asked questions

What color is #D842DB?+

#D842DB is a HEX color with RGB value rgb(216, 66, 219) and HSL value hsl(299, 68%, 56%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #D842DB?+

The closest Tailwind color is fuchsia-500, available as the bg-fuchsia-500 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools