Skip to content

#db4fee

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

RGB
219, 79, 238
HSL
293°, 82%, 62%
CMYK
8, 67, 0, 7
Luminance
0.2683

At a glance

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

Hex
#db4fee
Hue
293°
magenta / pink
Saturation
82%
electric
Lightness
62%
balanced
Brightness
93%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2683
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.37:1
Closest name
Magenta
ΔE2000 5.2
Where it sits
Hue293° of 360°
Saturation82%
Lightness62%
Temperature
Warm ← → Cool54% 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#db4fee
RGBrgb(219, 79, 238)
HSLhsl(293, 82%, 62%)
CMYKcmyk(8%, 67%, 0%, 7%)
LABlab(58.8 74.1 -54.1)
LCHlch(58.8 91.8 323.9)
OKLCHoklch(0.677 0.249 322.7)
Decimal14372846
Display P3color(display-p3 0.859 0.310 0.933)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db4fee on white: 3.30:1
AA ✗ fail · AA-large · AAA
Aa
#db4fee on black: 6.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2183F3
deuteranopia · #6693EA
tritanopia · #DE6A99

Color scale — 50 to 950

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

#FBF2FC
#F7E6FA
#F0C6F6
#EA99F5
#db4fee
#D532EB
#C716DF
#A612BA
#850E95
#600F6C
#3C0943
Base = 400Lightest = 50 · #FBF2FCDarkest = 950 · #3C0943
:root {
  --brand-50: #FBF2FC;
  --brand-100: #F7E6FA;
  --brand-200: #F0C6F6;
  --brand-300: #EA99F5;
  --brand-400: #db4fee;
  --brand-500: #D532EB;
  --brand-600: #C716DF;
  --brand-700: #A612BA;
  --brand-800: #850E95;
  --brand-900: #600F6C;
  --brand-950: #3C0943;
  --brand: #db4fee;
  --brand-ink: #000000;
}

Colors that work with #db4fee

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#E7C0ED
Hairlines and dividers
Muted text#914B9B
Captions on the surface
Accent#4FBE0E
Second voice, not a rival
Dark variant#680B74
Hover, pressed, headers
Light variant#FAE8FD
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 #db4fee

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#62EE4F
Analogous left#8C4FEE
Analogous right#EE4FB2
Split-complement 1#B2EE4F
Split-complement 2#4FEE8C
Triadic 1#EEDB4F
Triadic 2#4FEEDB
Tetradic#EE8C4F

RGB percentages

Red85.9%
Green31.0%
Blue93.3%

CMYK percentages

Cyan8.0%
Magenta66.8%
Yellow0.0%
Key (black)6.7%

Color previews

#db4fee text on a black background

contrast 6.37:1

Card sample

#db4fee text on a white background

contrast 3.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db4fee

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.

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

#db4fee, answered

What color is #db4fee?

#db4fee is a balanced electric magenta / pink, closest to Magenta (ΔE2000 5.2). It sits at 293° on the hue wheel with 82% saturation and 62% lightness, which reads as neutral.

What is the RGB value of #db4fee?

rgb(219, 79, 238) — 219 red, 79 green and 238 blue out of 255, or 85.9% / 31% / 93.3% by channel.

Is #db4fee a light or a dark color?

It is a mid-tone. Relative luminance is 0.2683 and perceived brightness is 61%, so black text on it reaches 6.37:1.

Should I use black or white text on #db4fee?

Black. It scores 6.37:1 against #db4fee, versus 3.30:1 for white — AA at any size.

What is the complementary color of #db4fee?

#62EE4F sits directly opposite on the wheel. Softer options are the split-complements #B2EE4F and #4FEE8C, which give the same contrast with far less vibration.

What colors go well with #db4fee?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #914B9B for secondary text, #4FBE0E as an accent and #680B74 for hover and pressed states. For a palette, the analogous pair #8C4FEE and #EE4FB2 stays calm, while #62EE4F is the loudest partner.

What is #db4fee in CMYK for printing?

cmyk(8%, 67%, 0%, 7%). 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 #db4fee warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EE4FC7; nudged cooler, #A14DF0.

Work with #db4fee in the Color Lab