Skip to content

#d009af

a dark, electric magenta / pink · neutral · closest name: Medium Violet Red

RGB
208, 9, 175
HSL
310°, 92%, 43%
CMYK
0, 96, 16, 18
Luminance
0.1670

At a glance

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

Hex
#d009af
Hue
310°
magenta / pink
Saturation
92%
electric
Lightness
43%
dark
Brightness
82%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1670
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.84:1
Closest name
Medium Violet Red
ΔE2000 7.5
Where it sits
Hue310° of 360°
Saturation92%
Lightness43%
Temperature
Warm ← → Cool45% cool

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

Every format

HEX#d009af
RGBrgb(208, 9, 175)
HSLhsl(310, 92%, 43%)
CMYKcmyk(0%, 96%, 16%, 18%)
LABlab(47.9 79.0 -35.4)
LCHlch(47.9 86.6 335.9)
OKLCHoklch(0.585 0.254 337.6)
Decimal13633967
Display P3color(display-p3 0.816 0.035 0.686)

Copy-ready code

/* CSS */
color: #d009af;
background-color: #d009af;
/* Tailwind (arbitrary) */
class="text-[#d009af] bg-[#d009af]"
/* SCSS */
$brand: #d009af;
/* SwiftUI */
Color(red: 0.816, green: 0.035, blue: 0.686)
/* Android */
Color.parseColor("#d009af")
/* Flutter */
Color(0xFFD009AF)
/* Python / OpenCV (BGR) */
(175, 9, 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#ffffff on #d009af · 4.84:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.84:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.34:1
AA fail · AA large pass · AAA fail
Reading the other direction: #d009af as text scores 4.84:1 on white and 4.34:1 on black.

Accessibility — WCAG contrast

Aa
#d009af on white: 4.84:1
AA ✓ pass · AA-large · AAA
Aa
#d009af on black: 4.34:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1B60B3
deuteranopia · #677BAB
tritanopia · #DC2267

Color scale — 50 to 950

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

#FDF2FB
#FBE4F7
#F9C3F0
#FA93E9
#F85EDF
#F628D4
#EB0AC6
#d009af
#9C0784
#710A60
#47063C
Base = 700Lightest = 50 · #FDF2FBDarkest = 950 · #47063C
:root {
  --brand-50: #FDF2FB;
  --brand-100: #FBE4F7;
  --brand-200: #F9C3F0;
  --brand-300: #FA93E9;
  --brand-400: #F85EDF;
  --brand-500: #F628D4;
  --brand-600: #EB0AC6;
  --brand-700: #d009af;
  --brand-800: #9C0784;
  --brand-900: #710A60;
  --brand-950: #47063C;
  --brand: #d009af;
  --brand-ink: #ffffff;
}

Colors that work with #d009af

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

Text on it#ffffff
White wins here
Surface#FAF4F9
Tinted page background
Border#EDC0E5
Hairlines and dividers
Muted text#9B4B8E
Captions on the surface
Accent#15C705
Second voice, not a rival
Dark variant#7A0567
Hover, pressed, headers
Light variant#FEE7FA
Selected rows, tints
Dark surface#241422
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 #d009af

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#09D02A
Analogous left#8D09D0
Analogous right#D0094C
Split-complement 1#4CD009
Split-complement 2#09D08D
Triadic 1#AFD009
Triadic 2#09AFD0
Tetradic#D08D09

RGB percentages

Red81.6%
Green3.5%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta95.7%
Yellow15.9%
Key (black)18.4%

Color previews

#d009af text on a black background

contrast 4.34:1

Card sample

#d009af text on a white background

contrast 4.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d009af

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.

#d009af 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#d009af, answered

What color is #d009af?

#d009af is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 7.5). It sits at 310° on the hue wheel with 92% saturation and 43% lightness, which reads as neutral.

What is the RGB value of #d009af?

rgb(208, 9, 175) — 208 red, 9 green and 175 blue out of 255, or 81.6% / 3.5% / 68.6% by channel.

Is #d009af a light or a dark color?

It is a dark color. Relative luminance is 0.1670 and perceived brightness is 50%, so white text on it reaches 4.84:1.

Should I use black or white text on #d009af?

White. It scores 4.84:1 against #d009af, versus 4.34:1 for black — AA at any size.

What is the complementary color of #d009af?

#09D02A sits directly opposite on the wheel. Softer options are the split-complements #4CD009 and #09D08D, which give the same contrast with far less vibration.

What colors go well with #d009af?

For interface work: #FAF4F9 as the surface, #EDC0E5 for borders, #9B4B8E for secondary text, #15C705 as an accent and #7A0567 for hover and pressed states. For a palette, the analogous pair #8D09D0 and #D0094C stays calm, while #09D02A is the loudest partner.

What is #d009af in CMYK for printing?

cmyk(0%, 96%, 16%, 18%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #d009af warm or cool?

Neutral — it scores 45 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D00966; nudged cooler, #A907D2.

Work with #d009af in the Color Lab