Skip to content

#7f0749

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

RGB
127, 7, 73
HSL
327°, 90%, 26%
CMYK
0, 95, 43, 50
Luminance
0.0515

At a glance

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

Hex
#7f0749
Hue
327°
magenta / pink
Saturation
90%
electric
Lightness
26%
dark
Brightness
50%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0515
WCAG relative
Temperature
Warm
35/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
10.35:1
Closest name
Purple
ΔE2000 13
Where it sits
Hue327° of 360°
Saturation90%
Lightness26%
Temperature
Warm ← → Cool35% 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#7f0749
RGBrgb(127, 7, 73)
HSLhsl(327, 90%, 26%)
CMYKcmyk(0%, 95%, 43%, 50%)
LABlab(27.1 50.3 -4.8)
LCHlch(27.1 50.5 354.5)
OKLCHoklch(0.393 0.156 355.5)
Decimal8324937
Display P3color(display-p3 0.498 0.027 0.286)

Copy-ready code

/* CSS */
color: #7f0749;
background-color: #7f0749;
/* Tailwind (arbitrary) */
class="text-[#7f0749] bg-[#7f0749]"
/* SCSS */
$brand: #7f0749;
/* SwiftUI */
Color(red: 0.498, green: 0.027, blue: 0.286)
/* Android */
Color.parseColor("#7f0749")
/* Flutter */
Color(0xFF7F0749)
/* Python / OpenCV (BGR) */
(73, 7, 127)

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

Accessibility — WCAG contrast

Aa
#7f0749 on white: 10.35:1
AA ✓ pass · AA-large · AAA
Aa
#7f0749 on black: 2.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #28334A
deuteranopia · #484847
tritanopia · #8A002A

Color scale — 50 to 950

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

#FDF2F8
#FBE5F1
#F8C3E0
#F995CC
#F65FB2
#F32A99
#E80D85
#C10B6F
#9B0859
#7f0749
#460729
Base = 900Lightest = 50 · #FDF2F8Darkest = 950 · #460729
:root {
  --brand-50: #FDF2F8;
  --brand-100: #FBE5F1;
  --brand-200: #F8C3E0;
  --brand-300: #F995CC;
  --brand-400: #F65FB2;
  --brand-500: #F32A99;
  --brand-600: #E80D85;
  --brand-700: #C10B6F;
  --brand-800: #9B0859;
  --brand-900: #7f0749;
  --brand-950: #460729;
  --brand: #7f0749;
  --brand-ink: #ffffff;
}

Colors that work with #7f0749

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#FAF4F8
Tinted page background
Border#EDC0D8
Hairlines and dividers
Muted text#9B4B77
Captions on the surface
Accent#04821D
Second voice, not a rival
Dark variant#790745
Hover, pressed, headers
Light variant#FEE7F3
Selected rows, tints
Dark surface#24141D
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 #7f0749

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#077F3D
Analogous left#79077F
Analogous right#7F070D
Split-complement 1#0D7F07
Split-complement 2#077F79
Triadic 1#497F07
Triadic 2#07497F
Tetradic#7F7907

RGB percentages

Red49.8%
Green2.7%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta94.5%
Yellow42.5%
Key (black)50.2%

Color previews

#7f0749 text on a black background

contrast 2.03:1

Card sample

#7f0749 text on a white background

contrast 10.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(127, 7, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 7, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7f0749;
background: linear-gradient(135deg, #7f0749, #7F1507);

Monochromatic scale

Palettes built from #7f0749

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.

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

#7f0749, answered

What color is #7f0749?

#7f0749 is a dark electric magenta / pink, closest to Purple (ΔE2000 13). It sits at 327° on the hue wheel with 90% saturation and 26% lightness, which reads as warm.

What is the RGB value of #7f0749?

rgb(127, 7, 73) — 127 red, 7 green and 73 blue out of 255, or 49.8% / 2.7% / 28.6% by channel.

Is #7f0749 a light or a dark color?

It is a dark color. Relative luminance is 0.0515 and perceived brightness is 29%, so white text on it reaches 10.35:1.

Should I use black or white text on #7f0749?

White. It scores 10.35:1 against #7f0749, versus 2.03:1 for black — AAA at any size.

What is the complementary color of #7f0749?

#077F3D sits directly opposite on the wheel. Softer options are the split-complements #0D7F07 and #077F79, which give the same contrast with far less vibration.

What colors go well with #7f0749?

For interface work: #FAF4F8 as the surface, #EDC0D8 for borders, #9B4B77 for secondary text, #04821D as an accent and #790745 for hover and pressed states. For a palette, the analogous pair #79077F and #7F070D stays calm, while #077F3D is the loudest partner.

What is #7f0749 in CMYK for printing?

cmyk(0%, 95%, 43%, 50%). 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 #7f0749 warm or cool?

Warm — it scores 35 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7F071D; nudged cooler, #800676.

Work with #7f0749 in the Color Lab