Skip to content

#d2afd4

a light, soft magenta / pink · neutral · closest name: Thistle

RGB
210, 175, 212
HSL
297°, 30%, 76%
CMYK
1, 18, 0, 17
Luminance
0.4912

At a glance

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

Hex
#d2afd4
Hue
297°
magenta / pink
Saturation
30%
soft
Lightness
76%
light
Brightness
83%
HSV value
Perceived
75%
weighted brightness
Luminance
0.4912
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
10.82:1
Closest name
Thistle
ΔE2000 5.4
Where it sits
Hue297° of 360°
Saturation30%
Lightness76%
Temperature
Warm ← → Cool52% 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#d2afd4
RGBrgb(210, 175, 212)
HSLhsl(297, 30%, 76%)
CMYKcmyk(1%, 18%, 0%, 17%)
LABlab(75.5 19.1 -13.9)
LCHlch(75.5 23.6 323.9)
OKLCHoklch(0.796 0.064 324.5)
Decimal13807572
Display P3color(display-p3 0.824 0.686 0.831)

Copy-ready code

/* CSS */
color: #d2afd4;
background-color: #d2afd4;
/* Tailwind (arbitrary) */
class="text-[#d2afd4] bg-[#d2afd4]"
/* SCSS */
$brand: #d2afd4;
/* SwiftUI */
Color(red: 0.824, green: 0.686, blue: 0.831)
/* Android */
Color.parseColor("#d2afd4")
/* Flutter */
Color(0xFFD2AFD4)
/* Python / OpenCV (BGR) */
(212, 175, 210)

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

Accessibility — WCAG contrast

Aa
#d2afd4 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#d2afd4 on black: 10.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ACB7D6
deuteranopia · #B4BCD3
tritanopia · #D4B2BB

Color scale — 50 to 950

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

#F9F6F9
#F3ECF3
#E6D5E7
#d2afd4
#C192C4
#AD6DB1
#9B569F
#814785
#68396A
#4C2C4E
#301C31
Base = 300Lightest = 50 · #F9F6F9Darkest = 950 · #301C31
:root {
  --brand-50: #F9F6F9;
  --brand-100: #F3ECF3;
  --brand-200: #E6D5E7;
  --brand-300: #d2afd4;
  --brand-400: #C192C4;
  --brand-500: #AD6DB1;
  --brand-600: #9B569F;
  --brand-700: #814785;
  --brand-800: #68396A;
  --brand-900: #4C2C4E;
  --brand-950: #301C31;
  --brand: #d2afd4;
  --brand-ink: #000000;
}

Colors that work with #d2afd4

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#F9F5FA
Tinted page background
Border#E1CAE2
Hairlines and dividers
Muted text#925095
Captions on the surface
Accent#578943
Second voice, not a rival
Dark variant#512D53
Hover, pressed, headers
Light variant#F6EEF6
Selected rows, tints
Dark surface#241424
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 #d2afd4

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#B1D4AF
Analogous left#C0AFD4
Analogous right#D4AFC4
Split-complement 1#C4D4AF
Split-complement 2#AFD4C0
Triadic 1#D4D2AF
Triadic 2#AFD4D2
Tetradic#D4C0AF

RGB percentages

Red82.4%
Green68.6%
Blue83.1%

CMYK percentages

Cyan0.9%
Magenta17.5%
Yellow0.0%
Key (black)16.9%

Color previews

#d2afd4 text on a black background

contrast 10.82:1

Card sample

#d2afd4 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2afd4

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.

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

#d2afd4, answered

What color is #d2afd4?

#d2afd4 is a light soft magenta / pink, closest to Thistle (ΔE2000 5.4). It sits at 297° on the hue wheel with 30% saturation and 76% lightness, which reads as neutral.

What is the RGB value of #d2afd4?

rgb(210, 175, 212) — 210 red, 175 green and 212 blue out of 255, or 82.4% / 68.6% / 83.1% by channel.

Is #d2afd4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4912 and perceived brightness is 75%, so black text on it reaches 10.82:1.

Should I use black or white text on #d2afd4?

Black. It scores 10.82:1 against #d2afd4, versus 1.94:1 for white — AAA at any size.

What is the complementary color of #d2afd4?

#B1D4AF sits directly opposite on the wheel. Softer options are the split-complements #C4D4AF and #AFD4C0, which give the same contrast with far less vibration.

What colors go well with #d2afd4?

For interface work: #F9F5FA as the surface, #E1CAE2 for borders, #925095 for secondary text, #578943 as an accent and #512D53 for hover and pressed states. For a palette, the analogous pair #C0AFD4 and #D4AFC4 stays calm, while #B1D4AF is the loudest partner.

What is #d2afd4 in CMYK for printing?

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

Is #d2afd4 warm or cool?

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

Work with #d2afd4 in the Color Lab