Skip to content

#df16ab

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

RGB
223, 22, 171
HSL
316°, 82%, 48%
CMYK
0, 90, 23, 13
Luminance
0.1920

At a glance

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

Hex
#df16ab
Hue
316°
magenta / pink
Saturation
82%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1920
WCAG relative
Temperature
Warm
41/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.84:1
Closest name
Medium Violet Red
ΔE2000 7.6
Where it sits
Hue316° of 360°
Saturation82%
Lightness48%
Temperature
Warm ← → Cool41% 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#df16ab
RGBrgb(223, 22, 171)
HSLhsl(316, 82%, 48%)
CMYKcmyk(0%, 90%, 23%, 13%)
LABlab(50.9 80.1 -28.1)
LCHlch(50.9 84.9 340.7)
OKLCHoklch(0.611 0.254 342.7)
Decimal14620331
Display P3color(display-p3 0.875 0.086 0.671)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df16ab on white: 4.34:1
AA ✗ fail · AA-large · AAA
Aa
#df16ab on black: 4.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3665AE
deuteranopia · #7784A7
tritanopia · #EE1966

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df16ab 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.

#FCF2FA
#F9E6F4
#F6C6E9
#F599DD
#F066CC
#EB33BB
#df16ab
#BA128E
#950F72
#6B0F54
#430934
Base = 600Lightest = 50 · #FCF2FADarkest = 950 · #430934
:root {
  --brand-50: #FCF2FA;
  --brand-100: #F9E6F4;
  --brand-200: #F6C6E9;
  --brand-300: #F599DD;
  --brand-400: #F066CC;
  --brand-500: #EB33BB;
  --brand-600: #df16ab;
  --brand-700: #BA128E;
  --brand-800: #950F72;
  --brand-900: #6B0F54;
  --brand-950: #430934;
  --brand: #df16ab;
  --brand-ink: #000000;
}

Colors that work with #df16ab

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#0EBE10
Second voice, not a rival
Dark variant#740B59
Hover, pressed, headers
Light variant#FDE8F7
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 #df16ab

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#16DF4A
Analogous left#AE16DF
Analogous right#DF1647
Split-complement 1#47DF16
Split-complement 2#16DFAE
Triadic 1#ABDF16
Triadic 2#16ABDF
Tetradic#DFAE16

RGB percentages

Red87.5%
Green8.6%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta90.1%
Yellow23.3%
Key (black)12.5%

Color previews

#df16ab text on a black background

contrast 4.84:1

Card sample

#df16ab text on a white background

contrast 4.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df16ab

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.

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

#df16ab, answered

What color is #df16ab?

#df16ab is a balanced electric magenta / pink, closest to Medium Violet Red (ΔE2000 7.6). It sits at 316° on the hue wheel with 82% saturation and 48% lightness, which reads as warm.

What is the RGB value of #df16ab?

rgb(223, 22, 171) — 223 red, 22 green and 171 blue out of 255, or 87.5% / 8.6% / 67.1% by channel.

Is #df16ab a light or a dark color?

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

Should I use black or white text on #df16ab?

Black. It scores 4.84:1 against #df16ab, versus 4.34:1 for white — AA at any size.

What is the complementary color of #df16ab?

#16DF4A sits directly opposite on the wheel. Softer options are the split-complements #47DF16 and #16DFAE, which give the same contrast with far less vibration.

What colors go well with #df16ab?

For interface work: #FAF4F9 as the surface, #EDC0E1 for borders, #9B4B86 for secondary text, #0EBE10 as an accent and #740B59 for hover and pressed states. For a palette, the analogous pair #AE16DF and #DF1647 stays calm, while #16DF4A is the loudest partner.

What is #df16ab in CMYK for printing?

cmyk(0%, 90%, 23%, 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 #df16ab warm or cool?

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

Work with #df16ab in the Color Lab