Skip to content

#df034f

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

RGB
223, 3, 79
HSL
339°, 97%, 44%
CMYK
0, 99, 65, 13
Luminance
0.1632

At a glance

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

Hex
#df034f
Hue
339°
magenta / pink
Saturation
97%
electric
Lightness
44%
dark
Brightness
87%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1632
WCAG relative
Temperature
Warm
28/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.93:1
Closest name
Crimson
ΔE2000 5.5
Where it sits
Hue339° of 360°
Saturation97%
Lightness44%
Temperature
Warm ← → Cool28% 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#df034f
RGBrgb(223, 3, 79)
HSLhsl(339, 97%, 44%)
CMYKcmyk(0%, 99%, 65%, 13%)
LABlab(47.4 74.1 22.6)
LCHlch(47.4 77.5 17.0)
OKLCHoklch(0.576 0.229 13.7)
Decimal14615375
Display P3color(display-p3 0.875 0.012 0.310)

Copy-ready code

/* CSS */
color: #df034f;
background-color: #df034f;
/* Tailwind (arbitrary) */
class="text-[#df034f] bg-[#df034f]"
/* SCSS */
$brand: #df034f;
/* SwiftUI */
Color(red: 0.875, green: 0.012, blue: 0.310)
/* Android */
Color.parseColor("#df034f")
/* Flutter */
Color(0xFFDF034F)
/* Python / OpenCV (BGR) */
(79, 3, 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 #df034f · 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: #df034f as text scores 4.93:1 on white and 4.26:1 on black.

Accessibility — WCAG contrast

Aa
#df034f on white: 4.93:1
AA ✓ pass · AA-large · AAA
Aa
#df034f on black: 4.26:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #585650
deuteranopia · #8A7F49
tritanopia · #F5002F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df034f 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
#FCE4EC
#FBC1D5
#FD90B6
#FD5991
#FC226D
#df034f
#C90347
#A10239
#74062C
#48041C
Base = 600Lightest = 50 · #FDF1F5Darkest = 950 · #48041C
:root {
  --brand-50: #FDF1F5;
  --brand-100: #FCE4EC;
  --brand-200: #FBC1D5;
  --brand-300: #FD90B6;
  --brand-400: #FD5991;
  --brand-500: #FC226D;
  --brand-600: #df034f;
  --brand-700: #C90347;
  --brand-800: #A10239;
  --brand-900: #74062C;
  --brand-950: #48041C;
  --brand: #df034f;
  --brand-ink: #ffffff;
}

Colors that work with #df034f

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#EDC0CF
Hairlines and dividers
Muted text#9B4B66
Captions on the surface
Accent#00CC53
Second voice, not a rival
Dark variant#7E022D
Hover, pressed, headers
Light variant#FFE6EE
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 #df034f

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#03DF93
Analogous left#DF03BD
Analogous right#DF2503
Split-complement 1#03DF25
Split-complement 2#03BDDF
Triadic 1#4FDF03
Triadic 2#034FDF
Tetradic#BDDF03

RGB percentages

Red87.5%
Green1.2%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta98.7%
Yellow64.6%
Key (black)12.5%

Color previews

#df034f text on a black background

contrast 4.26:1

Card sample

#df034f text on a white background

contrast 4.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df034f

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.

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

#df034f, answered

What color is #df034f?

#df034f is a dark electric magenta / pink, closest to Crimson (ΔE2000 5.5). It sits at 339° on the hue wheel with 97% saturation and 44% lightness, which reads as warm.

What is the RGB value of #df034f?

rgb(223, 3, 79) — 223 red, 3 green and 79 blue out of 255, or 87.5% / 1.2% / 31% by channel.

Is #df034f a light or a dark color?

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

Should I use black or white text on #df034f?

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

What is the complementary color of #df034f?

#03DF93 sits directly opposite on the wheel. Softer options are the split-complements #03DF25 and #03BDDF, which give the same contrast with far less vibration.

What colors go well with #df034f?

For interface work: #FAF4F6 as the surface, #EDC0CF for borders, #9B4B66 for secondary text, #00CC53 as an accent and #7E022D for hover and pressed states. For a palette, the analogous pair #DF03BD and #DF2503 stays calm, while #03DF93 is the loudest partner.

What is #df034f in CMYK for printing?

cmyk(0%, 99%, 65%, 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 #df034f warm or cool?

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

Work with #df034f in the Color Lab