Skip to content

#d301db

a dark, electric magenta / pink · neutral · closest name: Medium Orchid

RGB
211, 1, 219
HSL
298°, 99%, 43%
CMYK
4, 100, 0, 14
Luminance
0.1899

At a glance

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

Hex
#d301db
Hue
298°
magenta / pink
Saturation
99%
electric
Lightness
43%
dark
Brightness
86%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1899
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.80:1
Closest name
Medium Orchid
ΔE2000 7
Where it sits
Hue298° of 360°
Saturation99%
Lightness43%
Temperature
Warm ← → Cool51% 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#d301db
RGBrgb(211, 1, 219)
HSLhsl(298, 99%, 43%)
CMYKcmyk(4%, 100%, 0%, 14%)
LABlab(50.7 86.3 -56.5)
LCHlch(50.7 103.1 326.8)
OKLCHoklch(0.613 0.284 326.4)
Decimal13828571
Display P3color(display-p3 0.827 0.004 0.859)

Copy-ready code

/* CSS */
color: #d301db;
background-color: #d301db;
/* Tailwind (arbitrary) */
class="text-[#d301db] bg-[#d301db]"
/* SCSS */
$brand: #d301db;
/* SwiftUI */
Color(red: 0.827, green: 0.004, blue: 0.859)
/* Android */
Color.parseColor("#d301db")
/* Flutter */
Color(0xFFD301DB)
/* Python / OpenCV (BGR) */
(219, 1, 211)

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

Accessibility — WCAG contrast

Aa
#d301db on white: 4.38:1
AA ✗ fail · AA-large · AAA
Aa
#d301db on black: 4.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006AE0
deuteranopia · #4F80D7
tritanopia · #D94281

Color scale — 50 to 950

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

#FDF1FE
#FBE3FC
#F9C0FB
#FA8FFE
#F857FE
#F620FE
#EB01F4
#d301db
#9D01A2
#710575
#470349
Base = 700Lightest = 50 · #FDF1FEDarkest = 950 · #470349
:root {
  --brand-50: #FDF1FE;
  --brand-100: #FBE3FC;
  --brand-200: #F9C0FB;
  --brand-300: #FA8FFE;
  --brand-400: #F857FE;
  --brand-500: #F620FE;
  --brand-600: #EB01F4;
  --brand-700: #d301db;
  --brand-800: #9D01A2;
  --brand-900: #710575;
  --brand-950: #470349;
  --brand: #d301db;
  --brand-ink: #000000;
}

Colors that work with #d301db

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#EBC0ED
Hairlines and dividers
Muted text#984B9B
Captions on the surface
Accent#3ACC00
Second voice, not a rival
Dark variant#7A017F
Hover, pressed, headers
Light variant#FEE6FF
Selected rows, tints
Dark surface#241424
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 #d301db

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#09DB01
Analogous left#6601DB
Analogous right#DB0176
Split-complement 1#76DB01
Split-complement 2#01DB66
Triadic 1#DBD301
Triadic 2#01DBD3
Tetradic#DB6601

RGB percentages

Red82.7%
Green0.4%
Blue85.9%

CMYK percentages

Cyan3.7%
Magenta99.5%
Yellow0.0%
Key (black)14.1%

Color previews

#d301db text on a black background

contrast 4.80:1

Card sample

#d301db text on a white background

contrast 4.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d301db

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.

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

#d301db, answered

What color is #d301db?

#d301db is a dark electric magenta / pink, closest to Medium Orchid (ΔE2000 7). It sits at 298° on the hue wheel with 99% saturation and 43% lightness, which reads as neutral.

What is the RGB value of #d301db?

rgb(211, 1, 219) — 211 red, 1 green and 219 blue out of 255, or 82.7% / 0.4% / 85.9% by channel.

Is #d301db a light or a dark color?

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

Should I use black or white text on #d301db?

Black. It scores 4.80:1 against #d301db, versus 4.38:1 for white — AA at any size.

What is the complementary color of #d301db?

#09DB01 sits directly opposite on the wheel. Softer options are the split-complements #76DB01 and #01DB66, which give the same contrast with far less vibration.

What colors go well with #d301db?

For interface work: #FAF4FA as the surface, #EBC0ED for borders, #984B9B for secondary text, #3ACC00 as an accent and #7A017F for hover and pressed states. For a palette, the analogous pair #6601DB and #DB0176 stays calm, while #09DB01 is the loudest partner.

What is #d301db in CMYK for printing?

cmyk(4%, 100%, 0%, 14%). 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 #d301db warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DB0193; nudged cooler, #8300DC.

Work with #d301db in the Color Lab