Skip to content

#d751d2

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

RGB
215, 81, 210
HSL
302°, 63%, 58%
CMYK
0, 62, 2, 16
Luminance
0.2499

At a glance

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

Hex
#d751d2
Hue
302°
magenta / pink
Saturation
63%
vivid
Lightness
58%
balanced
Brightness
84%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2499
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
6.00:1
Closest name
Medium Orchid
ΔE2000 5.4
Where it sits
Hue302° of 360°
Saturation63%
Lightness58%
Temperature
Warm ← → Cool49% 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#d751d2
RGBrgb(215, 81, 210)
HSLhsl(302, 63%, 58%)
CMYKcmyk(0%, 62%, 2%, 16%)
LABlab(57.1 67.7 -41.2)
LCHlch(57.1 79.2 328.7)
OKLCHoklch(0.659 0.222 329.3)
Decimal14111186
Display P3color(display-p3 0.843 0.318 0.824)

Copy-ready code

/* CSS */
color: #d751d2;
background-color: #d751d2;
/* Tailwind (arbitrary) */
class="text-[#d751d2] bg-[#d751d2]"
/* SCSS */
$brand: #d751d2;
/* SwiftUI */
Color(red: 0.843, green: 0.318, blue: 0.824)
/* Android */
Color.parseColor("#d751d2")
/* Flutter */
Color(0xFFD751D2)
/* Python / OpenCV (BGR) */
(210, 81, 215)

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

Accessibility — WCAG contrast

Aa
#d751d2 on white: 3.50:1
AA ✗ fail · AA-large · AAA
Aa
#d751d2 on black: 6.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #447DD6
deuteranopia · #748FCE
tritanopia · #DE618A

Color scale — 50 to 950

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

#FBF4FB
#F7E8F7
#F0CCEF
#EAA4E7
#E076DC
#d751d2
#C72EC1
#A626A1
#851F81
#601A5E
#3C103B
Base = 500Lightest = 50 · #FBF4FBDarkest = 950 · #3C103B
:root {
  --brand-50: #FBF4FB;
  --brand-100: #F7E8F7;
  --brand-200: #F0CCEF;
  --brand-300: #EAA4E7;
  --brand-400: #E076DC;
  --brand-500: #d751d2;
  --brand-600: #C72EC1;
  --brand-700: #A626A1;
  --brand-800: #851F81;
  --brand-900: #601A5E;
  --brand-950: #3C103B;
  --brand: #d751d2;
  --brand-ink: #000000;
}

Colors that work with #d751d2

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#EDC0EB
Hairlines and dividers
Muted text#9B4B98
Captions on the surface
Accent#3FAA22
Second voice, not a rival
Dark variant#681865
Hover, pressed, headers
Light variant#FAEAFA
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 #d751d2

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#51D756
Analogous left#9951D7
Analogous right#D7518F
Split-complement 1#8FD751
Split-complement 2#51D799
Triadic 1#D2D751
Triadic 2#51D2D7
Tetradic#D79951

RGB percentages

Red84.3%
Green31.8%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta62.3%
Yellow2.3%
Key (black)15.7%

Color previews

#d751d2 text on a black background

contrast 6.00:1

Card sample

#d751d2 text on a white background

contrast 3.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(215, 81, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(215, 81, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d751d2;
background: linear-gradient(135deg, #d751d2, #D75179);

Monochromatic scale

Palettes built from #d751d2

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.

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

#d751d2, answered

What color is #d751d2?

#d751d2 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 5.4). It sits at 302° on the hue wheel with 63% saturation and 58% lightness, which reads as neutral.

What is the RGB value of #d751d2?

rgb(215, 81, 210) — 215 red, 81 green and 210 blue out of 255, or 84.3% / 31.8% / 82.4% by channel.

Is #d751d2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2499 and perceived brightness is 59%, so black text on it reaches 6.00:1.

Should I use black or white text on #d751d2?

Black. It scores 6.00:1 against #d751d2, versus 3.50:1 for white — AA at any size.

What is the complementary color of #d751d2?

#51D756 sits directly opposite on the wheel. Softer options are the split-complements #8FD751 and #51D799, which give the same contrast with far less vibration.

What colors go well with #d751d2?

For interface work: #FAF4FA as the surface, #EDC0EB for borders, #9B4B98 for secondary text, #3FAA22 as an accent and #681865 for hover and pressed states. For a palette, the analogous pair #9951D7 and #D7518F stays calm, while #51D756 is the loudest partner.

What is #d751d2 in CMYK for printing?

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

Is #d751d2 warm or cool?

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

Work with #d751d2 in the Color Lab