Skip to content

#5f3f49

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

RGB
95, 63, 73
HSL
341°, 20%, 31%
CMYK
0, 34, 23, 63
Luminance
0.0647

At a glance

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

Hex
#5f3f49
Hue
341°
magenta / pink
Saturation
20%
soft
Lightness
31%
dark
Brightness
37%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0647
WCAG relative
Temperature
Warm
37/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
9.16:1
Closest name
Dim Gray
ΔE2000 19.3
Where it sits
Hue341° of 360°
Saturation20%
Lightness31%
Temperature
Warm ← → Cool37% 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#5f3f49
RGBrgb(95, 63, 73)
HSLhsl(341, 20%, 31%)
CMYKcmyk(0%, 34%, 23%, 63%)
LABlab(30.6 15.6 -0.4)
LCHlch(30.6 15.6 358.6)
OKLCHoklch(0.407 0.047 359.0)
Decimal6242121
Display P3color(display-p3 0.373 0.247 0.286)

Copy-ready code

/* CSS */
color: #5f3f49;
background-color: #5f3f49;
/* Tailwind (arbitrary) */
class="text-[#5f3f49] bg-[#5f3f49]"
/* SCSS */
$brand: #5f3f49;
/* SwiftUI */
Color(red: 0.373, green: 0.247, blue: 0.286)
/* Android */
Color.parseColor("#5f3f49")
/* Flutter */
Color(0xFF5F3F49)
/* Python / OpenCV (BGR) */
(73, 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 #5f3f49 · 9.16:1
Use #ffffffAAA at every size.
Aa
White text · 9.16:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.29:1
AA fail · AA large fail · AAA fail
Reading the other direction: #5f3f49 as text scores 9.16:1 on white and 2.29:1 on black.

Accessibility — WCAG contrast

Aa
#5f3f49 on white: 9.16:1
AA ✓ pass · AA-large · AAA
Aa
#5f3f49 on black: 2.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #434549
deuteranopia · #4B4A48
tritanopia · #643D42

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5f3f49 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
#F2EDEF
#E4D8DC
#D2BCC3
#BC9AA4
#A67886
#936271
#7B515E
#5f3f49
#493239
#2D1F24
Base = 800Lightest = 50 · #F9F6F7Darkest = 950 · #2D1F24
:root {
  --brand-50: #F9F6F7;
  --brand-100: #F2EDEF;
  --brand-200: #E4D8DC;
  --brand-300: #D2BCC3;
  --brand-400: #BC9AA4;
  --brand-500: #A67886;
  --brand-600: #936271;
  --brand-700: #7B515E;
  --brand-800: #5f3f49;
  --brand-900: #493239;
  --brand-950: #2D1F24;
  --brand: #5f3f49;
  --brand-ink: #ffffff;
}

Colors that work with #5f3f49

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#DECED3
Hairlines and dividers
Muted text#8A5B6A
Captions on the surface
Accent#3C624D
Second voice, not a rival
Dark variant#4D333B
Hover, pressed, headers
Light variant#F5F0F1
Selected rows, tints
Dark surface#22161A
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 #5f3f49

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#3F5F55
Analogous left#5F3F59
Analogous right#5F453F
Split-complement 1#3F5F45
Split-complement 2#3F595F
Triadic 1#495F3F
Triadic 2#3F495F
Tetradic#595F3F

RGB percentages

Red37.3%
Green24.7%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta33.7%
Yellow23.2%
Key (black)62.7%

Color previews

#5f3f49 text on a black background

contrast 2.29:1

Card sample

#5f3f49 text on a white background

contrast 9.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5f3f49

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.

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

#5f3f49, answered

What color is #5f3f49?

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

What is the RGB value of #5f3f49?

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

Is #5f3f49 a light or a dark color?

It is a dark color. Relative luminance is 0.0647 and perceived brightness is 29%, so white text on it reaches 9.16:1.

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

White. It scores 9.16:1 against #5f3f49, versus 2.29:1 for black — AAA at any size.

What is the complementary color of #5f3f49?

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

What colors go well with #5f3f49?

For interface work: #F9F6F7 as the surface, #DECED3 for borders, #8A5B6A for secondary text, #3C624D as an accent and #4D333B for hover and pressed states. For a palette, the analogous pair #5F3F59 and #5F453F stays calm, while #3F5F55 is the loudest partner.

What is #5f3f49 in CMYK for printing?

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

Is #5f3f49 warm or cool?

Warm — it scores 37 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5F413F; nudged cooler, #613D55.

Work with #5f3f49 in the Color Lab