Skip to content

#df0a4f

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

RGB
223, 10, 79
HSL
341°, 91%, 46%
CMYK
0, 96, 65, 13
Luminance
0.1647

At a glance

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

Hex
#df0a4f
Hue
341°
magenta / pink
Saturation
91%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1647
WCAG relative
Temperature
Warm
27/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.89:1
Closest name
Crimson
ΔE2000 5.3
Where it sits
Hue341° of 360°
Saturation91%
Lightness46%
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#df0a4f
RGBrgb(223, 10, 79)
HSLhsl(341, 91%, 46%)
CMYKcmyk(0%, 96%, 65%, 13%)
LABlab(47.6 73.6 22.9)
LCHlch(47.6 77.0 17.3)
OKLCHoklch(0.577 0.228 14.0)
Decimal14617167
Display P3color(display-p3 0.875 0.039 0.310)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0a4f on white: 4.89:1
AA ✓ pass · AA-large · AAA
Aa
#df0a4f on black: 4.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #595750
deuteranopia · #8A7F49
tritanopia · #F50030

Color scale — 50 to 950

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

#FDF2F5
#FBE4EC
#F9C3D4
#FA94B5
#F85E90
#F5286B
#df0a4f
#C30945
#9C0737
#710A2B
#46061B
Base = 600Lightest = 50 · #FDF2F5Darkest = 950 · #46061B
:root {
  --brand-50: #FDF2F5;
  --brand-100: #FBE4EC;
  --brand-200: #F9C3D4;
  --brand-300: #FA94B5;
  --brand-400: #F85E90;
  --brand-500: #F5286B;
  --brand-600: #df0a4f;
  --brand-700: #C30945;
  --brand-800: #9C0737;
  --brand-900: #710A2B;
  --brand-950: #46061B;
  --brand: #df0a4f;
  --brand-ink: #ffffff;
}

Colors that work with #df0a4f

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#9B4B65
Captions on the surface
Accent#04C858
Second voice, not a rival
Dark variant#7A052B
Hover, pressed, headers
Light variant#FEE7EE
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 #df0a4f

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
  • Brand accents, badges and data highlights
Use with care
  • 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#0ADF9A
Analogous left#DF0AB9
Analogous right#DF300A
Split-complement 1#0ADF30
Split-complement 2#0AB9DF
Triadic 1#4FDF0A
Triadic 2#0A4FDF
Tetradic#B9DF0A

RGB percentages

Red87.5%
Green3.9%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta95.5%
Yellow64.6%
Key (black)12.5%

Color previews

#df0a4f text on a black background

contrast 4.29:1

Card sample

#df0a4f text on a white background

contrast 4.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0a4f

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.

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

#df0a4f, answered

What color is #df0a4f?

#df0a4f is a balanced electric magenta / pink, closest to Crimson (ΔE2000 5.3). It sits at 341° on the hue wheel with 91% saturation and 46% lightness, which reads as warm.

What is the RGB value of #df0a4f?

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

Is #df0a4f a light or a dark color?

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

Should I use black or white text on #df0a4f?

White. It scores 4.89:1 against #df0a4f, versus 4.29:1 for black — AA at any size.

What is the complementary color of #df0a4f?

#0ADF9A sits directly opposite on the wheel. Softer options are the split-complements #0ADF30 and #0AB9DF, which give the same contrast with far less vibration.

What colors go well with #df0a4f?

For interface work: #FAF4F6 as the surface, #EDC0CE for borders, #9B4B65 for secondary text, #04C858 as an accent and #7A052B for hover and pressed states. For a palette, the analogous pair #DF0AB9 and #DF300A stays calm, while #0ADF9A is the loudest partner.

What is #df0a4f in CMYK for printing?

cmyk(0%, 96%, 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 #df0a4f 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 #DF130A; nudged cooler, #E1089E.

Work with #df0a4f in the Color Lab