#D172A7

#D172A7

Overview

#D172A7 is a warm, light color. In RGB it is 209, 114, 167, in HSL 326.5°, 50.8%, 63.3%, and in CMYK 0.0%, 45.5%, 20.1%, 18.0%. The nearest named color is hotpink 3.

On this page

Color Values

HEX

#D172A7

RGB

209, 114, 167

HSL

326.5, 50.8%, 63.3%

HSV

326.5, 45.5%, 82.0%

CMYK

0.0%, 45.5%, 20.1%, 18.0%

OKLCH

0.6746 0.1344 346.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: #D172A7;
color: #D172A7;
border-color: #D172A7;
Nearest Tailwind: Pink 400 #F472B6

Tailwind Shades

Contrast Checker

Text on white

3.15:1

AA Fail AAA Fail

Text on black

6.68:1

AA Pass AAA Fail

Compare With

Related Articles

Frequently Asked Questions

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

RGB(209, 114, 167) · HSL(326.5, 50.8%, 63.3%) · CMYK(0.0%, 45.5%, 20.1%, 18.0%)

Does #D172A7 meet WCAG contrast on white?

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

What text color is readable on #D172A7?

Use 000000 text on a #D172A7 background; contrast on black is 6.68:1.