Skip to content

#970d49

a dark, electric magenta / pink · warm · closest name: Medium Violet Red

RGB
151, 13, 73
HSL
334°, 84%, 32%
CMYK
0, 91, 52, 41
Luminance
0.0735

At a glance

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

Hex
#970d49
Hue
334°
magenta / pink
Saturation
84%
electric
Lightness
32%
dark
Brightness
59%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0735
WCAG relative
Temperature
Warm
31/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
8.50:1
Closest name
Medium Violet Red
ΔE2000 13.7
Where it sits
Hue334° of 360°
Saturation84%
Lightness32%
Temperature
Warm ← → Cool31% 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#970d49
RGBrgb(151, 13, 73)
HSLhsl(334, 84%, 32%)
CMYKcmyk(0%, 91%, 52%, 41%)
LABlab(32.6 55.3 3.7)
LCHlch(32.6 55.4 3.9)
OKLCHoklch(0.441 0.170 3.4)
Decimal9899337
Display P3color(display-p3 0.592 0.051 0.286)

Copy-ready code

/* CSS */
color: #970d49;
background-color: #970d49;
/* Tailwind (arbitrary) */
class="text-[#970d49] bg-[#970d49]"
/* SCSS */
$brand: #970d49;
/* SwiftUI */
Color(red: 0.592, green: 0.051, blue: 0.286)
/* Android */
Color.parseColor("#970d49")
/* Flutter */
Color(0xFF970D49)
/* Python / OpenCV (BGR) */
(73, 13, 151)

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

Accessibility — WCAG contrast

Aa
#970d49 on white: 8.50:1
AA ✓ pass · AA-large · AAA
Aa
#970d49 on black: 2.47:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #373C4A
deuteranopia · #5A5646
tritanopia · #A5002B

Color scale — 50 to 950

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

#FCF2F7
#FAE6EE
#F6C5DB
#F698C1
#F264A2
#ED3083
#E1136D
#BC105B
#970d49
#6D0E37
#440922
Base = 800Lightest = 50 · #FCF2F7Darkest = 950 · #440922
:root {
  --brand-50: #FCF2F7;
  --brand-100: #FAE6EE;
  --brand-200: #F6C5DB;
  --brand-300: #F698C1;
  --brand-400: #F264A2;
  --brand-500: #ED3083;
  --brand-600: #E1136D;
  --brand-700: #BC105B;
  --brand-800: #970d49;
  --brand-900: #6D0E37;
  --brand-950: #440922;
  --brand: #970d49;
  --brand-ink: #ffffff;
}

Colors that work with #970d49

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#EDC0D3
Hairlines and dividers
Muted text#9B4B6E
Captions on the surface
Accent#0A9A37
Second voice, not a rival
Dark variant#750A39
Hover, pressed, headers
Light variant#FDE8F1
Selected rows, tints
Dark surface#24141B
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 #970d49

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#0D975B
Analogous left#970D8E
Analogous right#97160D
Split-complement 1#0D9716
Split-complement 2#0D8E97
Triadic 1#49970D
Triadic 2#0D4997
Tetradic#8E970D

RGB percentages

Red59.2%
Green5.1%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta91.4%
Yellow51.7%
Key (black)40.8%

Color previews

#970d49 text on a black background

contrast 2.47:1

Card sample

#970d49 text on a white background

contrast 8.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(151, 13, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 13, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #970d49;
background: linear-gradient(135deg, #970d49, #972D0D);

Monochromatic scale

Palettes built from #970d49

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.

#970d49 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.

#970d49, answered

What color is #970d49?

#970d49 is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 13.7). It sits at 334° on the hue wheel with 84% saturation and 32% lightness, which reads as warm.

What is the RGB value of #970d49?

rgb(151, 13, 73) — 151 red, 13 green and 73 blue out of 255, or 59.2% / 5.1% / 28.6% by channel.

Is #970d49 a light or a dark color?

It is a dark color. Relative luminance is 0.0735 and perceived brightness is 34%, so white text on it reaches 8.50:1.

Should I use black or white text on #970d49?

White. It scores 8.50:1 against #970d49, versus 2.47:1 for black — AAA at any size.

What is the complementary color of #970d49?

#0D975B sits directly opposite on the wheel. Softer options are the split-complements #0D9716 and #0D8E97, which give the same contrast with far less vibration.

What colors go well with #970d49?

For interface work: #FAF4F7 as the surface, #EDC0D3 for borders, #9B4B6E for secondary text, #0A9A37 as an accent and #750A39 for hover and pressed states. For a palette, the analogous pair #970D8E and #97160D stays calm, while #0D975B is the loudest partner.

What is #970d49 in CMYK for printing?

cmyk(0%, 91%, 52%, 41%). 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 #970d49 warm or cool?

Warm — it scores 31 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #970D16; nudged cooler, #990B7D.

Work with #970d49 in the Color Lab