#D040A8

#D040A8

Color Values

HEX

#D040A8

RGB

208, 64, 168

HSL

316.7, 60.5%, 53.3%

HSV

316.7, 69.2%, 81.6%

CMYK

0.0%, 69.2%, 19.2%, 18.4%

OKLCH

0.6115 0.2089 341.0

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: #D040A8;
color: #D040A8;
border-color: #D040A8;
Nearest Tailwind: Pink 500 #EC4899

Tailwind Shades

Contrast Checker

Text on white

4.22:1

AA Fail AAA Fail

Text on black

4.98:1

AA Pass AAA Fail

Compare With

Related Articles

Frequently Asked Questions

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

RGB(208, 64, 168) · HSL(316.7, 60.5%, 53.3%) · CMYK(0.0%, 69.2%, 19.2%, 18.4%)

Does #D040A8 meet WCAG contrast on white?

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

What text color is readable on #D040A8?

Use 000000 text on a #D040A8 background; contrast on black is 4.98:1.