Skip to content

#782848

a dark, vivid magenta / pink · warm · closest name: Purple

RGB
120, 40, 72
HSL
336°, 50%, 31%
CMYK
0, 67, 40, 53
Luminance
0.0598

At a glance

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

Hex
#782848
Hue
336°
magenta / pink
Saturation
50%
vivid
Lightness
31%
dark
Brightness
47%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0598
WCAG relative
Temperature
Warm
30/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
9.56:1
Closest name
Purple
ΔE2000 15.4
Where it sits
Hue336° of 360°
Saturation50%
Lightness31%
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.

Every format

HEX#782848
RGBrgb(120, 40, 72)
HSLhsl(336, 50%, 31%)
CMYKcmyk(0%, 67%, 40%, 53%)
LABlab(29.4 37.9 -1.0)
LCHlch(29.4 37.9 358.4)
OKLCHoklch(0.406 0.116 358.9)
Decimal7874632
Display P3color(display-p3 0.471 0.157 0.282)

Copy-ready code

/* CSS */
color: #782848;
background-color: #782848;
/* Tailwind (arbitrary) */
class="text-[#782848] bg-[#782848]"
/* SCSS */
$brand: #782848;
/* SwiftUI */
Color(red: 0.471, green: 0.157, blue: 0.282)
/* Android */
Color.parseColor("#782848")
/* Flutter */
Color(0xFF782848)
/* Python / OpenCV (BGR) */
(72, 40, 120)

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 #782848 · 9.56:1
Use #ffffffAAA at every size.
Aa
White text · 9.56:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.20:1
AA fail · AA large fail · AAA fail
Reading the other direction: #782848 as text scores 9.56:1 on white and 2.20:1 on black.

Accessibility — WCAG contrast

Aa
#782848 on white: 9.56:1
AA ✓ pass · AA-large · AAA
Aa
#782848 on black: 2.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #373C49
deuteranopia · #4C4B46
tritanopia · #822035

Color scale — 50 to 950

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

#FAF4F7
#F6EAEF
#ECCFDB
#E3ABC1
#D581A2
#C75784
#B83D6E
#99335C
#782848
#592138
#381523
Base = 800Lightest = 50 · #FAF4F7Darkest = 950 · #381523
:root {
  --brand-50: #FAF4F7;
  --brand-100: #F6EAEF;
  --brand-200: #ECCFDB;
  --brand-300: #E3ABC1;
  --brand-400: #D581A2;
  --brand-500: #C75784;
  --brand-600: #B83D6E;
  --brand-700: #99335C;
  --brand-800: #782848;
  --brand-900: #592138;
  --brand-950: #381523;
  --brand: #782848;
  --brand-ink: #ffffff;
}

Colors that work with #782848

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#EBC2D2
Hairlines and dividers
Muted text#9B4B6B
Captions on the surface
Accent#257B43
Second voice, not a rival
Dark variant#602039
Hover, pressed, headers
Light variant#F9ECF1
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 #782848

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#287858
Analogous left#782870
Analogous right#783028
Split-complement 1#287830
Split-complement 2#287078
Triadic 1#487828
Triadic 2#284878
Tetradic#707828

RGB percentages

Red47.1%
Green15.7%
Blue28.2%

CMYK percentages

Cyan0.0%
Magenta66.7%
Yellow40.0%
Key (black)52.9%

Color previews

#782848 text on a black background

contrast 2.20:1

Card sample

#782848 text on a white background

contrast 9.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(120, 40, 72, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(120, 40, 72, 0.45);
Border & gradient
Gradient panel
border: 3px solid #782848;
background: linear-gradient(135deg, #782848, #783D28);

Monochromatic scale

Palettes built from #782848

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.

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

#782848, answered

What color is #782848?

#782848 is a dark vivid magenta / pink, closest to Purple (ΔE2000 15.4). It sits at 336° on the hue wheel with 50% saturation and 31% lightness, which reads as warm.

What is the RGB value of #782848?

rgb(120, 40, 72) — 120 red, 40 green and 72 blue out of 255, or 47.1% / 15.7% / 28.2% by channel.

Is #782848 a light or a dark color?

It is a dark color. Relative luminance is 0.0598 and perceived brightness is 30%, so white text on it reaches 9.56:1.

Should I use black or white text on #782848?

White. It scores 9.56:1 against #782848, versus 2.20:1 for black — AAA at any size.

What is the complementary color of #782848?

#287858 sits directly opposite on the wheel. Softer options are the split-complements #287830 and #287078, which give the same contrast with far less vibration.

What colors go well with #782848?

For interface work: #FAF4F7 as the surface, #EBC2D2 for borders, #9B4B6B for secondary text, #257B43 as an accent and #602039 for hover and pressed states. For a palette, the analogous pair #782870 and #783028 stays calm, while #287858 is the loudest partner.

What is #782848 in CMYK for printing?

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

Is #782848 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 #78282B; nudged cooler, #7A2666.

Work with #782848 in the Color Lab