Skip to content

#df98c6

a light, vivid magenta / pink · warm · closest name: Plum

RGB
223, 152, 198
HSL
321°, 53%, 74%
CMYK
0, 32, 11, 13
Luminance
0.4222

At a glance

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

Hex
#df98c6
Hue
321°
magenta / pink
Saturation
53%
vivid
Lightness
74%
light
Brightness
87%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4222
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
9.44:1
Closest name
Plum
ΔE2000 5.3
Where it sits
Hue321° of 360°
Saturation53%
Lightness74%
Temperature
Warm ← → Cool38% 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#df98c6
RGBrgb(223, 152, 198)
HSLhsl(321, 53%, 74%)
CMYKcmyk(0%, 32%, 11%, 13%)
LABlab(71.0 33.4 -12.9)
LCHlch(71.0 35.8 339.0)
OKLCHoklch(0.763 0.103 340.7)
Decimal14653638
Display P3color(display-p3 0.875 0.596 0.776)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df98c6 on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#df98c6 on black: 9.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9BA7C8
deuteranopia · #ACB2C4
tritanopia · #E799A8

Color scale — 50 to 950

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

#FAF4F8
#F6E9F2
#EDCFE2
#df98c6
#D77FB8
#CA54A0
#BB3A8E
#9C3076
#7D275E
#5B2046
#39142C
Base = 300Lightest = 50 · #FAF4F8Darkest = 950 · #39142C
:root {
  --brand-50: #FAF4F8;
  --brand-100: #F6E9F2;
  --brand-200: #EDCFE2;
  --brand-300: #df98c6;
  --brand-400: #D77FB8;
  --brand-500: #CA54A0;
  --brand-600: #BB3A8E;
  --brand-700: #9C3076;
  --brand-800: #7D275E;
  --brand-900: #5B2046;
  --brand-950: #39142C;
  --brand: #df98c6;
  --brand-ink: #000000;
}

Colors that work with #df98c6

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#FAF4F8
Tinted page background
Border#ECC1DD
Hairlines and dividers
Muted text#9B4B7F
Captions on the surface
Accent#2CA038
Second voice, not a rival
Dark variant#611E4A
Hover, pressed, headers
Light variant#F9ECF4
Selected rows, tints
Dark surface#24141F
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 #df98c6

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#98DFB1
Analogous left#D498DF
Analogous right#DF98A2
Split-complement 1#A2DF98
Split-complement 2#98DFD4
Triadic 1#C6DF98
Triadic 2#98C6DF
Tetradic#DFD498

RGB percentages

Red87.5%
Green59.6%
Blue77.6%

CMYK percentages

Cyan0.0%
Magenta31.8%
Yellow11.2%
Key (black)12.5%

Color previews

#df98c6 text on a black background

contrast 9.44:1

Card sample

#df98c6 text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df98c6

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.

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

#df98c6, answered

What color is #df98c6?

#df98c6 is a light vivid magenta / pink, closest to Plum (ΔE2000 5.3). It sits at 321° on the hue wheel with 53% saturation and 74% lightness, which reads as warm.

What is the RGB value of #df98c6?

rgb(223, 152, 198) — 223 red, 152 green and 198 blue out of 255, or 87.5% / 59.6% / 77.6% by channel.

Is #df98c6 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4222 and perceived brightness is 71%, so black text on it reaches 9.44:1.

Should I use black or white text on #df98c6?

Black. It scores 9.44:1 against #df98c6, versus 2.22:1 for white — AAA at any size.

What is the complementary color of #df98c6?

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

What colors go well with #df98c6?

For interface work: #FAF4F8 as the surface, #ECC1DD for borders, #9B4B7F for secondary text, #2CA038 as an accent and #611E4A for hover and pressed states. For a palette, the analogous pair #D498DF and #DF98A2 stays calm, while #98DFB1 is the loudest partner.

What is #df98c6 in CMYK for printing?

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

Is #df98c6 warm or cool?

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

Work with #df98c6 in the Color Lab