Skip to content

#db4ceb

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

RGB
219, 76, 235
HSL
294°, 80%, 61%
CMYK
7, 68, 0, 8
Luminance
0.2623

At a glance

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

Hex
#db4ceb
Hue
294°
magenta / pink
Saturation
80%
electric
Lightness
61%
balanced
Brightness
92%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2623
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.25:1
Closest name
Magenta
ΔE2000 5.1
Where it sits
Hue294° of 360°
Saturation80%
Lightness61%
Temperature
Warm ← → Cool53% 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#db4ceb
RGBrgb(219, 76, 235)
HSLhsl(294, 80%, 61%)
CMYKcmyk(7%, 68%, 0%, 8%)
LABlab(58.3 74.7 -53.3)
LCHlch(58.3 91.8 324.5)
OKLCHoklch(0.672 0.250 323.5)
Decimal14372075
Display P3color(display-p3 0.859 0.298 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db4ceb on white: 3.36:1
AA ✗ fail · AA-large · AAA
Aa
#db4ceb on black: 6.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #1F81F0
deuteranopia · #6692E7
tritanopia · #DF6796

Color scale — 50 to 950

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

#FBF3FC
#F7E6F9
#F0C7F5
#EB9AF4
#E168EE
#db4ceb
#C919DC
#A715B7
#861093
#61106A
#3D0A42
Base = 500Lightest = 50 · #FBF3FCDarkest = 950 · #3D0A42
:root {
  --brand-50: #FBF3FC;
  --brand-100: #F7E6F9;
  --brand-200: #F0C7F5;
  --brand-300: #EB9AF4;
  --brand-400: #E168EE;
  --brand-500: #db4ceb;
  --brand-600: #C919DC;
  --brand-700: #A715B7;
  --brand-800: #861093;
  --brand-900: #61106A;
  --brand-950: #3D0A42;
  --brand: #db4ceb;
  --brand-ink: #000000;
}

Colors that work with #db4ceb

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#E8C0ED
Hairlines and dividers
Muted text#934B9B
Captions on the surface
Accent#4DBC10
Second voice, not a rival
Dark variant#680D73
Hover, pressed, headers
Light variant#FAE8FC
Selected rows, tints
Dark surface#231424
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 #db4ceb

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#5CEB4C
Analogous left#8C4CEB
Analogous right#EB4CAB
Split-complement 1#ABEB4C
Split-complement 2#4CEB8C
Triadic 1#EBDB4C
Triadic 2#4CEBDB
Tetradic#EB8C4C

RGB percentages

Red85.9%
Green29.8%
Blue92.2%

CMYK percentages

Cyan6.8%
Magenta67.7%
Yellow0.0%
Key (black)7.8%

Color previews

#db4ceb text on a black background

contrast 6.25:1

Card sample

#db4ceb text on a white background

contrast 3.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db4ceb

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.

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

#db4ceb, answered

What color is #db4ceb?

#db4ceb is a balanced electric magenta / pink, closest to Magenta (ΔE2000 5.1). It sits at 294° on the hue wheel with 80% saturation and 61% lightness, which reads as neutral.

What is the RGB value of #db4ceb?

rgb(219, 76, 235) — 219 red, 76 green and 235 blue out of 255, or 85.9% / 29.8% / 92.2% by channel.

Is #db4ceb a light or a dark color?

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

Should I use black or white text on #db4ceb?

Black. It scores 6.25:1 against #db4ceb, versus 3.36:1 for white — AA at any size.

What is the complementary color of #db4ceb?

#5CEB4C sits directly opposite on the wheel. Softer options are the split-complements #ABEB4C and #4CEB8C, which give the same contrast with far less vibration.

What colors go well with #db4ceb?

For interface work: #FAF4FA as the surface, #E8C0ED for borders, #934B9B for secondary text, #4DBC10 as an accent and #680D73 for hover and pressed states. For a palette, the analogous pair #8C4CEB and #EB4CAB stays calm, while #5CEB4C is the loudest partner.

What is #db4ceb in CMYK for printing?

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

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

Work with #db4ceb in the Color Lab