Skip to content

#d2afbf

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

RGB
210, 175, 191
HSL
333°, 28%, 76%
CMYK
0, 17, 9, 18
Luminance
0.4812

At a glance

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

Hex
#d2afbf
Hue
333°
magenta / pink
Saturation
28%
soft
Lightness
76%
light
Brightness
82%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4812
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
10.62:1
Closest name
Thistle
ΔE2000 5.8
Where it sits
Hue333° of 360°
Saturation28%
Lightness76%
Temperature
Warm ← → Cool36% 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#d2afbf
RGBrgb(210, 175, 191)
HSLhsl(333, 28%, 76%)
CMYKcmyk(0%, 17%, 9%, 18%)
LABlab(74.9 15.3 -3.4)
LCHlch(74.9 15.7 347.5)
OKLCHoklch(0.789 0.046 348.9)
Decimal13807551
Display P3color(display-p3 0.824 0.686 0.749)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2afbf on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#d2afbf on black: 10.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B2B5C0
deuteranopia · #B9BABE
tritanopia · #D8AEB4

Color scale — 50 to 950

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

#F9F6F7
#F3ECEF
#E6D6DD
#d2afbf
#C293A9
#AE6F8C
#9D5877
#834964
#683B50
#4D2D3C
#301C25
Base = 300Lightest = 50 · #F9F6F7Darkest = 950 · #301C25
:root {
  --brand-50: #F9F6F7;
  --brand-100: #F3ECEF;
  --brand-200: #E6D6DD;
  --brand-300: #d2afbf;
  --brand-400: #C293A9;
  --brand-500: #AE6F8C;
  --brand-600: #9D5877;
  --brand-700: #834964;
  --brand-800: #683B50;
  --brand-900: #4D2D3C;
  --brand-950: #301C25;
  --brand: #d2afbf;
  --brand-ink: #000000;
}

Colors that work with #d2afbf

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#F9F5F7
Tinted page background
Border#E2CBD5
Hairlines and dividers
Muted text#935370
Captions on the surface
Accent#458757
Second voice, not a rival
Dark variant#522E3E
Hover, pressed, headers
Light variant#F6EFF2
Selected rows, tints
Dark surface#24141B
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 #d2afbf

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#AFD2C2
Analogous left#D2AFD1
Analogous right#D2B1AF
Split-complement 1#AFD2B1
Split-complement 2#AFD1D2
Triadic 1#BFD2AF
Triadic 2#AFBFD2
Tetradic#D1D2AF

RGB percentages

Red82.4%
Green68.6%
Blue74.9%

CMYK percentages

Cyan0.0%
Magenta16.7%
Yellow9.0%
Key (black)17.6%

Color previews

#d2afbf text on a black background

contrast 10.62:1

Card sample

#d2afbf text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2afbf

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.

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

#d2afbf, answered

What color is #d2afbf?

#d2afbf is a light soft magenta / pink, closest to Thistle (ΔE2000 5.8). It sits at 333° on the hue wheel with 28% saturation and 76% lightness, which reads as warm.

What is the RGB value of #d2afbf?

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

Is #d2afbf a light or a dark color?

It is a mid-tone. Relative luminance is 0.4812 and perceived brightness is 74%, so black text on it reaches 10.62:1.

Should I use black or white text on #d2afbf?

Black. It scores 10.62:1 against #d2afbf, versus 1.98:1 for white — AAA at any size.

What is the complementary color of #d2afbf?

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

What colors go well with #d2afbf?

For interface work: #F9F5F7 as the surface, #E2CBD5 for borders, #935370 for secondary text, #458757 as an accent and #522E3E for hover and pressed states. For a palette, the analogous pair #D2AFD1 and #D2B1AF stays calm, while #AFD2C2 is the loudest partner.

What is #d2afbf in CMYK for printing?

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

Is #d2afbf warm or cool?

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

Work with #d2afbf in the Color Lab