Skip to content

#df155c

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

RGB
223, 21, 92
HSL
339°, 83%, 48%
CMYK
0, 91, 59, 13
Luminance
0.1700

At a glance

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

Hex
#df155c
Hue
339°
magenta / pink
Saturation
83%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1700
WCAG relative
Temperature
Warm
28/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.77:1
Closest name
Crimson
ΔE2000 8.4
Where it sits
Hue339° of 360°
Saturation83%
Lightness48%
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#df155c
RGBrgb(223, 21, 92)
HSLhsl(339, 83%, 48%)
CMYKcmyk(0%, 91%, 59%, 13%)
LABlab(48.3 73.1 15.8)
LCHlch(48.3 74.8 12.2)
OKLCHoklch(0.583 0.225 10.0)
Decimal14619996
Display P3color(display-p3 0.875 0.082 0.361)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df155c on white: 4.77:1
AA ✓ pass · AA-large · AAA
Aa
#df155c on black: 4.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #58595D
deuteranopia · #8A8057
tritanopia · #F40039

Color scale — 50 to 950

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

#FCF2F6
#FAE6ED
#F6C6D7
#F598B9
#F16596
#EC3273
#df155c
#BA124D
#950E3E
#6C0F2F
#43091E
Base = 600Lightest = 50 · #FCF2F6Darkest = 950 · #43091E
:root {
  --brand-50: #FCF2F6;
  --brand-100: #FAE6ED;
  --brand-200: #F6C6D7;
  --brand-300: #F598B9;
  --brand-400: #F16596;
  --brand-500: #EC3273;
  --brand-600: #df155c;
  --brand-700: #BA124D;
  --brand-800: #950E3E;
  --brand-900: #6C0F2F;
  --brand-950: #43091E;
  --brand: #df155c;
  --brand-ink: #ffffff;
}

Colors that work with #df155c

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#EDC0D0
Hairlines and dividers
Muted text#9B4B67
Captions on the surface
Accent#0DBF54
Second voice, not a rival
Dark variant#750B30
Hover, pressed, headers
Light variant#FDE8EF
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 #df155c

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#15DF98
Analogous left#DF15C1
Analogous right#DF3315
Split-complement 1#15DF33
Split-complement 2#15C1DF
Triadic 1#5CDF15
Triadic 2#155CDF
Tetradic#C1DF15

RGB percentages

Red87.5%
Green8.2%
Blue36.1%

CMYK percentages

Cyan0.0%
Magenta90.6%
Yellow58.7%
Key (black)12.5%

Color previews

#df155c text on a black background

contrast 4.40:1

Card sample

#df155c text on a white background

contrast 4.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df155c

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.

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

#df155c, answered

What color is #df155c?

#df155c is a balanced electric magenta / pink, closest to Crimson (ΔE2000 8.4). It sits at 339° on the hue wheel with 83% saturation and 48% lightness, which reads as warm.

What is the RGB value of #df155c?

rgb(223, 21, 92) — 223 red, 21 green and 92 blue out of 255, or 87.5% / 8.2% / 36.1% by channel.

Is #df155c a light or a dark color?

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

Should I use black or white text on #df155c?

White. It scores 4.77:1 against #df155c, versus 4.40:1 for black — AA at any size.

What is the complementary color of #df155c?

#15DF98 sits directly opposite on the wheel. Softer options are the split-complements #15DF33 and #15C1DF, which give the same contrast with far less vibration.

What colors go well with #df155c?

For interface work: #FAF4F6 as the surface, #EDC0D0 for borders, #9B4B67 for secondary text, #0DBF54 as an accent and #750B30 for hover and pressed states. For a palette, the analogous pair #DF15C1 and #DF3315 stays calm, while #15DF98 is the loudest partner.

What is #df155c in CMYK for printing?

cmyk(0%, 91%, 59%, 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 #df155c 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 #DF1815; nudged cooler, #E113A7.

Work with #df155c in the Color Lab