Skip to content

#d301ee

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

RGB
211, 1, 238
HSL
293°, 99%, 47%
CMYK
11, 100, 0, 7
Luminance
0.2004

At a glance

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

Hex
#d301ee
Hue
293°
magenta / pink
Saturation
99%
electric
Lightness
47%
balanced
Brightness
93%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2004
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.01:1
Closest name
Medium Orchid
ΔE2000 7.1
Where it sits
Hue293° of 360°
Saturation99%
Lightness47%
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#d301ee
RGBrgb(211, 1, 238)
HSLhsl(293, 99%, 47%)
CMYKcmyk(11%, 100%, 0%, 7%)
LABlab(51.9 89.1 -65.3)
LCHlch(51.9 110.5 323.8)
OKLCHoklch(0.626 0.297 321.9)
Decimal13828590
Display P3color(display-p3 0.827 0.004 0.933)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d301ee on white: 4.19:1
AA ✗ fail · AA-large · AAA
Aa
#d301ee on black: 5.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006FF3
deuteranopia · #3C82EA
tritanopia · #D54E8C

Color scale — 50 to 950

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

#FCF1FE
#F9E3FC
#F5C0FB
#F28FFF
#EB57FE
#E51FFE
#d301ee
#B401CB
#9001A3
#680575
#410349
Base = 600Lightest = 50 · #FCF1FEDarkest = 950 · #410349
:root {
  --brand-50: #FCF1FE;
  --brand-100: #F9E3FC;
  --brand-200: #F5C0FB;
  --brand-300: #F28FFF;
  --brand-400: #EB57FE;
  --brand-500: #E51FFE;
  --brand-600: #d301ee;
  --brand-700: #B401CB;
  --brand-800: #9001A3;
  --brand-900: #680575;
  --brand-950: #410349;
  --brand: #d301ee;
  --brand-ink: #000000;
}

Colors that work with #d301ee

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#924B9B
Captions on the surface
Accent#4ACC00
Second voice, not a rival
Dark variant#71017F
Hover, pressed, headers
Light variant#FCE6FF
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 #d301ee

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#1CEE01
Analogous left#5D01EE
Analogous right#EE0192
Split-complement 1#92EE01
Split-complement 2#01EE5D
Triadic 1#EED301
Triadic 2#01EED3
Tetradic#EE5D01

RGB percentages

Red82.7%
Green0.4%
Blue93.3%

CMYK percentages

Cyan11.3%
Magenta99.6%
Yellow0.0%
Key (black)6.7%

Color previews

#d301ee text on a black background

contrast 5.01:1

Card sample

#d301ee text on a white background

contrast 4.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d301ee

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.

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

#d301ee, answered

What color is #d301ee?

#d301ee is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 7.1). It sits at 293° on the hue wheel with 99% saturation and 47% lightness, which reads as neutral.

What is the RGB value of #d301ee?

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

Is #d301ee a light or a dark color?

It is a mid-tone. Relative luminance is 0.2004 and perceived brightness is 55%, so black text on it reaches 5.01:1.

Should I use black or white text on #d301ee?

Black. It scores 5.01:1 against #d301ee, versus 4.19:1 for white — AA at any size.

What is the complementary color of #d301ee?

#1CEE01 sits directly opposite on the wheel. Softer options are the split-complements #92EE01 and #01EE5D, which give the same contrast with far less vibration.

What colors go well with #d301ee?

For interface work: #FAF4FA as the surface, #E8C0ED for borders, #924B9B for secondary text, #4ACC00 as an accent and #71017F for hover and pressed states. For a palette, the analogous pair #5D01EE and #EE0192 stays calm, while #1CEE01 is the loudest partner.

What is #d301ee in CMYK for printing?

cmyk(11%, 100%, 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 #d301ee 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 #EE01B2; nudged cooler, #7C00EF.

Work with #d301ee in the Color Lab