Skip to content

#df1ac5

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

RGB
223, 26, 197
HSL
308°, 79%, 49%
CMYK
0, 88, 12, 13
Luminance
0.2046

At a glance

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

Hex
#df1ac5
Hue
308°
magenta / pink
Saturation
79%
electric
Lightness
49%
balanced
Brightness
87%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2046
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.09:1
Closest name
Medium Orchid
ΔE2000 8
Where it sits
Hue308° of 360°
Saturation79%
Lightness49%
Temperature
Warm ← → Cool46% 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#df1ac5
RGBrgb(223, 26, 197)
HSLhsl(308, 79%, 49%)
CMYKcmyk(0%, 88%, 12%, 13%)
LABlab(52.4 82.8 -41.0)
LCHlch(52.4 92.4 333.6)
OKLCHoklch(0.625 0.267 335.1)
Decimal14621381
Display P3color(display-p3 0.875 0.102 0.773)

Copy-ready code

/* CSS */
color: #df1ac5;
background-color: #df1ac5;
/* Tailwind (arbitrary) */
class="text-[#df1ac5] bg-[#df1ac5]"
/* SCSS */
$brand: #df1ac5;
/* SwiftUI */
Color(red: 0.875, green: 0.102, blue: 0.773)
/* Android */
Color.parseColor("#df1ac5")
/* Flutter */
Color(0xFFDF1AC5)
/* Python / OpenCV (BGR) */
(197, 26, 223)

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

Accessibility — WCAG contrast

Aa
#df1ac5 on white: 4.12:1
AA ✗ fail · AA-large · AAA
Aa
#df1ac5 on black: 5.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #186BC9
deuteranopia · #6D86C1
tritanopia · #EA3476

Color scale — 50 to 950

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

#FCF3FB
#F9E6F7
#F5C7EF
#F39BE8
#ED68DC
#E836D0
#df1ac5
#B715A1
#921181
#6A115E
#420A3B
Base = 600Lightest = 50 · #FCF3FBDarkest = 950 · #420A3B
:root {
  --brand-50: #FCF3FB;
  --brand-100: #F9E6F7;
  --brand-200: #F5C7EF;
  --brand-300: #F39BE8;
  --brand-400: #ED68DC;
  --brand-500: #E836D0;
  --brand-600: #df1ac5;
  --brand-700: #B715A1;
  --brand-800: #921181;
  --brand-900: #6A115E;
  --brand-950: #420A3B;
  --brand: #df1ac5;
  --brand-ink: #000000;
}

Colors that work with #df1ac5

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#EDC0E7
Hairlines and dividers
Muted text#9B4B90
Captions on the surface
Accent#26BB11
Second voice, not a rival
Dark variant#720D65
Hover, pressed, headers
Light variant#FCE8FA
Selected rows, tints
Dark surface#241422
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 #df1ac5

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#1ADF34
Analogous left#961ADF
Analogous right#DF1A63
Split-complement 1#63DF1A
Split-complement 2#1ADF96
Triadic 1#C5DF1A
Triadic 2#1AC5DF
Tetradic#DF961A

RGB percentages

Red87.5%
Green10.2%
Blue77.3%

CMYK percentages

Cyan0.0%
Magenta88.3%
Yellow11.7%
Key (black)12.5%

Color previews

#df1ac5 text on a black background

contrast 5.09:1

Card sample

#df1ac5 text on a white background

contrast 4.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1ac5

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.

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

#df1ac5, answered

What color is #df1ac5?

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

What is the RGB value of #df1ac5?

rgb(223, 26, 197) — 223 red, 26 green and 197 blue out of 255, or 87.5% / 10.2% / 77.3% by channel.

Is #df1ac5 a light or a dark color?

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

Should I use black or white text on #df1ac5?

Black. It scores 5.09:1 against #df1ac5, versus 4.12:1 for white — AA at any size.

What is the complementary color of #df1ac5?

#1ADF34 sits directly opposite on the wheel. Softer options are the split-complements #63DF1A and #1ADF96, which give the same contrast with far less vibration.

What colors go well with #df1ac5?

For interface work: #FAF4FA as the surface, #EDC0E7 for borders, #9B4B90 for secondary text, #26BB11 as an accent and #720D65 for hover and pressed states. For a palette, the analogous pair #961ADF and #DF1A63 stays calm, while #1ADF34 is the loudest partner.

What is #df1ac5 in CMYK for printing?

cmyk(0%, 88%, 12%, 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 #df1ac5 warm or cool?

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

Work with #df1ac5 in the Color Lab