#CF17A1 Color Information

Hex color code: #CF17A1

The hex color #CF17A1 is a striking magenta with RGB values of (207, 23, 161) and HSL of (315°, 80%, 45%). It is popular in mobile app design.

Try:
Color NameViolet Red
HEX
#CF17A1
RGB
207, 23, 161
HSL
315°, 80%, 45%
CMYK
0%, 89%, 22%, 19%

Shades

CSS Usage
color: #CF17A1;
background-color: #CF17A1;
border-color: #CF17A1;
box-shadow: 0 0 10px #CF17A1;
border: 2px solid #CF17A1;
Tailwind Usage
bg-[#CF17A1]
text-[#CF17A1]
border-[#CF17A1]
shadow-[0_0_10px_CF17A1]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #CF17A1, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #CF17A1; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #CF17A1; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #CF17A1; background-color: #CF17A115; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #CF17A120; border-left: 4px solid #CF17A1; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #CF17A1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #CF17A1 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

207, 23, 161

Red: 207 / Green: 23 / Blue: 161

HSL

315°, 80%, 45%

Hue: 315° / Saturation: 80% / Lightness: 45%

CMYK

0%, 89%, 22%, 19%

Cyan: 0% / Magenta: 89% / Yellow: 22% / Key: 19%

What color is #CF17A1?

#CF17A1 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CF17A1 to RGB:

rgb(207, 23, 161)HEX to RGB Converter →

HEX to HSL

Convert #CF17A1 to HSL:

hsl(315, 80%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #CF17A1 to CMYK:

cmyk(0%, 89%, 22%, 19%)Color Converter →

Color Meaning and Usage

#CF17A1 is a dynamic magenta color with RGB values of 207, 23, 161 and HSL of 315°, 80%, 45%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CF17A1 is #17CF45, creating high-contrast pairings. For softer combinations, try analogous colors like #A117CF.

Use #CF17A1 in CSS: color: #CF17A1 or background-color: #CF17A1. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #CF17A1

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 4.29:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CF17A1?

#CF17A1 is a dynamic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CF17A1?

#CF17A1 in RGB is (207, 23, 161) - 207 red, 23 green, and 161 blue.

How to use #CF17A1 in CSS?

Use #CF17A1 directly in your CSS properties like color or background-color.

What colors go well with #CF17A1?

#17CF45 (complementary), #A117CF (analogous), and #8A0F6B (lighter shade) work well with #CF17A1.