#AF256A Color

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

Color preview

#AF256A

Color formats

HEX
#AF256A
RGB
rgb(175, 37, 106)
RGBA
rgba(175, 37, 106, 1)
HSL
hsl(330, 65%, 42%)
HSV
hsv(330, 79%, 69%)
CMYK
cmyk(0%, 79%, 39%, 31%)
CSS variable
--color-primary: #AF256A;
Lowercase HEX
#af256a

Shades

Tints

Tones

Harmony

CSS snippets for #AF256A

.color-af256a {
  color: #AF256A;
  background-color: #AF256A;
}

Frequently asked questions

What color is #AF256A?+

#AF256A is a HEX color with RGB value rgb(175, 37, 106) and HSL value hsl(330, 65%, 42%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #AF256A?+

The closest Tailwind color is pink-700, available as the bg-pink-700 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