Skip to content

#7d032f

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

RGB
125, 3, 47
HSL
338°, 95%, 25%
CMYK
0, 98, 62, 51
Luminance
0.0463

At a glance

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

Hex
#7d032f
Hue
338°
magenta / pink
Saturation
95%
electric
Lightness
25%
dark
Brightness
49%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0463
WCAG relative
Temperature
Warm
29/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
10.90:1
Closest name
Brown
ΔE2000 14.1
Where it sits
Hue338° of 360°
Saturation95%
Lightness25%
Temperature
Warm ← → Cool29% 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#7d032f
RGBrgb(125, 3, 47)
HSLhsl(338, 95%, 25%)
CMYKcmyk(0%, 98%, 62%, 51%)
LABlab(25.7 48.4 10.7)
LCHlch(25.7 49.5 12.5)
OKLCHoklch(0.378 0.149 10.2)
Decimal8192815
Display P3color(display-p3 0.490 0.012 0.184)

Copy-ready code

/* CSS */
color: #7d032f;
background-color: #7d032f;
/* Tailwind (arbitrary) */
class="text-[#7d032f] bg-[#7d032f]"
/* SCSS */
$brand: #7d032f;
/* SwiftUI */
Color(red: 0.490, green: 0.012, blue: 0.184)
/* Android */
Color.parseColor("#7d032f")
/* Flutter */
Color(0xFF7D032F)
/* Python / OpenCV (BGR) */
(47, 3, 125)

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

Accessibility — WCAG contrast

Aa
#7d032f on white: 10.90:1
AA ✓ pass · AA-large · AAA
Aa
#7d032f on black: 1.93:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2D2E30
deuteranopia · #4B452C
tritanopia · #8A001A

Color scale — 50 to 950

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

#FDF1F6
#FCE4EC
#FAC2D6
#FC91B8
#FB5B94
#FA2471
#EF065A
#C7054B
#9F043C
#7d032f
#48051D
Base = 900Lightest = 50 · #FDF1F6Darkest = 950 · #48051D
:root {
  --brand-50: #FDF1F6;
  --brand-100: #FCE4EC;
  --brand-200: #FAC2D6;
  --brand-300: #FC91B8;
  --brand-400: #FB5B94;
  --brand-500: #FA2471;
  --brand-600: #EF065A;
  --brand-700: #C7054B;
  --brand-800: #9F043C;
  --brand-900: #7d032f;
  --brand-950: #48051D;
  --brand: #7d032f;
  --brand-ink: #ffffff;
}

Colors that work with #7d032f

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#EDC0D0
Hairlines and dividers
Muted text#9B4B68
Captions on the surface
Accent#008032
Second voice, not a rival
Dark variant#7D032F
Hover, pressed, headers
Light variant#FEE6EF
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 #7d032f

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#037D51
Analogous left#7D036C
Analogous right#7D1403
Split-complement 1#037D14
Split-complement 2#036C7D
Triadic 1#2F7D03
Triadic 2#032F7D
Tetradic#6C7D03

RGB percentages

Red49.0%
Green1.2%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta97.6%
Yellow62.4%
Key (black)51.0%

Color previews

#7d032f text on a black background

contrast 1.93:1

Card sample

#7d032f text on a white background

contrast 10.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7d032f

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.

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

#7d032f, answered

What color is #7d032f?

#7d032f is a dark electric magenta / pink, closest to Brown (ΔE2000 14.1). It sits at 338° on the hue wheel with 95% saturation and 25% lightness, which reads as warm.

What is the RGB value of #7d032f?

rgb(125, 3, 47) — 125 red, 3 green and 47 blue out of 255, or 49% / 1.2% / 18.4% by channel.

Is #7d032f a light or a dark color?

It is a dark color. Relative luminance is 0.0463 and perceived brightness is 28%, so white text on it reaches 10.90:1.

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

White. It scores 10.90:1 against #7d032f, versus 1.93:1 for black — AAA at any size.

What is the complementary color of #7d032f?

#037D51 sits directly opposite on the wheel. Softer options are the split-complements #037D14 and #036C7D, which give the same contrast with far less vibration.

What colors go well with #7d032f?

For interface work: #FAF4F6 as the surface, #EDC0D0 for borders, #9B4B68 for secondary text, #008032 as an accent and #7D032F for hover and pressed states. For a palette, the analogous pair #7D036C and #7D1403 stays calm, while #037D51 is the loudest partner.

What is #7d032f in CMYK for printing?

cmyk(0%, 98%, 62%, 51%). 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 #7d032f warm or cool?

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

Work with #7d032f in the Color Lab