Skip to content

#d970ac

a balanced, vivid magenta / pink · warm · closest name: Hot Pink

RGB
217, 112, 172
HSL
326°, 58%, 65%
CMYK
0, 48, 21, 15
Luminance
0.2932

At a glance

Every number on this page in one read: what #d970ac is made of, how bright it looks, and which way it leans.

Hex
#d970ac
Hue
326°
magenta / pink
Saturation
58%
vivid
Lightness
65%
balanced
Brightness
85%
HSV value
Perceived
62%
weighted brightness
Luminance
0.2932
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
6.86:1
Closest name
Hot Pink
ΔE2000 6.2
Where it sits
Hue326° of 360°
Saturation58%
Lightness65%
Temperature
Warm ← → Cool36% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#d970ac
RGBrgb(217, 112, 172)
HSLhsl(326, 58%, 65%)
CMYKcmyk(0%, 48%, 21%, 15%)
LABlab(61.1 48.2 -13.3)
LCHlch(61.1 50.0 344.6)
OKLCHoklch(0.684 0.148 346.4)
Decimal14250156
Display P3color(display-p3 0.851 0.439 0.675)

Copy-ready code

/* CSS */
color: #d970ac;
background-color: #d970ac;
/* Tailwind (arbitrary) */
class="text-[#d970ac] bg-[#d970ac]"
/* SCSS */
$brand: #d970ac;
/* SwiftUI */
Color(red: 0.851, green: 0.439, blue: 0.675)
/* Android */
Color.parseColor("#d970ac")
/* Flutter */
Color(0xFFD970AC)
/* Python / OpenCV (BGR) */
(172, 112, 217)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #d970ac · 6.86:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.06:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.86:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #d970ac as text scores 3.06:1 on white and 6.86:1 on black.

Accessibility — WCAG contrast

Aa
#d970ac on white: 3.06:1
AA ✗ fail · AA-large · AAA
Aa
#d970ac on black: 6.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7988AE
deuteranopia · #959AA9
tritanopia · #E56E87

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d970ac is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF4F8
#F7E9F1
#EFCDE0
#E7A6CC
#d970ac
#D04E98
#C13385
#A12B6E
#812258
#5E1D42
#3B1229
Base = 400Lightest = 50 · #FBF4F8Darkest = 950 · #3B1229
:root {
  --brand-50: #FBF4F8;
  --brand-100: #F7E9F1;
  --brand-200: #EFCDE0;
  --brand-300: #E7A6CC;
  --brand-400: #d970ac;
  --brand-500: #D04E98;
  --brand-600: #C13385;
  --brand-700: #A12B6E;
  --brand-800: #812258;
  --brand-900: #5E1D42;
  --brand-950: #3B1229;
  --brand: #d970ac;
  --brand-ink: #000000;
}

Colors that work with #d970ac

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4F8
Tinted page background
Border#EDC0D9
Hairlines and dividers
Muted text#9B4B79
Captions on the surface
Accent#26A63D
Second voice, not a rival
Dark variant#651B45
Hover, pressed, headers
Light variant#FAEBF3
Selected rows, tints
Dark surface#24141D
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #d970ac

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#70D99D
Analogous left#D170D9
Analogous right#D97077
Split-complement 1#77D970
Split-complement 2#70D9D1
Triadic 1#ACD970
Triadic 2#70ACD9
Tetradic#D9D170

RGB percentages

Red85.1%
Green43.9%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta48.4%
Yellow20.7%
Key (black)14.9%

Color previews

#d970ac text on a black background

contrast 6.86:1

Card sample

#d970ac text on a white background

contrast 3.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #d970ac;
Background color
Panel with #d970ac background
background-color: #d970ac;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #d970ac;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(217, 112, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(217, 112, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d970ac;
background: linear-gradient(135deg, #d970ac, #D97A70);

Monochromatic scale

Palettes built from #d970ac

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#d970ac in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#d970ac, answered

What color is #d970ac?

#d970ac is a balanced vivid magenta / pink, closest to Hot Pink (ΔE2000 6.2). It sits at 326° on the hue wheel with 58% saturation and 65% lightness, which reads as warm.

What is the RGB value of #d970ac?

rgb(217, 112, 172) — 217 red, 112 green and 172 blue out of 255, or 85.1% / 43.9% / 67.5% by channel.

Is #d970ac a light or a dark color?

It is a mid-tone. Relative luminance is 0.2932 and perceived brightness is 62%, so black text on it reaches 6.86:1.

Should I use black or white text on #d970ac?

Black. It scores 6.86:1 against #d970ac, versus 3.06:1 for white — AA at any size.

What is the complementary color of #d970ac?

#70D99D sits directly opposite on the wheel. Softer options are the split-complements #77D970 and #70D9D1, which give the same contrast with far less vibration.

What colors go well with #d970ac?

For interface work: #FAF4F8 as the surface, #EDC0D9 for borders, #9B4B79 for secondary text, #26A63D as an accent and #651B45 for hover and pressed states. For a palette, the analogous pair #D170D9 and #D97077 stays calm, while #70D99D is the loudest partner.

What is #d970ac in CMYK for printing?

cmyk(0%, 48%, 21%, 15%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #d970ac warm or cool?

Warm — it scores 36 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D97085; nudged cooler, #DB6ED4.

Work with #d970ac in the Color Lab