Skip to content
magenta / pink · warm

#df387d

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

Token name suggestion: Studio Fuchsia

RGB
223, 56, 125
HSL
335°, 72%, 55%
CMYK
0, 75, 44, 13
Luminance
0.2000

#df387d is a balanced vivid magenta / pink, 335° on the wheel and 30/100 on the cool side. Put black text on it (5.00:1). As text it scores 4.20:1 on white — large text only. Nearest name is Deep Pink, nearest Tailwind family is pink.

hsl(335 72% 55%)rgb(223 56 125)Base step 500AA inkWarm

At a glance

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

Hex
#df387d
Hue
335°
magenta / pink
Saturation
72%
vivid
Lightness
55%
balanced
Brightness
87%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2000
WCAG relative
Temperature
Warm
30/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.00:1
Closest name
Deep Pink
ΔE2000 6
Chroma
67.8
LCH, 0–130ish
OKLCH L
0.612
perceptual lightness
Tailwind
pink
500 · ΔE 6.1
Web-safe
#CC3366
nearest of 216
Where it sits
Hue335° of 360°
Saturation72%
Lightness55%
Saturation × lightness field

Left edge is grey, right edge is full chroma; top is white, bottom is black. The dot is #df387d.

Temperature
Warm ← → Cool30% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Luminance by channel
Red78%
Green14%
Blue7%

Green carries most of what the eye calls brightness — that is why WCAG weights it 0.7152.

Every format

HEX#df387d
HEX (8-digit)#df387dff
RGBrgb(223, 56, 125)
RGBArgba(223, 56, 125, 1)
HSLhsl(335, 72%, 55%)
HSV / HSBhsv(335, 75%, 87%)
HWBhwb(335 22% 13%)
CMYKcmyk(0%, 75%, 44%, 13%)
LABlab(51.8 67.8 0.7)
LCHlch(51.8 67.8 0.6)
OKLCHoklch(0.612 0.208 0.7)
XYZ (D65)xyz(35.55, 20.00, 21.39)
Decimal14628989
Display P3color(display-p3 0.875 0.220 0.490)
Web-safe#CC3366

Copy-ready code

every platformclick to select
/* CSS */
color: #df387d;
background-color: #df387d;
/* CSS custom property */
--brand: #df387d;
/* Tailwind (arbitrary) */
class="text-[#df387d] bg-[#df387d]"
/* SCSS */
$brand: #df387d;
/* SwiftUI */
Color(red: 0.875, green: 0.220, blue: 0.490)
/* UIKit */
UIColor(red: 0.875, green: 0.220, blue: 0.490, alpha: 1)
/* Android XML */
<color name="brand">#DF387D</color>
/* Android Compose */
Color(0xFFDF387D)
/* Flutter */
Color(0xFFDF387D)
/* Python / OpenCV (BGR) */
(125, 56, 223)
/* Python / PIL (RGB) */
(223, 56, 125)
/* Java AWT */
new Color(223, 56, 125)
/* .NET */
Color.FromArgb(255, 223, 56, 125)
/* OpenGL / Unity (0–1) */
(0.8745f, 0.2196f, 0.4902f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{223,56,125}
modern cssclick to select
/* mix without leaving CSS */
background: color-mix(in oklab, #df387d 85%, white);
border-color: color-mix(in oklab, #df387d 40%, transparent);
/* theme-aware in one line */
color: light-dark(#6E1238, #EED3DE);
/* relative colour syntax */
--hover: hsl(from #df387d h s calc(l - 7));

Design tokens

The same ramp in the four formats a team actually needs. Paste one and the whole palette lands with it.

css custom propertiesclick to select
:root {
  --brand-50: #FCF3F7;
  --brand-100: #F8E7EE;
  --brand-200: #F3C9DA;
  --brand-300: #EF9EC0;
  --brand-400: #E86EA0;
  --brand-500: #df387d;
  --brand-600: #D3226B;
  --brand-700: #B01C59;
  --brand-800: #8D1747;
  --brand-900: #661436;
  --brand-950: #400D22;
  --brand: #df387d;
  --brand-ink: #000000;
  --brand-surface: #FAF4F7;
  --brand-border: #EDC0D2;
  --brand-hover: #D2226A;
  --brand-pressed: #B31D5B;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-surface: #24141B;
    --brand-ink: #EED3DE;
  }
}
tailwind.config.jsclick to select
theme: {
  extend: {
    colors: {
      brand: {
        50: '#FCF3F7',
        100: '#F8E7EE',
        200: '#F3C9DA',
        300: '#EF9EC0',
        400: '#E86EA0',
        500: '#df387d',
        600: '#D3226B',
        700: '#B01C59',
        800: '#8D1747',
        900: '#661436',
        950: '#400D22',
        DEFAULT: '#df387d',
      },
    },
  },
}
scss mapclick to select
$brand: (
  '50': #FCF3F7,
  '100': #F8E7EE,
  '200': #F3C9DA,
  '300': #EF9EC0,
  '400': #E86EA0,
  '500': #df387d,
  '600': #D3226B,
  '700': #B01C59,
  '800': #8D1747,
  '900': #661436,
  '950': #400D22,
);
$brand-base: #df387d;
$brand-ink: #000000;

@function brand($step) { @return map-get($brand, $step); }
w3c design tokens (json)click to select
{
  "color": {
    "brand": {
      "50": { "$value": "#FCF3F7", "$type": "color" },
      "100": { "$value": "#F8E7EE", "$type": "color" },
      "200": { "$value": "#F3C9DA", "$type": "color" },
      "300": { "$value": "#EF9EC0", "$type": "color" },
      "400": { "$value": "#E86EA0", "$type": "color" },
      "500": { "$value": "#df387d", "$type": "color" },
      "600": { "$value": "#D3226B", "$type": "color" },
      "700": { "$value": "#B01C59", "$type": "color" },
      "800": { "$value": "#8D1747", "$type": "color" },
      "900": { "$value": "#661436", "$type": "color" },
      "950": { "$value": "#400D22", "$type": "color" }
    },
    "brandInk": { "$value": "#000000", "$type": "color" }
  }
}

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#000000 on #df387d · 5.00:1
Use #000000AA at every size, AAA for large text only.
Aa
12px
Aa
16px
Aa
24px
Aa
White text · 4.20:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.00:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #df387d as text scores 4.20:1 on white and 5.00:1 on black.
Best tinted ink on it, if plain black or white feels flat: #6E1238 at 2.77:1.

Make it accessible

A contrast checker tells you that you failed. This tells you what to ship instead — same hue, same saturation, lightness moved only as far as WCAG demands.

The quick fox
#DC2672 · 4.60:1
AA on white−4% L
#DC2672
The quick fox
#AA1B56 · 7.00:1
AAA on white−16% L
#AA1B56
The quick fox
#df387d · 5.00:1
AA on blackalready passes
#df387d
The quick fox
#E76D9F · 7.09:1
AAA on black+12% L
#E76D9F

Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #DF387D is enough for headings on white. Non-text elements such as icons, chart strokes and focus rings also sit at 3:1 under WCAG 2.2 (1.4.11).

Accessibility — WCAG contrast

Aa
#df387d on white: 4.20:1
AA ✗ fail · AA-large · AAA
Aa
#df387d on black: 5.00:1
AA ✓ pass · AA-large · AAA
Against the neutral ladder

Contrast is symmetric, so each row covers both directions: #df387d as text on that neutral, and that neutral as text on #df387d.

NeutralRatioBoth directions
White4.20:1AaAa
Slate 504.01:1AaAa
Slate 1003.83:1AaAa
Slate 2003.41:1AaAa
Slate 3002.83:1AaAa
Slate 4001.64:1AaAa
Slate 5001.13:1AaAa
Slate 6001.80:1AaAa
Slate 7002.47:1AaAa
Slate 8003.48:1AaAa
Slate 9004.25:1AaAa
Black5.00:1AaAa
Colour vision deficiency
true color
protanopia · #5E677F
deuteranopia · #8B8779
tritanopia · #F21856

Roughly one man in twelve has some form of colour vision deficiency. If any of the three panels above is hard to tell apart from a neighbouring colour in your palette, add a shape, an icon or a label so the meaning does not rest on hue alone.

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df387d is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF3F7
#F8E7EE
#F3C9DA
#EF9EC0
#E86EA0
#df387d
#D3226B
#B01C59
#8D1747
#661436
#400D22
Base = 500Lightest = 50 · #FCF3F7Darkest = 950 · #400D22Text step on white = 600
Perceptual ramp — OKLCH

The same eleven steps expressed in OKLCH, where equal lightness numbers actually look equally spaced. HSL ramps go muddy in the yellows and washed out in the blues; this one does not. Modern browsers render it natively — the hex ramp above is the fallback.

50100200300400500600700800900950
oklch tokensclick to select
:root {
  --brand-50: oklch(0.97 0.052 0.7);
  --brand-100: oklch(0.94 0.083 0.7);
  --brand-200: oklch(0.88 0.125 0.7);
  --brand-300: oklch(0.80 0.162 0.7);
  --brand-400: oklch(0.72 0.192 0.7);
  --brand-500: oklch(0.64 0.208 0.7);
  --brand-600: oklch(0.56 0.208 0.7);
  --brand-700: oklch(0.48 0.196 0.7);
  --brand-800: oklch(0.40 0.175 0.7);
  --brand-900: oklch(0.32 0.146 0.7);
  --brand-950: oklch(0.24 0.115 0.7);
}

Colors that work with #df387d

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4F7
Tinted page background
Border#EDC0D2
Hairlines and dividers
Muted text#9B4B6C
Captions on the surface
Accent#18B44D
Second voice, not a rival
Dark variant#6E1238
Hover, pressed, headers
Light variant#FBE9F1
Selected rows, tints
Dark surface#24141B
Dark-mode background
Hover#D2226A
One step down in lightness
Pressed#B31D5B
Two steps down
Disabled#D1B7C1
Chroma pulled out
Focus ring#EC3F87
Offset from the fill so it reads
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

In real components

The same eight roles, wired into the interface patterns you will actually build with them. Every state below is a computed value, not a mock-up.

Buttons and states
Save changesHoverPressedDisabled
OutlineSubtleLinkFocused
Form field
you@company.com

Focus ring uses the light variant so the field still reads as one shape.

Send me product updates
Notice
Your export is ready

The file stays available for seven days. Download it before it expires.

NewBetaDraft
Data
Storage used68%
Acme LtdActive
NorthwindTrial
GlobexActive

How to use #df387d

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

Works well for
  • Headings from 24px up 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
  • Chart series and data categories
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate
Minimum size as text on white
24px / 18.66px bold
Safe as a fill behind white type
No — use #6E1238
Safe as a 1px border on white
Yes

Meaning and mood

What a colour in this family tends to signal, and how this particular chroma and lightness change the reading.

expressiveyouthfulwarmconfident

Pink is the fastest way to signal that a product is not another enterprise dashboard. It carries beauty, fashion and culture brands.

This is a confident chroma: strong enough to lead a brand, restrained enough to live in an interface all day. The mid lightness keeps it versatile in both themes.

Worth knowing

Strong gendered associations in some markets — test it with the audience you actually have.

Reads as
  • FormalityMedium
  • EnergyMedium-high
  • Weight45/100
  • TemperatureWarm
  • ApproachabilityHigh

Colour associations are cultural and vary by market. Treat these as a starting point for a conversation with your audience, not a finding about them.

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#38DF9A
Analogous left#DF38D1
Analogous right#DF4638
Split-complement 1#38DF46
Split-complement 2#38D1DF
Triadic 1#7DDF38
Triadic 2#387DDF
Tetradic#D1DF38
On the wheel
Base+30°−30°+120°+240°+180°335°

#df387d sits at 335°. Every dot is a harmony position and links to its own page in the table alongside.

RGB percentages

Red87.5%
Green22.0%
Blue49.0%
R · 0–255
223
0xdf
G · 0–255
56
0x38
B · 0–255
125
0x7d

CMYK percentages

Cyan0.0%
Magenta74.9%
Yellow43.9%
Key (black)12.5%

Total ink coverage is 131%. Most commercial presses cap around 300% — above that, sheets stop drying properly.

Color previews

#df387d text on a black background

contrast 5.00:1

Card sample

#df387d text on a white background

contrast 4.20:1

Card sample

#df387d on grey

3.83:1

#df387d on its own surface

3.87:1

#df387d on its dark surface

4.20:1

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Gradient headline

background: linear-gradient(90deg, #df387d, #DF8C38);
-webkit-background-clip: text;
color: transparent;
Focus ring
Focused control
outline: 2px solid #df387d;
outline-offset: 3px;
Underline & caret

Marked up text

text-decoration-color: #df387d;
caret-color: #df387d;
Left rule
Pull quote or callout
border-left: 4px solid #df387d;
Ring + tint
Selected chip
background: #FBE9F1;
box-shadow: inset 0 0 0 2px #df387d;
Conic badge
68%
background: conic-gradient(#df387d 68%, #e2e8f0 0);

Transparency

What each alpha value actually composites to. The top row is #df387d over white; the bottom row is the same alpha over a checkerboard, so you can see what survives on a photo or a video.

Bottom row of hexes is the flattened result over white — use those when a design tool refuses transparency, or when you need a solid fallback.

alpha in every syntaxclick to select
rgba(223, 56, 125, 0.5)
rgb(223 56 125 / 50%)
#df387d80
hsl(335 72% 55% / 50%)
color-mix(in srgb, #df387d 50%, transparent)
Alpha8-digit hexFlat on white
10%#df387d1a#FCEBF2
20%#df387d33#F9D7E5
40%#df387d66#F2AFCB
60%#df387d99#EC88B1
80%#df387dcc#E56097

Gradients from #df387d

Six recipes, each built from this hex and shown with the exact CSS that produced it.

Elevation
Same hue, three lightnesses — safe anywhere
background: linear-gradient(135deg, #E76D9F, #df387d 45%, #6E1238);
Duotone
A short hue run reads richer than a flat fill
background: linear-gradient(120deg, #df387d, #D65F22);
Complement sweep
Loud — keep it behind large type only
background: linear-gradient(90deg, #df387d, #38DF9A);
Spotlight
Hero panels and app headers
background: radial-gradient(120% 120% at 20% 0%, #EC87B1 0%, #df387d 45%, #6E1238 100%);
Soft wash
Section backgrounds that stay readable
background: linear-gradient(180deg, #FAF4F7, #ffffff);
Mesh
Ambient background, no image weight
background: radial-gradient(60% 60% at 15% 20%, #E664E6 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #E36B52 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #6E1238 0%, transparent 65%), #df387d;

Monochromatic scale

Palettes built from #df387d

Shades — darker

Tints — lighter

Tones — desaturated

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.

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

On screens

Holds up across typical panel gamma. Still worth checking on an uncalibrated laptop, where mid-tones shift most.

In dark mode

Usable as-is on a dark surface at 5.00:1.

Explore nearby colors

Small, deliberate steps away from this hex — useful when you are hunting for the version of a colour that finally feels right.

#df387d, answered

What color is #df387d?

#df387d is a balanced vivid magenta / pink, closest to Deep Pink (ΔE2000 6). It sits at 335° on the hue wheel with 72% saturation and 55% lightness, which reads as warm.

What is the RGB value of #df387d?

rgb(223, 56, 125) — 223 red, 56 green and 125 blue out of 255, or 87.5% / 22% / 49% by channel.

What is #df387d in HSL and HSV?

hsl(335, 72%, 55%) and hsv(335, 75%, 87%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.

Is #df387d a light or a dark color?

It is a mid-tone. Relative luminance is 0.2000 and perceived brightness is 53%, so black text on it reaches 5.00:1.

Should I use black or white text on #df387d?

Black. It scores 5.00:1 against #df387d, versus 4.20:1 for white — AA at any size.

Is #df387d accessible on a white background?

#df387d on white scores 4.20:1, which only clears AA for large text — 18.66px bold or 24px regular and up. Darken it to #DC2672 to reach 4.5:1, or #AA1B56 for 7:1.

What is the complementary color of #df387d?

#38DF9A sits directly opposite on the wheel. Softer options are the split-complements #38DF46 and #38D1DF, which give the same contrast with far less vibration.

What colors go well with #df387d?

For interface work: #FAF4F7 as the surface, #EDC0D2 for borders, #9B4B6C for secondary text, #18B44D as an accent and #6E1238 for hover and pressed states. For a palette, the analogous pair #DF38D1 and #DF4638 stays calm, while #38DF9A is the loudest partner.

What is #df387d in CMYK for printing?

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

Is #df387d warm or cool?

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

Which Tailwind color is closest to #df387d?

The pink family — its 500 step is #ec4899, ΔE2000 6.1 away. That is a visible difference, so define #df387d as a custom token rather than reaching for the built-in.

How do I use #df387d in Tailwind CSS?

Inline it as an arbitrary value with bg-[#df387d] or text-[#df387d], or register the whole ramp under theme.extend.colors.brand so you get bg-brand-500 and friends. The generated 50–950 scale on this page is ready to paste into your config.

What is #df387d with 50% opacity?

rgba(223, 56, 125, 0.5), or #df387d80 in eight-digit hex. Over white that composites to #EF9CBE; over black, #701C3F.

Is #df387d a web-safe color?

No. The nearest web-safe colour is #CC3366, ΔE2000 5.8 away. The palette only matters for legacy displays and some email clients now.

What does the color #df387d mean?

As a magenta / pink, it reads expressive, youthful, warm. Pink is the fastest way to signal that a product is not another enterprise dashboard. It carries beauty, fashion and culture brands. At this chroma the effect is amplified — it will dominate whatever sits beside it.

What gradient works with #df387d?

The safest is same-hue elevation: linear-gradient(135deg, #E76D9F, #df387d 45%, #6E1238). For more colour, a short hue run to #D65F22 keeps it rich without turning muddy.

Work with #df387d in the Color Lab

Every tool opens with this colour already loaded.

Every value on this page is computed from #df387d at request time — conversions, contrast ratios and ΔE distances are calculated, never looked up.