#D940B2

#D940B2

Overview

#D940B2 is a warm, light color. In RGB it is 217, 64, 178, in HSL 315.3°, 66.8%, 55.1%, and in CMYK 0.0%, 70.5%, 18.0%, 14.9%. The nearest named color is maroon 2.

On this page

Color Values

HEX

#D940B2

RGB

217, 64, 178

HSL

315.3, 66.8%, 55.1%

HSV

315.3, 70.5%, 85.1%

CMYK

0.0%, 70.5%, 18.0%, 14.9%

OKLCH

0.6295 0.2211 339.9

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

Tailwind Shades

Contrast Checker

Text on white

3.94:1

AA Fail AAA Fail

Text on black

5.33:1

AA Pass AAA Fail

Compare With

Related Articles

Frequently Asked Questions

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

RGB(217, 64, 178) · HSL(315.3, 66.8%, 55.1%) · CMYK(0.0%, 70.5%, 18.0%, 14.9%)

Does #D940B2 meet WCAG contrast on white?

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

What text color is readable on #D940B2?

Use 000000 text on a #D940B2 background; contrast on black is 5.33:1.