Skip to content

#df115f

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

RGB
223, 17, 95
HSL
337°, 86%, 47%
CMYK
0, 92, 57, 13
Luminance
0.1692

At a glance

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

Hex
#df115f
Hue
337°
magenta / pink
Saturation
86%
electric
Lightness
47%
balanced
Brightness
87%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1692
WCAG relative
Temperature
Warm
29/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.79:1
Closest name
Crimson
ΔE2000 9.3
Where it sits
Hue337° of 360°
Saturation86%
Lightness47%
Temperature
Warm ← → Cool29% 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#df115f
RGBrgb(223, 17, 95)
HSLhsl(337, 86%, 47%)
CMYKcmyk(0%, 92%, 57%, 13%)
LABlab(48.2 73.8 13.8)
LCHlch(48.2 75.1 10.6)
OKLCHoklch(0.583 0.227 8.8)
Decimal14618975
Display P3color(display-p3 0.875 0.067 0.373)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df115f on white: 4.79:1
AA ✓ pass · AA-large · AAA
Aa
#df115f on black: 4.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #575960
deuteranopia · #89805A
tritanopia · #F4003A

Color scale — 50 to 950

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

#FDF2F6
#FAE5ED
#F7C5D8
#F797BB
#F36399
#EF2F77
#df115f
#BE0E51
#980C41
#6E0D31
#44081F
Base = 600Lightest = 50 · #FDF2F6Darkest = 950 · #44081F
:root {
  --brand-50: #FDF2F6;
  --brand-100: #FAE5ED;
  --brand-200: #F7C5D8;
  --brand-300: #F797BB;
  --brand-400: #F36399;
  --brand-500: #EF2F77;
  --brand-600: #df115f;
  --brand-700: #BE0E51;
  --brand-800: #980C41;
  --brand-900: #6E0D31;
  --brand-950: #44081F;
  --brand: #df115f;
  --brand-ink: #ffffff;
}

Colors that work with #df115f

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#FAF4F7
Tinted page background
Border#EDC0D1
Hairlines and dividers
Muted text#9B4B69
Captions on the surface
Accent#0AC24E
Second voice, not a rival
Dark variant#760932
Hover, pressed, headers
Light variant#FDE7F0
Selected rows, tints
Dark surface#24141A
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 #df115f

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#11DF91
Analogous left#DF11C6
Analogous right#DF2A11
Split-complement 1#11DF2A
Split-complement 2#11C6DF
Triadic 1#5FDF11
Triadic 2#115FDF
Tetradic#C6DF11

RGB percentages

Red87.5%
Green6.7%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta92.4%
Yellow57.4%
Key (black)12.5%

Color previews

#df115f text on a black background

contrast 4.38:1

Card sample

#df115f text on a white background

contrast 4.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df115f

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.

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

#df115f, answered

What color is #df115f?

#df115f is a balanced electric magenta / pink, closest to Crimson (ΔE2000 9.3). It sits at 337° on the hue wheel with 86% saturation and 47% lightness, which reads as warm.

What is the RGB value of #df115f?

rgb(223, 17, 95) — 223 red, 17 green and 95 blue out of 255, or 87.5% / 6.7% / 37.3% by channel.

Is #df115f a light or a dark color?

It is a dark color. Relative luminance is 0.1692 and perceived brightness is 50%, so white text on it reaches 4.79:1.

Should I use black or white text on #df115f?

White. It scores 4.79:1 against #df115f, versus 4.38:1 for black — AA at any size.

What is the complementary color of #df115f?

#11DF91 sits directly opposite on the wheel. Softer options are the split-complements #11DF2A and #11C6DF, which give the same contrast with far less vibration.

What colors go well with #df115f?

For interface work: #FAF4F7 as the surface, #EDC0D1 for borders, #9B4B69 for secondary text, #0AC24E as an accent and #760932 for hover and pressed states. For a palette, the analogous pair #DF11C6 and #DF2A11 stays calm, while #11DF91 is the loudest partner.

What is #df115f in CMYK for printing?

cmyk(0%, 92%, 57%, 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 #df115f warm or cool?

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

Work with #df115f in the Color Lab