Skip to content

#d9268f

a balanced, vivid magenta / pink · warm · closest name: Medium Violet Red

RGB
217, 38, 143
HSL
325°, 70%, 50%
CMYK
0, 83, 34, 15
Luminance
0.1812

At a glance

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

Hex
#d9268f
Hue
325°
magenta / pink
Saturation
70%
vivid
Lightness
50%
balanced
Brightness
85%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1812
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.62:1
Closest name
Medium Violet Red
ΔE2000 4.9
Where it sits
Hue325° of 360°
Saturation70%
Lightness50%
Temperature
Warm ← → Cool36% 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#d9268f
RGBrgb(217, 38, 143)
HSLhsl(325, 70%, 50%)
CMYKcmyk(0%, 83%, 34%, 15%)
LABlab(49.6 72.9 -13.5)
LCHlch(49.6 74.1 349.5)
OKLCHoklch(0.596 0.227 351.1)
Decimal14231183
Display P3color(display-p3 0.851 0.149 0.561)

Copy-ready code

/* CSS */
color: #d9268f;
background-color: #d9268f;
/* Tailwind (arbitrary) */
class="text-[#d9268f] bg-[#d9268f]"
/* SCSS */
$brand: #d9268f;
/* SwiftUI */
Color(red: 0.851, green: 0.149, blue: 0.561)
/* Android */
Color.parseColor("#d9268f")
/* Flutter */
Color(0xFFD9268F)
/* Python / OpenCV (BGR) */
(143, 38, 217)

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 #d9268f · 4.62:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.54:1
AA pass · AA large pass · AAA fail
Aa
Black text · 4.62:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #d9268f as text scores 4.54:1 on white and 4.62:1 on black.

Accessibility — WCAG contrast

Aa
#d9268f on white: 4.54:1
AA ✓ pass · AA-large · AAA
Aa
#d9268f on black: 4.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4B6292
deuteranopia · #7E818B
tritanopia · #EA0D59

Color scale — 50 to 950

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

#FCF3F8
#F8E7F1
#F2C9E1
#EEA0CE
#E670B5
#DE409C
#d9268f
#AE1E72
#8B185C
#651644
#3F0E2B
Base = 600Lightest = 50 · #FCF3F8Darkest = 950 · #3F0E2B
:root {
  --brand-50: #FCF3F8;
  --brand-100: #F8E7F1;
  --brand-200: #F2C9E1;
  --brand-300: #EEA0CE;
  --brand-400: #E670B5;
  --brand-500: #DE409C;
  --brand-600: #d9268f;
  --brand-700: #AE1E72;
  --brand-800: #8B185C;
  --brand-900: #651644;
  --brand-950: #3F0E2B;
  --brand: #d9268f;
  --brand-ink: #000000;
}

Colors that work with #d9268f

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#FAF4F8
Tinted page background
Border#EDC0DA
Hairlines and dividers
Muted text#9B4B7A
Captions on the surface
Accent#1AB233
Second voice, not a rival
Dark variant#6D1348
Hover, pressed, headers
Light variant#FBE9F4
Selected rows, tints
Dark surface#24141E
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 #d9268f

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#26D970
Analogous left#C926D9
Analogous right#D92636
Split-complement 1#36D926
Split-complement 2#26D9C9
Triadic 1#8FD926
Triadic 2#268FD9
Tetradic#D9C926

RGB percentages

Red85.1%
Green14.9%
Blue56.1%

CMYK percentages

Cyan0.0%
Magenta82.5%
Yellow34.1%
Key (black)14.9%

Color previews

#d9268f text on a black background

contrast 4.62:1

Card sample

#d9268f text on a white background

contrast 4.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(217, 38, 143, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(217, 38, 143, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d9268f;
background: linear-gradient(135deg, #d9268f, #D93426);

Monochromatic scale

Palettes built from #d9268f

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.

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

#d9268f, answered

What color is #d9268f?

#d9268f is a balanced vivid magenta / pink, closest to Medium Violet Red (ΔE2000 4.9). It sits at 325° on the hue wheel with 70% saturation and 50% lightness, which reads as warm.

What is the RGB value of #d9268f?

rgb(217, 38, 143) — 217 red, 38 green and 143 blue out of 255, or 85.1% / 14.9% / 56.1% by channel.

Is #d9268f a light or a dark color?

It is a mid-tone. Relative luminance is 0.1812 and perceived brightness is 52%, so black text on it reaches 4.62:1.

Should I use black or white text on #d9268f?

Black. It scores 4.62:1 against #d9268f, versus 4.54:1 for white — AA at any size.

What is the complementary color of #d9268f?

#26D970 sits directly opposite on the wheel. Softer options are the split-complements #36D926 and #26D9C9, which give the same contrast with far less vibration.

What colors go well with #d9268f?

For interface work: #FAF4F8 as the surface, #EDC0DA for borders, #9B4B7A for secondary text, #1AB233 as an accent and #6D1348 for hover and pressed states. For a palette, the analogous pair #C926D9 and #D92636 stays calm, while #26D970 is the loudest partner.

What is #d9268f in CMYK for printing?

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

Is #d9268f warm or cool?

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

Work with #d9268f in the Color Lab