Skip to content

#5f3f4f

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

RGB
95, 63, 79
HSL
330°, 20%, 31%
CMYK
0, 34, 17, 63
Luminance
0.0655

At a glance

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

Hex
#5f3f4f
Hue
330°
magenta / pink
Saturation
20%
soft
Lightness
31%
dark
Brightness
37%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0655
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
9.09:1
Closest name
Purple
ΔE2000 18.7
Where it sits
Hue330° of 360°
Saturation20%
Lightness31%
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#5f3f4f
RGBrgb(95, 63, 79)
HSLhsl(330, 20%, 31%)
CMYKcmyk(0%, 34%, 17%, 63%)
LABlab(30.8 16.7 -4.0)
LCHlch(30.8 17.2 346.6)
OKLCHoklch(0.410 0.051 348.1)
Decimal6242127
Display P3color(display-p3 0.373 0.247 0.310)

Copy-ready code

/* CSS */
color: #5f3f4f;
background-color: #5f3f4f;
/* Tailwind (arbitrary) */
class="text-[#5f3f4f] bg-[#5f3f4f]"
/* SCSS */
$brand: #5f3f4f;
/* SwiftUI */
Color(red: 0.373, green: 0.247, blue: 0.310)
/* Android */
Color.parseColor("#5f3f4f")
/* Flutter */
Color(0xFF5F3F4F)
/* Python / OpenCV (BGR) */
(79, 63, 95)

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

Accessibility — WCAG contrast

Aa
#5f3f4f on white: 9.09:1
AA ✓ pass · AA-large · AAA
Aa
#5f3f4f on black: 2.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #424550
deuteranopia · #494A4E
tritanopia · #633E45

Color scale — 50 to 950

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

#F9F6F7
#F2EDF0
#E4D8DE
#D2BCC7
#BC9AAB
#A6788F
#93627A
#7B5166
#5f3f4f
#49323D
#2D1F26
Base = 800Lightest = 50 · #F9F6F7Darkest = 950 · #2D1F26
:root {
  --brand-50: #F9F6F7;
  --brand-100: #F2EDF0;
  --brand-200: #E4D8DE;
  --brand-300: #D2BCC7;
  --brand-400: #BC9AAB;
  --brand-500: #A6788F;
  --brand-600: #93627A;
  --brand-700: #7B5166;
  --brand-800: #5f3f4f;
  --brand-900: #49323D;
  --brand-950: #2D1F26;
  --brand: #5f3f4f;
  --brand-ink: #ffffff;
}

Colors that work with #5f3f4f

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#F9F6F7
Tinted page background
Border#DECED6
Hairlines and dividers
Muted text#8A5B73
Captions on the surface
Accent#3C6245
Second voice, not a rival
Dark variant#4D3340
Hover, pressed, headers
Light variant#F5F0F2
Selected rows, tints
Dark surface#22161C
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 #5f3f4f

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#3F5F4F
Analogous left#5F3F5F
Analogous right#5F3F3F
Split-complement 1#3F5F3F
Split-complement 2#3F5F5F
Triadic 1#4F5F3F
Triadic 2#3F4F5F
Tetradic#5F5F3F

RGB percentages

Red37.3%
Green24.7%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta33.7%
Yellow16.8%
Key (black)62.7%

Color previews

#5f3f4f text on a black background

contrast 2.31:1

Card sample

#5f3f4f text on a white background

contrast 9.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(95, 63, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 63, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5f3f4f;
background: linear-gradient(135deg, #5f3f4f, #5F443F);

Monochromatic scale

Palettes built from #5f3f4f

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.

#5f3f4f 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.

#5f3f4f, answered

What color is #5f3f4f?

#5f3f4f is a dark soft magenta / pink, closest to Purple (ΔE2000 18.7). It sits at 330° on the hue wheel with 20% saturation and 31% lightness, which reads as warm.

What is the RGB value of #5f3f4f?

rgb(95, 63, 79) — 95 red, 63 green and 79 blue out of 255, or 37.3% / 24.7% / 31% by channel.

Is #5f3f4f a light or a dark color?

It is a dark color. Relative luminance is 0.0655 and perceived brightness is 30%, so white text on it reaches 9.09:1.

Should I use black or white text on #5f3f4f?

White. It scores 9.09:1 against #5f3f4f, versus 2.31:1 for black — AAA at any size.

What is the complementary color of #5f3f4f?

#3F5F4F sits directly opposite on the wheel. Softer options are the split-complements #3F5F3F and #3F5F5F, which give the same contrast with far less vibration.

What colors go well with #5f3f4f?

For interface work: #F9F6F7 as the surface, #DECED6 for borders, #8A5B73 for secondary text, #3C6245 as an accent and #4D3340 for hover and pressed states. For a palette, the analogous pair #5F3F5F and #5F3F3F stays calm, while #3F5F4F is the loudest partner.

What is #5f3f4f in CMYK for printing?

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

Is #5f3f4f 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 #5F3F43; nudged cooler, #613D5C.

Work with #5f3f4f in the Color Lab