Skip to content

#d043ac

a balanced, vivid magenta / pink · warm · closest name: Medium Violet Red

RGB
208, 67, 172
HSL
315°, 60%, 54%
CMYK
0, 68, 17, 18
Luminance
0.2040

At a glance

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

Hex
#d043ac
Hue
315°
magenta / pink
Saturation
60%
vivid
Lightness
54%
balanced
Brightness
82%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2040
WCAG relative
Temperature
Warm
42/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.08:1
Closest name
Medium Violet Red
ΔE2000 9
Where it sits
Hue315° of 360°
Saturation60%
Lightness54%
Temperature
Warm ← → Cool42% 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#d043ac
RGBrgb(208, 67, 172)
HSLhsl(315, 60%, 54%)
CMYKcmyk(0%, 68%, 17%, 18%)
LABlab(52.3 65.6 -26.8)
LCHlch(52.3 70.9 337.8)
OKLCHoklch(0.616 0.208 339.7)
Decimal13648812
Display P3color(display-p3 0.816 0.263 0.675)

Copy-ready code

/* CSS */
color: #d043ac;
background-color: #d043ac;
/* Tailwind (arbitrary) */
class="text-[#d043ac] bg-[#d043ac]"
/* SCSS */
$brand: #d043ac;
/* SwiftUI */
Color(red: 0.816, green: 0.263, blue: 0.675)
/* Android */
Color.parseColor("#d043ac")
/* Flutter */
Color(0xFFD043AC)
/* Python / OpenCV (BGR) */
(172, 67, 208)

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 #d043ac · 5.08:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.13:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.08:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #d043ac as text scores 4.13:1 on white and 5.08:1 on black.

Accessibility — WCAG contrast

Aa
#d043ac on white: 4.13:1
AA ✗ fail · AA-large · AAA
Aa
#d043ac on black: 5.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4B6EAF
deuteranopia · #7785A9
tritanopia · #DC4772

Color scale — 50 to 950

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

#FBF4F9
#F7E9F3
#EFCCE6
#E9A5D7
#DD78C4
#d043ac
#C4319E
#A32984
#83216A
#5F1B4E
#3B1131
Base = 500Lightest = 50 · #FBF4F9Darkest = 950 · #3B1131
:root {
  --brand-50: #FBF4F9;
  --brand-100: #F7E9F3;
  --brand-200: #EFCCE6;
  --brand-300: #E9A5D7;
  --brand-400: #DD78C4;
  --brand-500: #d043ac;
  --brand-600: #C4319E;
  --brand-700: #A32984;
  --brand-800: #83216A;
  --brand-900: #5F1B4E;
  --brand-950: #3B1131;
  --brand: #d043ac;
  --brand-ink: #000000;
}

Colors that work with #d043ac

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#FAF4F9
Tinted page background
Border#EDC0E1
Hairlines and dividers
Muted text#9B4B86
Captions on the surface
Accent#24A825
Second voice, not a rival
Dark variant#661A52
Hover, pressed, headers
Light variant#FAEBF6
Selected rows, tints
Dark surface#241420
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 #d043ac

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#43D067
Analogous left#AD43D0
Analogous right#D04365
Split-complement 1#65D043
Split-complement 2#43D0AD
Triadic 1#ACD043
Triadic 2#43ACD0
Tetradic#D0AD43

RGB percentages

Red81.6%
Green26.3%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta67.8%
Yellow17.3%
Key (black)18.4%

Color previews

#d043ac text on a black background

contrast 5.08:1

Card sample

#d043ac text on a white background

contrast 4.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d043ac

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.

#d043ac 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.

#d043ac, answered

What color is #d043ac?

#d043ac is a balanced vivid magenta / pink, closest to Medium Violet Red (ΔE2000 9). It sits at 315° on the hue wheel with 60% saturation and 54% lightness, which reads as warm.

What is the RGB value of #d043ac?

rgb(208, 67, 172) — 208 red, 67 green and 172 blue out of 255, or 81.6% / 26.3% / 67.5% by channel.

Is #d043ac a light or a dark color?

It is a mid-tone. Relative luminance is 0.2040 and perceived brightness is 54%, so black text on it reaches 5.08:1.

Should I use black or white text on #d043ac?

Black. It scores 5.08:1 against #d043ac, versus 4.13:1 for white — AA at any size.

What is the complementary color of #d043ac?

#43D067 sits directly opposite on the wheel. Softer options are the split-complements #65D043 and #43D0AD, which give the same contrast with far less vibration.

What colors go well with #d043ac?

For interface work: #FAF4F9 as the surface, #EDC0E1 for borders, #9B4B86 for secondary text, #24A825 as an accent and #661A52 for hover and pressed states. For a palette, the analogous pair #AD43D0 and #D04365 stays calm, while #43D067 is the loudest partner.

What is #d043ac in CMYK for printing?

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

Is #d043ac warm or cool?

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

Work with #d043ac in the Color Lab