#CA1252 Color Information

Hex color code: #CA1252

The hex color #CA1252 is a vivid magenta with RGB values of (202, 18, 82) and HSL of (339°, 84%, 43%). It is commonly used in modern UI design.

Try:
Color NameCrimson
HEX
#CA1252
RGB
202, 18, 82
HSL
339°, 84%, 43%
CMYK
0%, 91%, 59%, 21%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #CA1252; 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 #CA1252; background-color: #CA125215; }

Alert / Toast

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

Link / Accent

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

a { color: #CA1252; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

202, 18, 82

Red: 202 / Green: 18 / Blue: 82

HSL

339°, 84%, 43%

Hue: 339° / Saturation: 84% / Lightness: 43%

CMYK

0%, 91%, 59%, 21%

Cyan: 0% / Magenta: 91% / Yellow: 59% / Key: 21%

What color is #CA1252?

#CA1252 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CA1252 to RGB:

rgb(202, 18, 82)HEX to RGB Converter →

HEX to HSL

Convert #CA1252 to HSL:

hsl(339, 84%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #CA1252 to CMYK:

cmyk(0%, 91%, 59%, 21%)Color Converter →

Color Meaning and Usage

A dynamic magenta tone, #CA1252 has RGB (202, 18, 82) and HSL (339°, 84%, 43%). Known for evoking energy and excitement, this highly saturated hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CA1252 is #12CA89, creating high-contrast pairings. For softer combinations, try analogous colors like #CA12AE.

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

Contrast with #CA1252

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CA1252?

#CA1252 is a dynamic magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #CA1252?

#CA1252 in RGB is (202, 18, 82) - 202 red, 18 green, and 82 blue.

How to use #CA1252 in CSS?

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

What colors go well with #CA1252?

#12CA89 (complementary), #CA12AE (analogous), and #830B35 (lighter shade) work well with #CA1252.