Skip to content

#df054b

a dark, electric magenta / pink · warm · closest name: Crimson

RGB
223, 5, 75
HSL
341°, 96%, 45%
CMYK
0, 98, 66, 13
Luminance
0.1630

At a glance

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

Hex
#df054b
Hue
341°
magenta / pink
Saturation
96%
electric
Lightness
45%
dark
Brightness
87%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1630
WCAG relative
Temperature
Warm
27/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.93:1
Closest name
Crimson
ΔE2000 4.3
Where it sits
Hue341° of 360°
Saturation96%
Lightness45%
Temperature
Warm ← → Cool27% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#df054b
RGBrgb(223, 5, 75)
HSLhsl(341, 96%, 45%)
CMYKcmyk(0%, 98%, 66%, 13%)
LABlab(47.4 73.8 25.1)
LCHlch(47.4 77.9 18.8)
OKLCHoklch(0.576 0.229 15.1)
Decimal14615883
Display P3color(display-p3 0.875 0.020 0.294)

Copy-ready code

/* CSS */
color: #df054b;
background-color: #df054b;
/* Tailwind (arbitrary) */
class="text-[#df054b] bg-[#df054b]"
/* SCSS */
$brand: #df054b;
/* SwiftUI */
Color(red: 0.875, green: 0.020, blue: 0.294)
/* Android */
Color.parseColor("#df054b")
/* Flutter */
Color(0xFFDF054B)
/* Python / OpenCV (BGR) */
(75, 5, 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#ffffff on #df054b · 4.93:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.93:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.26:1
AA fail · AA large pass · AAA fail
Reading the other direction: #df054b as text scores 4.93:1 on white and 4.26:1 on black.

Accessibility — WCAG contrast

Aa
#df054b on white: 4.93:1
AA ✓ pass · AA-large · AAA
Aa
#df054b on black: 4.26:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #59564B
deuteranopia · #8B7F45
tritanopia · #F5002D

Color scale — 50 to 950

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

#FDF1F5
#FCE4EB
#FAC1D4
#FD91B4
#FB5A8E
#FA2469
#df054b
#C80443
#A00436
#73072A
#48051A
Base = 600Lightest = 50 · #FDF1F5Darkest = 950 · #48051A
:root {
  --brand-50: #FDF1F5;
  --brand-100: #FCE4EB;
  --brand-200: #FAC1D4;
  --brand-300: #FD91B4;
  --brand-400: #FB5A8E;
  --brand-500: #FA2469;
  --brand-600: #df054b;
  --brand-700: #C80443;
  --brand-800: #A00436;
  --brand-900: #73072A;
  --brand-950: #48051A;
  --brand: #df054b;
  --brand-ink: #ffffff;
}

Colors that work with #df054b

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4F6
Tinted page background
Border#EDC0CE
Hairlines and dividers
Muted text#9B4B64
Captions on the surface
Accent#00CC58
Second voice, not a rival
Dark variant#7D032A
Hover, pressed, headers
Light variant#FEE6EE
Selected rows, tints
Dark surface#241419
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 #df054b

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black 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#05DF99
Analogous left#DF05B8
Analogous right#DF2C05
Split-complement 1#05DF2C
Split-complement 2#05B8DF
Triadic 1#4BDF05
Triadic 2#054BDF
Tetradic#B8DF05

RGB percentages

Red87.5%
Green2.0%
Blue29.4%

CMYK percentages

Cyan0.0%
Magenta97.8%
Yellow66.4%
Key (black)12.5%

Color previews

#df054b text on a black background

contrast 4.26:1

Card sample

#df054b text on a white background

contrast 4.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df054b

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.

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

#df054b, answered

What color is #df054b?

#df054b is a dark electric magenta / pink, closest to Crimson (ΔE2000 4.3). It sits at 341° on the hue wheel with 96% saturation and 45% lightness, which reads as warm.

What is the RGB value of #df054b?

rgb(223, 5, 75) — 223 red, 5 green and 75 blue out of 255, or 87.5% / 2% / 29.4% by channel.

Is #df054b a light or a dark color?

It is a dark color. Relative luminance is 0.1630 and perceived brightness is 49%, so white text on it reaches 4.93:1.

Should I use black or white text on #df054b?

White. It scores 4.93:1 against #df054b, versus 4.26:1 for black — AA at any size.

What is the complementary color of #df054b?

#05DF99 sits directly opposite on the wheel. Softer options are the split-complements #05DF2C and #05B8DF, which give the same contrast with far less vibration.

What colors go well with #df054b?

For interface work: #FAF4F6 as the surface, #EDC0CE for borders, #9B4B64 for secondary text, #00CC58 as an accent and #7D032A for hover and pressed states. For a palette, the analogous pair #DF05B8 and #DF2C05 stays calm, while #05DF99 is the loudest partner.

What is #df054b in CMYK for printing?

cmyk(0%, 98%, 66%, 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 #df054b warm or cool?

Warm — it scores 27 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF0F05; nudged cooler, #E1039C.

Work with #df054b in the Color Lab