Skip to content

#df2255

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

RGB
223, 34, 85
HSL
344°, 75%, 50%
CMYK
0, 85, 62, 13
Luminance
0.1749

At a glance

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

Hex
#df2255
Hue
344°
magenta / pink
Saturation
75%
vivid
Lightness
50%
balanced
Brightness
87%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1749
WCAG relative
Temperature
Warm
26/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
4.67:1
Closest name
Crimson
ΔE2000 6.1
Where it sits
Hue344° of 360°
Saturation75%
Lightness50%
Temperature
Warm ← → Cool26% 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#df2255
RGBrgb(223, 34, 85)
HSLhsl(344, 75%, 50%)
CMYKcmyk(0%, 85%, 62%, 13%)
LABlab(48.9 70.5 20.9)
LCHlch(48.9 73.5 16.5)
OKLCHoklch(0.587 0.218 13.5)
Decimal14623317
Display P3color(display-p3 0.875 0.133 0.333)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2255 on white: 4.67:1
AA ✓ pass · AA-large · AAA
Aa
#df2255 on black: 4.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5D5C55
deuteranopia · #8C8250
tritanopia · #F5003A

Color scale — 50 to 950

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

#FCF3F5
#F9E7EC
#F4C8D4
#F19DB4
#EA6C8E
#E33B68
#df2255
#B21A43
#8F1536
#67132A
#410C1A
Base = 600Lightest = 50 · #FCF3F5Darkest = 950 · #410C1A
:root {
  --brand-50: #FCF3F5;
  --brand-100: #F9E7EC;
  --brand-200: #F4C8D4;
  --brand-300: #F19DB4;
  --brand-400: #EA6C8E;
  --brand-500: #E33B68;
  --brand-600: #df2255;
  --brand-700: #B21A43;
  --brand-800: #8F1536;
  --brand-900: #67132A;
  --brand-950: #410C1A;
  --brand: #df2255;
  --brand-ink: #ffffff;
}

Colors that work with #df2255

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#EDC0CC
Hairlines and dividers
Muted text#9B4B60
Captions on the surface
Accent#16B663
Second voice, not a rival
Dark variant#6F102A
Hover, pressed, headers
Light variant#FCE9EE
Selected rows, tints
Dark surface#241418
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 #df2255

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

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • 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#22DFAC
Analogous left#DF22B4
Analogous right#DF4E22
Split-complement 1#22DF4E
Split-complement 2#22B4DF
Triadic 1#55DF22
Triadic 2#2255DF
Tetradic#B4DF22

RGB percentages

Red87.5%
Green13.3%
Blue33.3%

CMYK percentages

Cyan0.0%
Magenta84.8%
Yellow61.9%
Key (black)12.5%

Color previews

#df2255 text on a black background

contrast 4.50:1

Card sample

#df2255 text on a white background

contrast 4.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2255

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.

#df2255 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

Converts to four-color process without much drama. Proof it anyway.

#df2255, answered

What color is #df2255?

#df2255 is a balanced vivid magenta / pink, closest to Crimson (ΔE2000 6.1). It sits at 344° on the hue wheel with 75% saturation and 50% lightness, which reads as warm.

What is the RGB value of #df2255?

rgb(223, 34, 85) — 223 red, 34 green and 85 blue out of 255, or 87.5% / 13.3% / 33.3% by channel.

Is #df2255 a light or a dark color?

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

Should I use black or white text on #df2255?

White. It scores 4.67:1 against #df2255, versus 4.50:1 for black — AA at any size.

What is the complementary color of #df2255?

#22DFAC sits directly opposite on the wheel. Softer options are the split-complements #22DF4E and #22B4DF, which give the same contrast with far less vibration.

What colors go well with #df2255?

For interface work: #FAF4F6 as the surface, #EDC0CC for borders, #9B4B60 for secondary text, #16B663 as an accent and #6F102A for hover and pressed states. For a palette, the analogous pair #DF22B4 and #DF4E22 stays calm, while #22DFAC is the loudest partner.

What is #df2255 in CMYK for printing?

cmyk(0%, 85%, 62%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #df2255 warm or cool?

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

Work with #df2255 in the Color Lab