Skip to content

#da2dfb

a balanced, electric magenta / pink · neutral · closest name: Magenta

RGB
218, 45, 251
HSL
290°, 96%, 58%
CMYK
13, 82, 0, 2
Luminance
0.2375

At a glance

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

Hex
#da2dfb
Hue
290°
magenta / pink
Saturation
96%
electric
Lightness
58%
balanced
Brightness
98%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2375
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.75:1
Closest name
Magenta
ΔE2000 5.6
Where it sits
Hue290° of 360°
Saturation96%
Lightness58%
Temperature
Warm ← → Cool55% 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#da2dfb
RGBrgb(218, 45, 251)
HSLhsl(290, 96%, 58%)
CMYKcmyk(13%, 82%, 0%, 2%)
LABlab(55.8 86.5 -66.1)
LCHlch(55.8 108.9 322.6)
OKLCHoklch(0.658 0.291 320.3)
Decimal14298619
Display P3color(display-p3 0.855 0.176 0.984)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#da2dfb on white: 3.65:1
AA ✗ fail · AA-large · AAA
Aa
#da2dfb on black: 5.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #007BFF
deuteranopia · #458BF7
tritanopia · #DB5E98

Color scale — 50 to 950

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

#FBF1FD
#F8E4FC
#F1C1FA
#EC91FD
#E25AFC
#da2dfb
#CB05F0
#A904C8
#8703A0
#620773
#3D0448
Base = 500Lightest = 50 · #FBF1FDDarkest = 950 · #3D0448
:root {
  --brand-50: #FBF1FD;
  --brand-100: #F8E4FC;
  --brand-200: #F1C1FA;
  --brand-300: #EC91FD;
  --brand-400: #E25AFC;
  --brand-500: #da2dfb;
  --brand-600: #CB05F0;
  --brand-700: #A904C8;
  --brand-800: #8703A0;
  --brand-900: #620773;
  --brand-950: #3D0448;
  --brand: #da2dfb;
  --brand-ink: #000000;
}

Colors that work with #da2dfb

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#F9F4FA
Tinted page background
Border#E5C0ED
Hairlines and dividers
Muted text#8E4B9B
Captions on the surface
Accent#54CC00
Second voice, not a rival
Dark variant#69027D
Hover, pressed, headers
Light variant#FBE6FF
Selected rows, tints
Dark surface#221424
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 #da2dfb

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#4EFB2D
Analogous left#732DFB
Analogous right#FB2DB5
Split-complement 1#B5FB2D
Split-complement 2#2DFB73
Triadic 1#FBDA2D
Triadic 2#2DFBDA
Tetradic#FB732D

RGB percentages

Red85.5%
Green17.6%
Blue98.4%

CMYK percentages

Cyan13.1%
Magenta82.1%
Yellow0.0%
Key (black)1.6%

Color previews

#da2dfb text on a black background

contrast 5.75:1

Card sample

#da2dfb text on a white background

contrast 3.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #da2dfb

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.

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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#da2dfb, answered

What color is #da2dfb?

#da2dfb is a balanced electric magenta / pink, closest to Magenta (ΔE2000 5.6). It sits at 290° on the hue wheel with 96% saturation and 58% lightness, which reads as neutral.

What is the RGB value of #da2dfb?

rgb(218, 45, 251) — 218 red, 45 green and 251 blue out of 255, or 85.5% / 17.6% / 98.4% by channel.

Is #da2dfb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2375 and perceived brightness is 59%, so black text on it reaches 5.75:1.

Should I use black or white text on #da2dfb?

Black. It scores 5.75:1 against #da2dfb, versus 3.65:1 for white — AA at any size.

What is the complementary color of #da2dfb?

#4EFB2D sits directly opposite on the wheel. Softer options are the split-complements #B5FB2D and #2DFB73, which give the same contrast with far less vibration.

What colors go well with #da2dfb?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8E4B9B for secondary text, #54CC00 as an accent and #69027D for hover and pressed states. For a palette, the analogous pair #732DFB and #FB2DB5 stays calm, while #4EFB2D is the loudest partner.

What is #da2dfb in CMYK for printing?

cmyk(13%, 82%, 0%, 2%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #da2dfb warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FB2DD0; nudged cooler, #8E2BFD.

Work with #da2dfb in the Color Lab