Skip to content

#da2bab

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

RGB
218, 43, 171
HSL
316°, 70%, 51%
CMYK
0, 80, 22, 15
Luminance
0.1957

At a glance

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

Hex
#da2bab
Hue
316°
magenta / pink
Saturation
70%
vivid
Lightness
51%
balanced
Brightness
85%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1957
WCAG relative
Temperature
Warm
41/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.91:1
Closest name
Medium Violet Red
ΔE2000 7.8
Where it sits
Hue316° of 360°
Saturation70%
Lightness51%
Temperature
Warm ← → Cool41% 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#da2bab
RGBrgb(218, 43, 171)
HSLhsl(316, 70%, 51%)
CMYKcmyk(0%, 80%, 22%, 15%)
LABlab(51.4 75.2 -27.5)
LCHlch(51.4 80.1 339.9)
OKLCHoklch(0.612 0.238 341.9)
Decimal14298027
Display P3color(display-p3 0.855 0.169 0.671)

Copy-ready code

/* CSS */
color: #da2bab;
background-color: #da2bab;
/* Tailwind (arbitrary) */
class="text-[#da2bab] bg-[#da2bab]"
/* SCSS */
$brand: #da2bab;
/* SwiftUI */
Color(red: 0.855, green: 0.169, blue: 0.671)
/* Android */
Color.parseColor("#da2bab")
/* Flutter */
Color(0xFFDA2BAB)
/* Python / OpenCV (BGR) */
(171, 43, 218)

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

Accessibility — WCAG contrast

Aa
#da2bab on white: 4.27:1
AA ✗ fail · AA-large · AAA
Aa
#da2bab on black: 4.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3E68AE
deuteranopia · #7784A7
tritanopia · #E82E6A

Color scale — 50 to 950

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

#FCF3F9
#F8E7F4
#F2C9E7
#EE9FD9
#E670C6
#DE40B3
#da2bab
#AE1E87
#8B186C
#651650
#3F0E32
Base = 600Lightest = 50 · #FCF3F9Darkest = 950 · #3F0E32
:root {
  --brand-50: #FCF3F9;
  --brand-100: #F8E7F4;
  --brand-200: #F2C9E7;
  --brand-300: #EE9FD9;
  --brand-400: #E670C6;
  --brand-500: #DE40B3;
  --brand-600: #da2bab;
  --brand-700: #AE1E87;
  --brand-800: #8B186C;
  --brand-900: #651650;
  --brand-950: #3F0E32;
  --brand: #da2bab;
  --brand-ink: #000000;
}

Colors that work with #da2bab

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#EDC0E1
Hairlines and dividers
Muted text#9B4B85
Captions on the surface
Accent#1AB21D
Second voice, not a rival
Dark variant#6D1355
Hover, pressed, headers
Light variant#FBE9F6
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 #da2bab

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#2BDA5A
Analogous left#B22BDA
Analogous right#DA2B54
Split-complement 1#54DA2B
Split-complement 2#2BDAB2
Triadic 1#ABDA2B
Triadic 2#2BABDA
Tetradic#DAB22B

RGB percentages

Red85.5%
Green16.9%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta80.3%
Yellow21.6%
Key (black)14.5%

Color previews

#da2bab text on a black background

contrast 4.91:1

Card sample

#da2bab text on a white background

contrast 4.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 43, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 43, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #da2bab;
background: linear-gradient(135deg, #da2bab, #DA2B36);

Monochromatic scale

Palettes built from #da2bab

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.

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

#da2bab, answered

What color is #da2bab?

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

What is the RGB value of #da2bab?

rgb(218, 43, 171) — 218 red, 43 green and 171 blue out of 255, or 85.5% / 16.9% / 67.1% by channel.

Is #da2bab a light or a dark color?

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

Should I use black or white text on #da2bab?

Black. It scores 4.91:1 against #da2bab, versus 4.27:1 for white — AA at any size.

What is the complementary color of #da2bab?

#2BDA5A sits directly opposite on the wheel. Softer options are the split-complements #54DA2B and #2BDAB2, which give the same contrast with far less vibration.

What colors go well with #da2bab?

For interface work: #FAF4F9 as the surface, #EDC0E1 for borders, #9B4B85 for secondary text, #1AB21D as an accent and #6D1355 for hover and pressed states. For a palette, the analogous pair #B22BDA and #DA2B54 stays calm, while #2BDA5A is the loudest partner.

What is #da2bab in CMYK for printing?

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

Is #da2bab warm or cool?

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

Work with #da2bab in the Color Lab