Skip to content

#d31ade

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

RGB
211, 26, 222
HSL
297°, 79%, 49%
CMYK
5, 88, 0, 13
Luminance
0.1986

At a glance

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

Hex
#d31ade
Hue
297°
magenta / pink
Saturation
79%
electric
Lightness
49%
balanced
Brightness
87%
HSV value
Perceived
55%
weighted brightness
Luminance
0.1986
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.97:1
Closest name
Medium Orchid
ΔE2000 6.2
Where it sits
Hue297° of 360°
Saturation79%
Lightness49%
Temperature
Warm ← → Cool52% 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#d31ade
RGBrgb(211, 26, 222)
HSLhsl(297, 79%, 49%)
CMYKcmyk(5%, 88%, 0%, 13%)
LABlab(51.7 84.3 -56.6)
LCHlch(51.7 101.5 326.1)
OKLCHoklch(0.621 0.279 325.5)
Decimal13834974
Display P3color(display-p3 0.827 0.102 0.871)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d31ade on white: 4.22:1
AA ✗ fail · AA-large · AAA
Aa
#d31ade on black: 4.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006EE3
deuteranopia · #5182DA
tritanopia · #D84984

Color scale — 50 to 950

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

#FCF3FC
#F8E6F9
#F2C7F5
#EE9BF3
#E668ED
#DD36E7
#d31ade
#AD15B7
#8B1192
#65116A
#3F0A42
Base = 600Lightest = 50 · #FCF3FCDarkest = 950 · #3F0A42
:root {
  --brand-50: #FCF3FC;
  --brand-100: #F8E6F9;
  --brand-200: #F2C7F5;
  --brand-300: #EE9BF3;
  --brand-400: #E668ED;
  --brand-500: #DD36E7;
  --brand-600: #d31ade;
  --brand-700: #AD15B7;
  --brand-800: #8B1192;
  --brand-900: #65116A;
  --brand-950: #3F0A42;
  --brand: #d31ade;
  --brand-ink: #000000;
}

Colors that work with #d31ade

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#EAC0ED
Hairlines and dividers
Muted text#964B9B
Captions on the surface
Accent#45BB11
Second voice, not a rival
Dark variant#6C0D72
Hover, pressed, headers
Light variant#FBE8FC
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 #d31ade

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#25DE1A
Analogous left#711ADE
Analogous right#DE1A87
Split-complement 1#87DE1A
Split-complement 2#1ADE71
Triadic 1#DED31A
Triadic 2#1ADED3
Tetradic#DE711A

RGB percentages

Red82.7%
Green10.2%
Blue87.1%

CMYK percentages

Cyan5.0%
Magenta88.3%
Yellow0.0%
Key (black)12.9%

Color previews

#d31ade text on a black background

contrast 4.97:1

Card sample

#d31ade text on a white background

contrast 4.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d31ade

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.

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

#d31ade, answered

What color is #d31ade?

#d31ade is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 6.2). It sits at 297° on the hue wheel with 79% saturation and 49% lightness, which reads as neutral.

What is the RGB value of #d31ade?

rgb(211, 26, 222) — 211 red, 26 green and 222 blue out of 255, or 82.7% / 10.2% / 87.1% by channel.

Is #d31ade a light or a dark color?

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

Should I use black or white text on #d31ade?

Black. It scores 4.97:1 against #d31ade, versus 4.22:1 for white — AA at any size.

What is the complementary color of #d31ade?

#25DE1A sits directly opposite on the wheel. Softer options are the split-complements #87DE1A and #1ADE71, which give the same contrast with far less vibration.

What colors go well with #d31ade?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #964B9B for secondary text, #45BB11 as an accent and #6C0D72 for hover and pressed states. For a palette, the analogous pair #711ADE and #DE1A87 stays calm, while #25DE1A is the loudest partner.

What is #d31ade in CMYK for printing?

cmyk(5%, 88%, 0%, 13%). 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 #d31ade warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DE1AA1; nudged cooler, #8B18E0.

Work with #d31ade in the Color Lab