Skip to content

#da1dfb

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

RGB
218, 29, 251
HSL
291°, 97%, 55%
CMYK
13, 88, 0, 2
Luminance
0.2275

At a glance

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

Hex
#da1dfb
Hue
291°
magenta / pink
Saturation
97%
electric
Lightness
55%
balanced
Brightness
98%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2275
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.55:1
Closest name
Magenta
ΔE2000 6.2
Where it sits
Hue291° of 360°
Saturation97%
Lightness55%
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#da1dfb
RGBrgb(218, 29, 251)
HSLhsl(291, 97%, 55%)
CMYKcmyk(13%, 88%, 0%, 2%)
LABlab(54.8 89.5 -67.8)
LCHlch(54.8 112.3 322.9)
OKLCHoklch(0.651 0.300 320.5)
Decimal14294523
Display P3color(display-p3 0.855 0.114 0.984)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#da1dfb on white: 3.78:1
AA ✗ fail · AA-large · AAA
Aa
#da1dfb on black: 5.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0077FF
deuteranopia · #3E89F7
tritanopia · #DB5996

Color scale — 50 to 950

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

#FCF1FD
#F8E4FC
#F2C1FB
#ED91FD
#E45AFC
#da1dfb
#CD04F1
#AB04C8
#8903A0
#630774
#3E0448
Base = 500Lightest = 50 · #FCF1FDDarkest = 950 · #3E0448
:root {
  --brand-50: #FCF1FD;
  --brand-100: #F8E4FC;
  --brand-200: #F2C1FB;
  --brand-300: #ED91FD;
  --brand-400: #E45AFC;
  --brand-500: #da1dfb;
  --brand-600: #CD04F1;
  --brand-700: #AB04C8;
  --brand-800: #8903A0;
  --brand-900: #630774;
  --brand-950: #3E0448;
  --brand: #da1dfb;
  --brand-ink: #000000;
}

Colors that work with #da1dfb

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#E6C0ED
Hairlines and dividers
Muted text#8F4B9B
Captions on the surface
Accent#52CC00
Second voice, not a rival
Dark variant#6B027D
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 #da1dfb

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#3EFB1D
Analogous left#6B1DFB
Analogous right#FB1DAD
Split-complement 1#ADFB1D
Split-complement 2#1DFB6B
Triadic 1#FBDA1D
Triadic 2#1DFBDA
Tetradic#FB6B1D

RGB percentages

Red85.5%
Green11.4%
Blue98.4%

CMYK percentages

Cyan13.1%
Magenta88.4%
Yellow0.0%
Key (black)1.6%

Color previews

#da1dfb text on a black background

contrast 5.55:1

Card sample

#da1dfb text on a white background

contrast 3.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #da1dfb

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.

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

#da1dfb, answered

What color is #da1dfb?

#da1dfb is a balanced electric magenta / pink, closest to Magenta (ΔE2000 6.2). It sits at 291° on the hue wheel with 97% saturation and 55% lightness, which reads as neutral.

What is the RGB value of #da1dfb?

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

Is #da1dfb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2275 and perceived brightness is 58%, so black text on it reaches 5.55:1.

Should I use black or white text on #da1dfb?

Black. It scores 5.55:1 against #da1dfb, versus 3.78:1 for white — AA at any size.

What is the complementary color of #da1dfb?

#3EFB1D sits directly opposite on the wheel. Softer options are the split-complements #ADFB1D and #1DFB6B, which give the same contrast with far less vibration.

What colors go well with #da1dfb?

For interface work: #FAF4FA as the surface, #E6C0ED for borders, #8F4B9B for secondary text, #52CC00 as an accent and #6B027D for hover and pressed states. For a palette, the analogous pair #6B1DFB and #FB1DAD stays calm, while #3EFB1D is the loudest partner.

What is #da1dfb in CMYK for printing?

cmyk(13%, 88%, 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 #da1dfb 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 #FB1DCB; nudged cooler, #891BFD.

Work with #da1dfb in the Color Lab