Skip to content

#4f2c4d

a deep, soft magenta / pink · neutral · closest name: Purple

RGB
79, 44, 77
HSL
303°, 29%, 24%
CMYK
0, 44, 3, 69
Luminance
0.0400

At a glance

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

Hex
#4f2c4d
Hue
303°
magenta / pink
Saturation
29%
soft
Lightness
24%
deep
Brightness
31%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0400
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
11.67:1
Closest name
Purple
ΔE2000 14.6
Where it sits
Hue303° of 360°
Saturation29%
Lightness24%
Temperature
Warm ← → Cool48% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#4f2c4d
RGBrgb(79, 44, 77)
HSLhsl(303, 29%, 24%)
CMYKcmyk(0%, 44%, 3%, 69%)
LABlab(23.7 22.0 -13.6)
LCHlch(23.7 25.9 328.3)
OKLCHoklch(0.351 0.072 329.0)
Decimal5188685
Display P3color(display-p3 0.310 0.173 0.302)

Copy-ready code

/* CSS */
color: #4f2c4d;
background-color: #4f2c4d;
/* Tailwind (arbitrary) */
class="text-[#4f2c4d] bg-[#4f2c4d]"
/* SCSS */
$brand: #4f2c4d;
/* SwiftUI */
Color(red: 0.310, green: 0.173, blue: 0.302)
/* Android */
Color.parseColor("#4f2c4d")
/* Flutter */
Color(0xFF4F2C4D)
/* Python / OpenCV (BGR) */
(77, 44, 79)

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

Accessibility — WCAG contrast

Aa
#4f2c4d on white: 11.67:1
AA ✓ pass · AA-large · AAA
Aa
#4f2c4d on black: 1.80:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2A354E
deuteranopia · #333A4C
tritanopia · #512F39

Color scale — 50 to 950

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

#F9F6F9
#F3ECF3
#E6D6E5
#D7B7D5
#C393C0
#AF6FAB
#9D5899
#834980
#693A66
#4f2c4d
#301C2F
Base = 900Lightest = 50 · #F9F6F9Darkest = 950 · #301C2F
:root {
  --brand-50: #F9F6F9;
  --brand-100: #F3ECF3;
  --brand-200: #E6D6E5;
  --brand-300: #D7B7D5;
  --brand-400: #C393C0;
  --brand-500: #AF6FAB;
  --brand-600: #9D5899;
  --brand-700: #834980;
  --brand-800: #693A66;
  --brand-900: #4f2c4d;
  --brand-950: #301C2F;
  --brand: #4f2c4d;
  --brand-ink: #ffffff;
}

Colors that work with #4f2c4d

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#FAF5F9
Tinted page background
Border#E2CBE1
Hairlines and dividers
Muted text#935290
Captions on the surface
Accent#315129
Second voice, not a rival
Dark variant#522E50
Hover, pressed, headers
Light variant#F6EFF5
Selected rows, tints
Dark surface#241423
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 #4f2c4d

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#2C4F2E
Analogous left#3F2C4F
Analogous right#4F2C3B
Split-complement 1#3B4F2C
Split-complement 2#2C4F3F
Triadic 1#4D4F2C
Triadic 2#2C4D4F
Tetradic#4F3F2C

RGB percentages

Red31.0%
Green17.3%
Blue30.2%

CMYK percentages

Cyan0.0%
Magenta44.3%
Yellow2.5%
Key (black)69.0%

Color previews

#4f2c4d text on a black background

contrast 1.80:1

Card sample

#4f2c4d text on a white background

contrast 11.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 44, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 44, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f2c4d;
background: linear-gradient(135deg, #4f2c4d, #4F2C36);

Monochromatic scale

Palettes built from #4f2c4d

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.

#4f2c4d 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.

#4f2c4d, answered

What color is #4f2c4d?

#4f2c4d is a deep soft magenta / pink, closest to Purple (ΔE2000 14.6). It sits at 303° on the hue wheel with 29% saturation and 24% lightness, which reads as neutral.

What is the RGB value of #4f2c4d?

rgb(79, 44, 77) — 79 red, 44 green and 77 blue out of 255, or 31% / 17.3% / 30.2% by channel.

Is #4f2c4d a light or a dark color?

It is a dark color. Relative luminance is 0.0400 and perceived brightness is 24%, so white text on it reaches 11.67:1.

Should I use black or white text on #4f2c4d?

White. It scores 11.67:1 against #4f2c4d, versus 1.80:1 for black — AAA at any size.

What is the complementary color of #4f2c4d?

#2C4F2E sits directly opposite on the wheel. Softer options are the split-complements #3B4F2C and #2C4F3F, which give the same contrast with far less vibration.

What colors go well with #4f2c4d?

For interface work: #FAF5F9 as the surface, #E2CBE1 for borders, #935290 for secondary text, #315129 as an accent and #522E50 for hover and pressed states. For a palette, the analogous pair #3F2C4F and #4F2C3B stays calm, while #2C4F2E is the loudest partner.

What is #4f2c4d in CMYK for printing?

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

Is #4f2c4d warm or cool?

Neutral — it scores 48 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4F2C40; nudged cooler, #452B50.

Work with #4f2c4d in the Color Lab