#BA31A6

#BA31A6

Color Values

HEX

#BA31A6

RGB

186, 49, 166

HSL

308.8, 58.3%, 46.1%

HSV

308.8, 73.7%, 72.9%

CMYK

0.0%, 73.7%, 10.8%, 27.1%

OKLCH

0.5639 0.2115 334.7

Properties

Color Psychology

Magenta is a stimulating, attention-commanding color that bridges passion and imagination. It represents transformation, artistic vision, and unconventional thinking. Magenta disrupts expectations and is associated with innovation and bold self-expression.

Design Usage

Medium magentas are powerful for brands that want to project creativity and boldness. They create eye-catching gradients when blended with purple or orange tones. Use sparingly as accent colors for maximum impact in otherwise restrained designs.

Color Harmonies

Color Blindness Simulation

CSS Usage

background-color: #BA31A6;
color: #BA31A6;
border-color: #BA31A6;
Nearest Tailwind: Fuchsia 700 #A21CAF

Tailwind Shades

Contrast Checker

Text on white

5.15:1

AA Pass AAA Fail

Text on black

4.08:1

AA Fail AAA Fail

Compare With

Related Articles

Frequently Asked Questions

What are the RGB, HSL, and CMYK values of #BA31A6?

RGB(186, 49, 166) · HSL(308.8, 58.3%, 46.1%) · CMYK(0.0%, 73.7%, 10.8%, 27.1%)

Does #BA31A6 meet WCAG contrast on white?

5.15:1 — WCAG AA Pass, AAA Fail for normal text.

What text color is readable on #BA31A6?

Use FFFFFF text on a #BA31A6 background; contrast on black is 4.08:1.