Skip to content

#df07ae

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

RGB
223, 7, 174
HSL
314°, 94%, 45%
CMYK
0, 97, 22, 13
Luminance
0.1890

At a glance

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

Hex
#df07ae
Hue
314°
magenta / pink
Saturation
94%
electric
Lightness
45%
balanced
Brightness
87%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1890
WCAG relative
Temperature
Neutral
42/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.78:1
Closest name
Medium Violet Red
ΔE2000 7.8
Where it sits
Hue314° of 360°
Saturation94%
Lightness45%
Temperature
Warm ← → Cool42% 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#df07ae
RGBrgb(223, 7, 174)
HSLhsl(314, 94%, 45%)
CMYKcmyk(0%, 97%, 22%, 13%)
LABlab(50.6 81.9 -30.4)
LCHlch(50.6 87.4 339.6)
OKLCHoklch(0.609 0.260 341.6)
Decimal14616494
Display P3color(display-p3 0.875 0.027 0.682)

Copy-ready code

/* CSS */
color: #df07ae;
background-color: #df07ae;
/* Tailwind (arbitrary) */
class="text-[#df07ae] bg-[#df07ae]"
/* SCSS */
$brand: #df07ae;
/* SwiftUI */
Color(red: 0.875, green: 0.027, blue: 0.682)
/* Android */
Color.parseColor("#df07ae")
/* Flutter */
Color(0xFFDF07AE)
/* Python / OpenCV (BGR) */
(174, 7, 223)

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

Accessibility — WCAG contrast

Aa
#df07ae on white: 4.39:1
AA ✗ fail · AA-large · AAA
Aa
#df07ae on black: 4.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2F64B1
deuteranopia · #7583AA
tritanopia · #ED1366

Color scale — 50 to 950

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

#FDF2FB
#FBE4F6
#FAC2ED
#FC92E4
#FA5CD6
#F825C8
#df07ae
#C6069A
#9E057B
#72085A
#470538
Base = 600Lightest = 50 · #FDF2FBDarkest = 950 · #470538
:root {
  --brand-50: #FDF2FB;
  --brand-100: #FBE4F6;
  --brand-200: #FAC2ED;
  --brand-300: #FC92E4;
  --brand-400: #FA5CD6;
  --brand-500: #F825C8;
  --brand-600: #df07ae;
  --brand-700: #C6069A;
  --brand-800: #9E057B;
  --brand-900: #72085A;
  --brand-950: #470538;
  --brand: #df07ae;
  --brand-ink: #000000;
}

Colors that work with #df07ae

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#EDC0E2
Hairlines and dividers
Muted text#9B4B89
Captions on the surface
Accent#07CA02
Second voice, not a rival
Dark variant#7C0460
Hover, pressed, headers
Light variant#FEE6F9
Selected rows, tints
Dark surface#241421
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 #df07ae

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#07DF38
Analogous left#A407DF
Analogous right#DF0742
Split-complement 1#42DF07
Split-complement 2#07DFA4
Triadic 1#AEDF07
Triadic 2#07AEDF
Tetradic#DFA407

RGB percentages

Red87.5%
Green2.7%
Blue68.2%

CMYK percentages

Cyan0.0%
Magenta96.9%
Yellow22.0%
Key (black)12.5%

Color previews

#df07ae text on a black background

contrast 4.78:1

Card sample

#df07ae text on a white background

contrast 4.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 7, 174, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 7, 174, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df07ae;
background: linear-gradient(135deg, #df07ae, #DF071E);

Monochromatic scale

Palettes built from #df07ae

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.

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

#df07ae, answered

What color is #df07ae?

#df07ae is a balanced electric magenta / pink, closest to Medium Violet Red (ΔE2000 7.8). It sits at 314° on the hue wheel with 94% saturation and 45% lightness, which reads as neutral.

What is the RGB value of #df07ae?

rgb(223, 7, 174) — 223 red, 7 green and 174 blue out of 255, or 87.5% / 2.7% / 68.2% by channel.

Is #df07ae a light or a dark color?

It is a mid-tone. Relative luminance is 0.1890 and perceived brightness is 53%, so black text on it reaches 4.78:1.

Should I use black or white text on #df07ae?

Black. It scores 4.78:1 against #df07ae, versus 4.39:1 for white — AA at any size.

What is the complementary color of #df07ae?

#07DF38 sits directly opposite on the wheel. Softer options are the split-complements #42DF07 and #07DFA4, which give the same contrast with far less vibration.

What colors go well with #df07ae?

For interface work: #FAF4F9 as the surface, #EDC0E2 for borders, #9B4B89 for secondary text, #07CA02 as an accent and #7C0460 for hover and pressed states. For a palette, the analogous pair #A407DF and #DF0742 stays calm, while #07DF38 is the loudest partner.

What is #df07ae in CMYK for printing?

cmyk(0%, 97%, 22%, 13%). 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 #df07ae warm or cool?

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

Work with #df07ae in the Color Lab