Skip to content

#db2adf

a balanced, vivid magenta / pink · neutral · closest name: Medium Orchid

RGB
219, 42, 223
HSL
299°, 74%, 52%
CMYK
2, 81, 0, 13
Luminance
0.2204

At a glance

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

Hex
#db2adf
Hue
299°
magenta / pink
Saturation
74%
vivid
Lightness
52%
balanced
Brightness
87%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2204
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.41:1
Closest name
Medium Orchid
ΔE2000 5.9
Where it sits
Hue299° of 360°
Saturation74%
Lightness52%
Temperature
Warm ← → Cool51% 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#db2adf
RGBrgb(219, 42, 223)
HSLhsl(299, 74%, 52%)
CMYKcmyk(2%, 81%, 0%, 13%)
LABlab(54.1 82.8 -53.2)
LCHlch(54.1 98.5 327.3)
OKLCHoklch(0.641 0.273 327.2)
Decimal14363359
Display P3color(display-p3 0.859 0.165 0.875)

Copy-ready code

/* CSS */
color: #db2adf;
background-color: #db2adf;
/* Tailwind (arbitrary) */
class="text-[#db2adf] bg-[#db2adf]"
/* SCSS */
$brand: #db2adf;
/* SwiftUI */
Color(red: 0.859, green: 0.165, blue: 0.875)
/* Android */
Color.parseColor("#db2adf")
/* Flutter */
Color(0xFFDB2ADF)
/* Python / OpenCV (BGR) */
(223, 42, 219)

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

Accessibility — WCAG contrast

Aa
#db2adf on white: 3.88:1
AA ✗ fail · AA-large · AAA
Aa
#db2adf on black: 5.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0073E4
deuteranopia · #5E89DB
tritanopia · #E14D87

Color scale — 50 to 950

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

#FCF3FC
#F8E7F9
#F2C8F3
#EF9DF0
#E66DE9
#db2adf
#D120D5
#AE1BB1
#8B158E
#651467
#3F0C40
Base = 500Lightest = 50 · #FCF3FCDarkest = 950 · #3F0C40
:root {
  --brand-50: #FCF3FC;
  --brand-100: #F8E7F9;
  --brand-200: #F2C8F3;
  --brand-300: #EF9DF0;
  --brand-400: #E66DE9;
  --brand-500: #db2adf;
  --brand-600: #D120D5;
  --brand-700: #AE1BB1;
  --brand-800: #8B158E;
  --brand-900: #651467;
  --brand-950: #3F0C40;
  --brand: #db2adf;
  --brand-ink: #000000;
}

Colors that work with #db2adf

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#FAF4FA
Tinted page background
Border#ECC0ED
Hairlines and dividers
Muted text#994B9B
Captions on the surface
Accent#42B616
Second voice, not a rival
Dark variant#6D116F
Hover, pressed, headers
Light variant#FBE9FC
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 #db2adf

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#2EDF2A
Analogous left#812ADF
Analogous right#DF2A89
Split-complement 1#89DF2A
Split-complement 2#2ADF81
Triadic 1#DFDB2A
Triadic 2#2ADFDB
Tetradic#DF812A

RGB percentages

Red85.9%
Green16.5%
Blue87.5%

CMYK percentages

Cyan1.8%
Magenta81.2%
Yellow0.0%
Key (black)12.5%

Color previews

#db2adf text on a black background

contrast 5.41:1

Card sample

#db2adf text on a white background

contrast 3.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db2adf

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.

#db2adf 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

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

#db2adf, answered

What color is #db2adf?

#db2adf is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 5.9). It sits at 299° on the hue wheel with 74% saturation and 52% lightness, which reads as neutral.

What is the RGB value of #db2adf?

rgb(219, 42, 223) — 219 red, 42 green and 223 blue out of 255, or 85.9% / 16.5% / 87.5% by channel.

Is #db2adf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2204 and perceived brightness is 57%, so black text on it reaches 5.41:1.

Should I use black or white text on #db2adf?

Black. It scores 5.41:1 against #db2adf, versus 3.88:1 for white — AA at any size.

What is the complementary color of #db2adf?

#2EDF2A sits directly opposite on the wheel. Softer options are the split-complements #89DF2A and #2ADF81, which give the same contrast with far less vibration.

What colors go well with #db2adf?

For interface work: #FAF4FA as the surface, #ECC0ED for borders, #994B9B for secondary text, #42B616 as an accent and #6D116F for hover and pressed states. For a palette, the analogous pair #812ADF and #DF2A89 stays calm, while #2EDF2A is the loudest partner.

What is #db2adf in CMYK for printing?

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

Is #db2adf warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF2AA1; nudged cooler, #9928E2.

Work with #db2adf in the Color Lab