Skip to content

#df7eca

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

RGB
223, 126, 202
HSL
313°, 60%, 68%
CMYK
0, 44, 9, 13
Luminance
0.3487

At a glance

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

Hex
#df7eca
Hue
313°
magenta / pink
Saturation
60%
vivid
Lightness
68%
light
Brightness
87%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3487
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.97:1
Closest name
Orchid
ΔE2000 5
Where it sits
Hue313° of 360°
Saturation60%
Lightness68%
Temperature
Warm ← → Cool43% 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#df7eca
RGBrgb(223, 126, 202)
HSLhsl(313, 60%, 68%)
CMYKcmyk(0%, 44%, 9%, 13%)
LABlab(65.7 47.7 -23.2)
LCHlch(65.7 53.1 334.1)
OKLCHoklch(0.723 0.151 335.6)
Decimal14646986
Display P3color(display-p3 0.875 0.494 0.792)

Copy-ready code

/* CSS */
color: #df7eca;
background-color: #df7eca;
/* Tailwind (arbitrary) */
class="text-[#df7eca] bg-[#df7eca]"
/* SCSS */
$brand: #df7eca;
/* SwiftUI */
Color(red: 0.875, green: 0.494, blue: 0.792)
/* Android */
Color.parseColor("#df7eca")
/* Flutter */
Color(0xFFDF7ECA)
/* Python / OpenCV (BGR) */
(202, 126, 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 #df7eca · 7.97:1
Use #000000AAA at every size.
Aa
White text · 2.63:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.97:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #df7eca as text scores 2.63:1 on white and 7.97:1 on black.

Accessibility — WCAG contrast

Aa
#df7eca on white: 2.63:1
AA ✗ fail · AA-large · AAA
Aa
#df7eca on black: 7.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7F96CD
deuteranopia · #98A5C7
tritanopia · #E8829B

Color scale — 50 to 950

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

#FBF4F9
#F7E9F4
#EFCCE8
#E9A5DA
#df7eca
#D24BB5
#C431A4
#A32989
#83206D
#5F1B50
#3B1132
Base = 400Lightest = 50 · #FBF4F9Darkest = 950 · #3B1132
:root {
  --brand-50: #FBF4F9;
  --brand-100: #F7E9F4;
  --brand-200: #EFCCE8;
  --brand-300: #E9A5DA;
  --brand-400: #df7eca;
  --brand-500: #D24BB5;
  --brand-600: #C431A4;
  --brand-700: #A32989;
  --brand-800: #83206D;
  --brand-900: #5F1B50;
  --brand-950: #3B1132;
  --brand: #df7eca;
  --brand-ink: #000000;
}

Colors that work with #df7eca

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#EDC0E3
Hairlines and dividers
Muted text#9B4B8A
Captions on the surface
Accent#28A725
Second voice, not a rival
Dark variant#661955
Hover, pressed, headers
Light variant#FAEBF7
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 #df7eca

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#7EDF93
Analogous left#C37EDF
Analogous right#DF7E99
Split-complement 1#99DF7E
Split-complement 2#7EDFC3
Triadic 1#CADF7E
Triadic 2#7ECADF
Tetradic#DFC37E

RGB percentages

Red87.5%
Green49.4%
Blue79.2%

CMYK percentages

Cyan0.0%
Magenta43.5%
Yellow9.4%
Key (black)12.5%

Color previews

#df7eca text on a black background

contrast 7.97:1

Card sample

#df7eca text on a white background

contrast 2.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df7eca

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.

#df7eca 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#df7eca, answered

What color is #df7eca?

#df7eca is a light vivid magenta / pink, closest to Orchid (ΔE2000 5). It sits at 313° on the hue wheel with 60% saturation and 68% lightness, which reads as neutral.

What is the RGB value of #df7eca?

rgb(223, 126, 202) — 223 red, 126 green and 202 blue out of 255, or 87.5% / 49.4% / 79.2% by channel.

Is #df7eca a light or a dark color?

It is a mid-tone. Relative luminance is 0.3487 and perceived brightness is 67%, so black text on it reaches 7.97:1.

Should I use black or white text on #df7eca?

Black. It scores 7.97:1 against #df7eca, versus 2.63:1 for white — AAA at any size.

What is the complementary color of #df7eca?

#7EDF93 sits directly opposite on the wheel. Softer options are the split-complements #99DF7E and #7EDFC3, which give the same contrast with far less vibration.

What colors go well with #df7eca?

For interface work: #FAF4F9 as the surface, #EDC0E3 for borders, #9B4B8A for secondary text, #28A725 as an accent and #661955 for hover and pressed states. For a palette, the analogous pair #C37EDF and #DF7E99 stays calm, while #7EDF93 is the loudest partner.

What is #df7eca in CMYK for printing?

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

Is #df7eca warm or cool?

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

Work with #df7eca in the Color Lab