Skip to content

#d548cf

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

RGB
213, 72, 207
HSL
303°, 63%, 56%
CMYK
0, 66, 3, 17
Luminance
0.2329

At a glance

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

Hex
#d548cf
Hue
303°
magenta / pink
Saturation
63%
vivid
Lightness
56%
balanced
Brightness
84%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2329
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.66:1
Closest name
Medium Orchid
ΔE2000 5
Where it sits
Hue303° of 360°
Saturation63%
Lightness56%
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#d548cf
RGBrgb(213, 72, 207)
HSLhsl(303, 63%, 56%)
CMYKcmyk(0%, 66%, 3%, 17%)
LABlab(55.4 70.2 -42.1)
LCHlch(55.4 81.9 329.0)
OKLCHoklch(0.645 0.230 329.6)
Decimal13977807
Display P3color(display-p3 0.835 0.282 0.812)

Copy-ready code

/* CSS */
color: #d548cf;
background-color: #d548cf;
/* Tailwind (arbitrary) */
class="text-[#d548cf] bg-[#d548cf]"
/* SCSS */
$brand: #d548cf;
/* SwiftUI */
Color(red: 0.835, green: 0.282, blue: 0.812)
/* Android */
Color.parseColor("#d548cf")
/* Flutter */
Color(0xFFD548CF)
/* Python / OpenCV (BGR) */
(207, 72, 213)

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

Accessibility — WCAG contrast

Aa
#d548cf on white: 3.71:1
AA ✗ fail · AA-large · AAA
Aa
#d548cf on black: 5.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3A78D3
deuteranopia · #6F8BCB
tritanopia · #DC5986

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d548cf 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
#E076DB
#d548cf
#C72EC0
#A626A0
#851E80
#611A5D
#3C103A
Base = 500Lightest = 50 · #FBF4FBDarkest = 950 · #3C103A
:root {
  --brand-50: #FBF4FB;
  --brand-100: #F7E8F7;
  --brand-200: #F0CCEF;
  --brand-300: #EAA4E7;
  --brand-400: #E076DB;
  --brand-500: #d548cf;
  --brand-600: #C72EC0;
  --brand-700: #A626A0;
  --brand-800: #851E80;
  --brand-900: #611A5D;
  --brand-950: #3C103A;
  --brand: #d548cf;
  --brand-ink: #000000;
}

Colors that work with #d548cf

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#9B4B97
Captions on the surface
Accent#3EAA22
Second voice, not a rival
Dark variant#681864
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 #d548cf

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#48D54E
Analogous left#9548D5
Analogous right#D54888
Split-complement 1#88D548
Split-complement 2#48D595
Triadic 1#CFD548
Triadic 2#48CFD5
Tetradic#D59548

RGB percentages

Red83.5%
Green28.2%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta66.2%
Yellow2.8%
Key (black)16.5%

Color previews

#d548cf text on a black background

contrast 5.66:1

Card sample

#d548cf text on a white background

contrast 3.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(213, 72, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(213, 72, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d548cf;
background: linear-gradient(135deg, #d548cf, #D54871);

Monochromatic scale

Palettes built from #d548cf

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.

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

#d548cf, answered

What color is #d548cf?

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

What is the RGB value of #d548cf?

rgb(213, 72, 207) — 213 red, 72 green and 207 blue out of 255, or 83.5% / 28.2% / 81.2% by channel.

Is #d548cf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2329 and perceived brightness is 57%, so black text on it reaches 5.66:1.

Should I use black or white text on #d548cf?

Black. It scores 5.66:1 against #d548cf, versus 3.71:1 for white — AA at any size.

What is the complementary color of #d548cf?

#48D54E sits directly opposite on the wheel. Softer options are the split-complements #88D548 and #48D595, which give the same contrast with far less vibration.

What colors go well with #d548cf?

For interface work: #FAF4FA as the surface, #EDC0EB for borders, #9B4B97 for secondary text, #3EAA22 as an accent and #681864 for hover and pressed states. For a palette, the analogous pair #9548D5 and #D54888 stays calm, while #48D54E is the loudest partner.

What is #d548cf in CMYK for printing?

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

Is #d548cf 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 #D5489B; nudged cooler, #A846D7.

Work with #d548cf in the Color Lab