Skip to content

#db2ab0

a balanced, vivid magenta / pink · warm · closest name: Medium Violet Red

RGB
219, 42, 176
HSL
315°, 71%, 51%
CMYK
0, 81, 20, 14
Luminance
0.1985

At a glance

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

Hex
#db2ab0
Hue
315°
magenta / pink
Saturation
71%
vivid
Lightness
51%
balanced
Brightness
86%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1985
WCAG relative
Temperature
Warm
42/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.97:1
Closest name
Medium Violet Red
ΔE2000 8.6
Where it sits
Hue315° of 360°
Saturation71%
Lightness51%
Temperature
Warm ← → Cool42% 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#db2ab0
RGBrgb(219, 42, 176)
HSLhsl(315, 71%, 51%)
CMYKcmyk(0%, 81%, 20%, 14%)
LABlab(51.7 76.3 -29.9)
LCHlch(51.7 81.9 338.6)
OKLCHoklch(0.616 0.242 340.5)
Decimal14363312
Display P3color(display-p3 0.859 0.165 0.690)

Copy-ready code

/* CSS */
color: #db2ab0;
background-color: #db2ab0;
/* Tailwind (arbitrary) */
class="text-[#db2ab0] bg-[#db2ab0]"
/* SCSS */
$brand: #db2ab0;
/* SwiftUI */
Color(red: 0.859, green: 0.165, blue: 0.690)
/* Android */
Color.parseColor("#db2ab0")
/* Flutter */
Color(0xFFDB2AB0)
/* Python / OpenCV (BGR) */
(176, 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 #db2ab0 · 4.97:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.23:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.97:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #db2ab0 as text scores 4.23:1 on white and 4.97:1 on black.

Accessibility — WCAG contrast

Aa
#db2ab0 on white: 4.23:1
AA ✗ fail · AA-large · AAA
Aa
#db2ab0 on black: 4.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3B69B3
deuteranopia · #7685AC
tritanopia · #E8306C

Color scale — 50 to 950

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

#FCF3FA
#F8E7F4
#F3C9E8
#EF9FDB
#E76FCA
#DF3FB8
#db2ab0
#AF1D8B
#8C186F
#651552
#3F0D33
Base = 600Lightest = 50 · #FCF3FADarkest = 950 · #3F0D33
:root {
  --brand-50: #FCF3FA;
  --brand-100: #F8E7F4;
  --brand-200: #F3C9E8;
  --brand-300: #EF9FDB;
  --brand-400: #E76FCA;
  --brand-500: #DF3FB8;
  --brand-600: #db2ab0;
  --brand-700: #AF1D8B;
  --brand-800: #8C186F;
  --brand-900: #651552;
  --brand-950: #3F0D33;
  --brand: #db2ab0;
  --brand-ink: #000000;
}

Colors that work with #db2ab0

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#FAF4F9
Tinted page background
Border#EDC0E2
Hairlines and dividers
Muted text#9B4B87
Captions on the surface
Accent#1AB319
Second voice, not a rival
Dark variant#6D1257
Hover, pressed, headers
Light variant#FBE9F7
Selected rows, tints
Dark surface#241420
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 #db2ab0

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#2ADB55
Analogous left#AE2ADB
Analogous right#DB2A58
Split-complement 1#58DB2A
Split-complement 2#2ADBAE
Triadic 1#B0DB2A
Triadic 2#2AB0DB
Tetradic#DBAE2A

RGB percentages

Red85.9%
Green16.5%
Blue69.0%

CMYK percentages

Cyan0.0%
Magenta80.8%
Yellow19.6%
Key (black)14.1%

Color previews

#db2ab0 text on a black background

contrast 4.97:1

Card sample

#db2ab0 text on a white background

contrast 4.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db2ab0

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.

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

#db2ab0, answered

What color is #db2ab0?

#db2ab0 is a balanced vivid magenta / pink, closest to Medium Violet Red (ΔE2000 8.6). It sits at 315° on the hue wheel with 71% saturation and 51% lightness, which reads as warm.

What is the RGB value of #db2ab0?

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

Is #db2ab0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1985 and perceived brightness is 54%, so black text on it reaches 4.97:1.

Should I use black or white text on #db2ab0?

Black. It scores 4.97:1 against #db2ab0, versus 4.23:1 for white — AA at any size.

What is the complementary color of #db2ab0?

#2ADB55 sits directly opposite on the wheel. Softer options are the split-complements #58DB2A and #2ADBAE, which give the same contrast with far less vibration.

What colors go well with #db2ab0?

For interface work: #FAF4F9 as the surface, #EDC0E2 for borders, #9B4B87 for secondary text, #1AB319 as an accent and #6D1257 for hover and pressed states. For a palette, the analogous pair #AE2ADB and #DB2A58 stays calm, while #2ADB55 is the loudest partner.

What is #db2ab0 in CMYK for printing?

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

Is #db2ab0 warm or cool?

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

Work with #db2ab0 in the Color Lab