Skip to content

#df81af

a light, vivid magenta / pink · warm · closest name: Pale Violet Red

RGB
223, 129, 175
HSL
331°, 60%, 69%
CMYK
0, 42, 22, 13
Luminance
0.3448

At a glance

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

Hex
#df81af
Hue
331°
magenta / pink
Saturation
60%
vivid
Lightness
69%
light
Brightness
87%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3448
WCAG relative
Temperature
Warm
33/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.90:1
Closest name
Pale Violet Red
ΔE2000 6.3
Where it sits
Hue331° of 360°
Saturation60%
Lightness69%
Temperature
Warm ← → Cool33% 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#df81af
RGBrgb(223, 129, 175)
HSLhsl(331, 60%, 69%)
CMYKcmyk(0%, 42%, 22%, 13%)
LABlab(65.3 42.0 -8.5)
LCHlch(65.3 42.8 348.6)
OKLCHoklch(0.718 0.128 350.1)
Decimal14647727
Display P3color(display-p3 0.875 0.506 0.686)

Copy-ready code

/* CSS */
color: #df81af;
background-color: #df81af;
/* Tailwind (arbitrary) */
class="text-[#df81af] bg-[#df81af]"
/* SCSS */
$brand: #df81af;
/* SwiftUI */
Color(red: 0.875, green: 0.506, blue: 0.686)
/* Android */
Color.parseColor("#df81af")
/* Flutter */
Color(0xFFDF81AF)
/* Python / OpenCV (BGR) */
(175, 129, 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 #df81af · 7.90:1
Use #000000AAA at every size.
Aa
White text · 2.66:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.90:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #df81af as text scores 2.66:1 on white and 7.90:1 on black.

Accessibility — WCAG contrast

Aa
#df81af on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#df81af on black: 7.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8A95B1
deuteranopia · #A2A5AD
tritanopia · #EB7E92

Color scale — 50 to 950

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

#FBF4F7
#F7E9F0
#EFCCDE
#E8A6C6
#df81af
#D24C8D
#C33279
#A32965
#822151
#5F1C3D
#3B1126
Base = 400Lightest = 50 · #FBF4F7Darkest = 950 · #3B1126
:root {
  --brand-50: #FBF4F7;
  --brand-100: #F7E9F0;
  --brand-200: #EFCCDE;
  --brand-300: #E8A6C6;
  --brand-400: #df81af;
  --brand-500: #D24C8D;
  --brand-600: #C33279;
  --brand-700: #A32965;
  --brand-800: #822151;
  --brand-900: #5F1C3D;
  --brand-950: #3B1126;
  --brand: #df81af;
  --brand-ink: #000000;
}

Colors that work with #df81af

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#FAF4F7
Tinted page background
Border#EDC0D6
Hairlines and dividers
Muted text#9B4B72
Captions on the surface
Accent#25A747
Second voice, not a rival
Dark variant#661A3F
Hover, pressed, headers
Light variant#FAEBF2
Selected rows, tints
Dark surface#24141C
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 #df81af

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

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White 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#81DFB1
Analogous left#DF81DE
Analogous right#DF8281
Split-complement 1#81DF82
Split-complement 2#81DEDF
Triadic 1#AFDF81
Triadic 2#81AFDF
Tetradic#DEDF81

RGB percentages

Red87.5%
Green50.6%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta42.2%
Yellow21.5%
Key (black)12.5%

Color previews

#df81af text on a black background

contrast 7.90:1

Card sample

#df81af text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df81af

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.

#df81af 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#df81af, answered

What color is #df81af?

#df81af is a light vivid magenta / pink, closest to Pale Violet Red (ΔE2000 6.3). It sits at 331° on the hue wheel with 60% saturation and 69% lightness, which reads as warm.

What is the RGB value of #df81af?

rgb(223, 129, 175) — 223 red, 129 green and 175 blue out of 255, or 87.5% / 50.6% / 68.6% by channel.

Is #df81af a light or a dark color?

It is a mid-tone. Relative luminance is 0.3448 and perceived brightness is 66%, so black text on it reaches 7.90:1.

Should I use black or white text on #df81af?

Black. It scores 7.90:1 against #df81af, versus 2.66:1 for white — AAA at any size.

What is the complementary color of #df81af?

#81DFB1 sits directly opposite on the wheel. Softer options are the split-complements #81DF82 and #81DEDF, which give the same contrast with far less vibration.

What colors go well with #df81af?

For interface work: #FAF4F7 as the surface, #EDC0D6 for borders, #9B4B72 for secondary text, #25A747 as an accent and #661A3F for hover and pressed states. For a palette, the analogous pair #DF81DE and #DF8281 stays calm, while #81DFB1 is the loudest partner.

What is #df81af in CMYK for printing?

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

Is #df81af warm or cool?

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

Work with #df81af in the Color Lab