Skip to content

#d643ba

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

RGB
214, 67, 186
HSL
311°, 64%, 55%
CMYK
0, 69, 13, 16
Luminance
0.2186

At a glance

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

Hex
#d643ba
Hue
311°
magenta / pink
Saturation
64%
vivid
Lightness
55%
balanced
Brightness
84%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2186
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.37:1
Closest name
Medium Orchid
ΔE2000 7.5
Where it sits
Hue311° of 360°
Saturation64%
Lightness55%
Temperature
Warm ← → Cool44% 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#d643ba
RGBrgb(214, 67, 186)
HSLhsl(311, 64%, 55%)
CMYKcmyk(0%, 69%, 13%, 16%)
LABlab(53.9 69.1 -32.4)
LCHlch(53.9 76.3 334.9)
OKLCHoklch(0.631 0.221 336.5)
Decimal14042042
Display P3color(display-p3 0.839 0.263 0.729)

Copy-ready code

/* CSS */
color: #d643ba;
background-color: #d643ba;
/* Tailwind (arbitrary) */
class="text-[#d643ba] bg-[#d643ba]"
/* SCSS */
$brand: #d643ba;
/* SwiftUI */
Color(red: 0.839, green: 0.263, blue: 0.729)
/* Android */
Color.parseColor("#d643ba")
/* Flutter */
Color(0xFFD643BA)
/* Python / OpenCV (BGR) */
(186, 67, 214)

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

Accessibility — WCAG contrast

Aa
#d643ba on white: 3.91:1
AA ✗ fail · AA-large · AAA
Aa
#d643ba on black: 5.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4672BD
deuteranopia · #7789B6
tritanopia · #E14C79

Color scale — 50 to 950

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

#FBF4FA
#F7E8F4
#F1CBE9
#EBA3DD
#E175CC
#d643ba
#C92CAB
#A7258F
#861D72
#611954
#3D1034
Base = 500Lightest = 50 · #FBF4FADarkest = 950 · #3D1034
:root {
  --brand-50: #FBF4FA;
  --brand-100: #F7E8F4;
  --brand-200: #F1CBE9;
  --brand-300: #EBA3DD;
  --brand-400: #E175CC;
  --brand-500: #d643ba;
  --brand-600: #C92CAB;
  --brand-700: #A7258F;
  --brand-800: #861D72;
  --brand-900: #611954;
  --brand-950: #3D1034;
  --brand: #d643ba;
  --brand-ink: #000000;
}

Colors that work with #d643ba

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#FAF4F9
Tinted page background
Border#EDC0E4
Hairlines and dividers
Muted text#9B4B8C
Captions on the surface
Accent#29AC20
Second voice, not a rival
Dark variant#691759
Hover, pressed, headers
Light variant#FAEAF7
Selected rows, tints
Dark surface#241421
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 #d643ba

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#43D65F
Analogous left#A843D6
Analogous right#D64371
Split-complement 1#71D643
Split-complement 2#43D6A8
Triadic 1#BAD643
Triadic 2#43BAD6
Tetradic#D6A843

RGB percentages

Red83.9%
Green26.3%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta68.7%
Yellow13.1%
Key (black)16.1%

Color previews

#d643ba text on a black background

contrast 5.37:1

Card sample

#d643ba text on a white background

contrast 3.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(214, 67, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(214, 67, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d643ba;
background: linear-gradient(135deg, #d643ba, #D64358);

Monochromatic scale

Palettes built from #d643ba

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.

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

#d643ba, answered

What color is #d643ba?

#d643ba is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 7.5). It sits at 311° on the hue wheel with 64% saturation and 55% lightness, which reads as neutral.

What is the RGB value of #d643ba?

rgb(214, 67, 186) — 214 red, 67 green and 186 blue out of 255, or 83.9% / 26.3% / 72.9% by channel.

Is #d643ba a light or a dark color?

It is a mid-tone. Relative luminance is 0.2186 and perceived brightness is 56%, so black text on it reaches 5.37:1.

Should I use black or white text on #d643ba?

Black. It scores 5.37:1 against #d643ba, versus 3.91:1 for white — AA at any size.

What is the complementary color of #d643ba?

#43D65F sits directly opposite on the wheel. Softer options are the split-complements #71D643 and #43D6A8, which give the same contrast with far less vibration.

What colors go well with #d643ba?

For interface work: #FAF4F9 as the surface, #EDC0E4 for borders, #9B4B8C for secondary text, #29AC20 as an accent and #691759 for hover and pressed states. For a palette, the analogous pair #A843D6 and #D64371 stays calm, while #43D65F is the loudest partner.

What is #d643ba in CMYK for printing?

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

Is #d643ba warm or cool?

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

Work with #d643ba in the Color Lab