Skip to content

#972777

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

RGB
151, 39, 119
HSL
317°, 59%, 37%
CMYK
0, 74, 21, 41
Luminance
0.0936

At a glance

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

Hex
#972777
Hue
317°
magenta / pink
Saturation
59%
vivid
Lightness
37%
dark
Brightness
59%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0936
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
7.31:1
Closest name
Dark Magenta
ΔE2000 7.8
Where it sits
Hue317° of 360°
Saturation59%
Lightness37%
Temperature
Warm ← → Cool40% 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#972777
RGBrgb(151, 39, 119)
HSLhsl(317, 59%, 37%)
CMYKcmyk(0%, 74%, 21%, 41%)
LABlab(36.7 53.7 -19.7)
LCHlch(36.7 57.2 339.8)
OKLCHoklch(0.476 0.169 341.8)
Decimal9906039
Display P3color(display-p3 0.592 0.153 0.467)

Copy-ready code

/* CSS */
color: #972777;
background-color: #972777;
/* Tailwind (arbitrary) */
class="text-[#972777] bg-[#972777]"
/* SCSS */
$brand: #972777;
/* SwiftUI */
Color(red: 0.592, green: 0.153, blue: 0.467)
/* Android */
Color.parseColor("#972777")
/* Flutter */
Color(0xFF972777)
/* Python / OpenCV (BGR) */
(119, 39, 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 #972777 · 7.31:1
Use #ffffffAAA at every size.
Aa
White text · 7.31:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.87:1
AA fail · AA large fail · AAA fail
Reading the other direction: #972777 as text scores 7.31:1 on white and 2.87:1 on black.

Accessibility — WCAG contrast

Aa
#972777 on white: 7.31:1
AA ✓ pass · AA-large · AAA
Aa
#972777 on black: 2.87:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #314B79
deuteranopia · #545D74
tritanopia · #A1294C

Color scale — 50 to 950

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

#FBF4F9
#F7E9F3
#EFCDE5
#E8A6D5
#DC79C0
#D14DAB
#C23299
#972777
#822266
#5E1C4B
#3B122F
Base = 700Lightest = 50 · #FBF4F9Darkest = 950 · #3B122F
:root {
  --brand-50: #FBF4F9;
  --brand-100: #F7E9F3;
  --brand-200: #EFCDE5;
  --brand-300: #E8A6D5;
  --brand-400: #DC79C0;
  --brand-500: #D14DAB;
  --brand-600: #C23299;
  --brand-700: #972777;
  --brand-800: #822266;
  --brand-900: #5E1C4B;
  --brand-950: #3B122F;
  --brand: #972777;
  --brand-ink: #ffffff;
}

Colors that work with #972777

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#FAF4F9
Tinted page background
Border#EDC0E0
Hairlines and dividers
Muted text#9B4B84
Captions on the surface
Accent#239B27
Second voice, not a rival
Dark variant#651A50
Hover, pressed, headers
Light variant#FAEBF5
Selected rows, tints
Dark surface#241420
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 #972777

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#279747
Analogous left#7F2797
Analogous right#97273F
Split-complement 1#3F9727
Split-complement 2#27977F
Triadic 1#779727
Triadic 2#277797
Tetradic#977F27

RGB percentages

Red59.2%
Green15.3%
Blue46.7%

CMYK percentages

Cyan0.0%
Magenta74.2%
Yellow21.2%
Key (black)40.8%

Color previews

#972777 text on a black background

contrast 2.87:1

Card sample

#972777 text on a white background

contrast 7.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(151, 39, 119, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 39, 119, 0.45);
Border & gradient
Gradient panel
border: 3px solid #972777;
background: linear-gradient(135deg, #972777, #97272D);

Monochromatic scale

Palettes built from #972777

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.

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

#972777, answered

What color is #972777?

#972777 is a dark vivid magenta / pink, closest to Dark Magenta (ΔE2000 7.8). It sits at 317° on the hue wheel with 59% saturation and 37% lightness, which reads as warm.

What is the RGB value of #972777?

rgb(151, 39, 119) — 151 red, 39 green and 119 blue out of 255, or 59.2% / 15.3% / 46.7% by channel.

Is #972777 a light or a dark color?

It is a dark color. Relative luminance is 0.0936 and perceived brightness is 38%, so white text on it reaches 7.31:1.

Should I use black or white text on #972777?

White. It scores 7.31:1 against #972777, versus 2.87:1 for black — AAA at any size.

What is the complementary color of #972777?

#279747 sits directly opposite on the wheel. Softer options are the split-complements #3F9727 and #27977F, which give the same contrast with far less vibration.

What colors go well with #972777?

For interface work: #FAF4F9 as the surface, #EDC0E0 for borders, #9B4B84 for secondary text, #239B27 as an accent and #651A50 for hover and pressed states. For a palette, the analogous pair #7F2797 and #97273F stays calm, while #279747 is the loudest partner.

What is #972777 in CMYK for printing?

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

Is #972777 warm or cool?

Warm — it scores 40 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #97274E; nudged cooler, #902599.

Work with #972777 in the Color Lab