Skip to content

#d366db

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

RGB
211, 102, 219
HSL
296°, 62%, 63%
CMYK
4, 53, 0, 14
Luminance
0.2847

At a glance

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

Hex
#d366db
Hue
296°
magenta / pink
Saturation
62%
vivid
Lightness
63%
balanced
Brightness
86%
HSV value
Perceived
62%
weighted brightness
Luminance
0.2847
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
6.69:1
Closest name
Orchid
ΔE2000 3.2
Where it sits
Hue296° of 360°
Saturation62%
Lightness63%
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#d366db
RGBrgb(211, 102, 219)
HSLhsl(296, 62%, 63%)
CMYKcmyk(4%, 53%, 0%, 14%)
LABlab(60.3 59.0 -41.2)
LCHlch(60.3 72.0 325.1)
OKLCHoklch(0.683 0.197 324.8)
Decimal13854427
Display P3color(display-p3 0.827 0.400 0.859)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d366db on white: 3.14:1
AA ✗ fail · AA-large · AAA
Aa
#d366db on black: 6.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5689DF
deuteranopia · #7996D8
tritanopia · #D77597

Color scale — 50 to 950

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

#FBF4FB
#F6E8F7
#EDCCF0
#E5A4EA
#d366db
#CB49D4
#BC2FC6
#9D27A5
#7D1F84
#5B1A60
#39103C
Base = 400Lightest = 50 · #FBF4FBDarkest = 950 · #39103C
:root {
  --brand-50: #FBF4FB;
  --brand-100: #F6E8F7;
  --brand-200: #EDCCF0;
  --brand-300: #E5A4EA;
  --brand-400: #d366db;
  --brand-500: #CB49D4;
  --brand-600: #BC2FC6;
  --brand-700: #9D27A5;
  --brand-800: #7D1F84;
  --brand-900: #5B1A60;
  --brand-950: #39103C;
  --brand: #d366db;
  --brand-ink: #000000;
}

Colors that work with #d366db

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#954B9B
Captions on the surface
Accent#4EA923
Second voice, not a rival
Dark variant#621867
Hover, pressed, headers
Light variant#F9EAFA
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 #d366db

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#6EDB66
Analogous left#9866DB
Analogous right#DB66A8
Split-complement 1#A8DB66
Split-complement 2#66DB98
Triadic 1#DBD366
Triadic 2#66DBD3
Tetradic#DB9866

RGB percentages

Red82.7%
Green40.0%
Blue85.9%

CMYK percentages

Cyan3.7%
Magenta53.4%
Yellow0.0%
Key (black)14.1%

Color previews

#d366db text on a black background

contrast 6.69:1

Card sample

#d366db text on a white background

contrast 3.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d366db

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.

#d366db 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

Converts to four-color process without much drama. Proof it anyway.

#d366db, answered

What color is #d366db?

#d366db is a balanced vivid magenta / pink, closest to Orchid (ΔE2000 3.2). It sits at 296° on the hue wheel with 62% saturation and 63% lightness, which reads as neutral.

What is the RGB value of #d366db?

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

Is #d366db a light or a dark color?

It is a mid-tone. Relative luminance is 0.2847 and perceived brightness is 62%, so black text on it reaches 6.69:1.

Should I use black or white text on #d366db?

Black. It scores 6.69:1 against #d366db, versus 3.14:1 for white — AA at any size.

What is the complementary color of #d366db?

#6EDB66 sits directly opposite on the wheel. Softer options are the split-complements #A8DB66 and #66DB98, which give the same contrast with far less vibration.

What colors go well with #d366db?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #954B9B for secondary text, #4EA923 as an accent and #621867 for hover and pressed states. For a palette, the analogous pair #9866DB and #DB66A8 stays calm, while #6EDB66 is the loudest partner.

What is #d366db in CMYK for printing?

cmyk(4%, 53%, 0%, 14%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #d366db 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 #DB66B8; nudged cooler, #A864DD.

Work with #d366db in the Color Lab