#CB2AB8 Color Information

Hex color code: #CB2AB8

The hex color #CB2AB8 is a subtle magenta with RGB values of (203, 42, 184) and HSL of (307°, 66%, 48%). It is often used for branding and logos.

Try:
Color NameViolet Red
HEX
#CB2AB8
RGB
203, 42, 184
HSL
307°, 66%, 48%
CMYK
0%, 79%, 9%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CB2AB8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

203, 42, 184

Red: 203 / Green: 42 / Blue: 184

HSL

307°, 66%, 48%

Hue: 307° / Saturation: 66% / Lightness: 48%

CMYK

0%, 79%, 9%, 20%

Cyan: 0% / Magenta: 79% / Yellow: 9% / Key: 20%

What color is #CB2AB8?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CB2AB8 to RGB:

rgb(203, 42, 184)HEX to RGB Converter →

HEX to HSL

Convert #CB2AB8 to HSL:

hsl(307, 66%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #CB2AB8 to CMYK:

cmyk(0%, 79%, 9%, 20%)Color Converter →

Color Meaning and Usage

#CB2AB8 is a understated magenta color with RGB values of 203, 42, 184 and HSL of 307°, 66%, 48%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CB2AB8 is #2ACB3C, creating high-contrast pairings. For softer combinations, try analogous colors like #8D2ACB.

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

Contrast with #CB2AB8

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

Contrast Ratio: 4.56:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CB2AB8?

#CB2AB8 is a understated magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CB2AB8?

#CB2AB8 in RGB is (203, 42, 184) - 203 red, 42 green, and 184 blue.

How to use #CB2AB8 in CSS?

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

What colors go well with #CB2AB8?

#2ACB3C (complementary), #8D2ACB (analogous), and #8C1D7F (lighter shade) work well with #CB2AB8.