Skip to content

#5d2f4f

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

RGB
93, 47, 79
HSL
318°, 33%, 28%
CMYK
0, 50, 15, 64
Luminance
0.0492

At a glance

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

Hex
#5d2f4f
Hue
318°
magenta / pink
Saturation
33%
soft
Lightness
28%
dark
Brightness
36%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0492
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
10.58:1
Closest name
Purple
ΔE2000 13.8
Where it sits
Hue318° of 360°
Saturation33%
Lightness28%
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#5d2f4f
RGBrgb(93, 47, 79)
HSLhsl(318, 33%, 28%)
CMYKcmyk(0%, 50%, 15%, 64%)
LABlab(26.5 25.7 -10.4)
LCHlch(26.5 27.8 338.0)
OKLCHoklch(0.377 0.080 339.8)
Decimal6106959
Display P3color(display-p3 0.365 0.184 0.310)

Copy-ready code

/* CSS */
color: #5d2f4f;
background-color: #5d2f4f;
/* Tailwind (arbitrary) */
class="text-[#5d2f4f] bg-[#5d2f4f]"
/* SCSS */
$brand: #5d2f4f;
/* SwiftUI */
Color(red: 0.365, green: 0.184, blue: 0.310)
/* Android */
Color.parseColor("#5d2f4f")
/* Flutter */
Color(0xFF5D2F4F)
/* Python / OpenCV (BGR) */
(79, 47, 93)

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

Accessibility — WCAG contrast

Aa
#5d2f4f on white: 10.58:1
AA ✓ pass · AA-large · AAA
Aa
#5d2f4f on black: 1.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #313A50
deuteranopia · #3D414E
tritanopia · #62303B

Color scale — 50 to 950

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

#F9F5F8
#F4ECF1
#E7D4E2
#D9B4CE
#C78FB6
#B46A9D
#A3528A
#884473
#6C375C
#5d2f4f
#321B2B
Base = 900Lightest = 50 · #F9F5F8Darkest = 950 · #321B2B
:root {
  --brand-50: #F9F5F8;
  --brand-100: #F4ECF1;
  --brand-200: #E7D4E2;
  --brand-300: #D9B4CE;
  --brand-400: #C78FB6;
  --brand-500: #B46A9D;
  --brand-600: #A3528A;
  --brand-700: #884473;
  --brand-800: #6C375C;
  --brand-900: #5d2f4f;
  --brand-950: #321B2B;
  --brand: #5d2f4f;
  --brand-ink: #ffffff;
}

Colors that work with #5d2f4f

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#FAF5F8
Tinted page background
Border#E4C9DB
Hairlines and dividers
Muted text#994D81
Captions on the surface
Accent#2C602F
Second voice, not a rival
Dark variant#552B48
Hover, pressed, headers
Light variant#F6EEF4
Selected rows, tints
Dark surface#24141F
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 #5d2f4f

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#2F5D3D
Analogous left#542F5D
Analogous right#5D2F38
Split-complement 1#385D2F
Split-complement 2#2F5D54
Triadic 1#4F5D2F
Triadic 2#2F4F5D
Tetradic#5D542F

RGB percentages

Red36.5%
Green18.4%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta49.5%
Yellow15.1%
Key (black)63.5%

Color previews

#5d2f4f text on a black background

contrast 1.98:1

Card sample

#5d2f4f text on a white background

contrast 10.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5d2f4f

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.

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

#5d2f4f, answered

What color is #5d2f4f?

#5d2f4f is a dark soft magenta / pink, closest to Purple (ΔE2000 13.8). It sits at 318° on the hue wheel with 33% saturation and 28% lightness, which reads as warm.

What is the RGB value of #5d2f4f?

rgb(93, 47, 79) — 93 red, 47 green and 79 blue out of 255, or 36.5% / 18.4% / 31% by channel.

Is #5d2f4f a light or a dark color?

It is a dark color. Relative luminance is 0.0492 and perceived brightness is 27%, so white text on it reaches 10.58:1.

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

White. It scores 10.58:1 against #5d2f4f, versus 1.98:1 for black — AAA at any size.

What is the complementary color of #5d2f4f?

#2F5D3D sits directly opposite on the wheel. Softer options are the split-complements #385D2F and #2F5D54, which give the same contrast with far less vibration.

What colors go well with #5d2f4f?

For interface work: #FAF5F8 as the surface, #E4C9DB for borders, #994D81 for secondary text, #2C602F as an accent and #552B48 for hover and pressed states. For a palette, the analogous pair #542F5D and #5D2F38 stays calm, while #2F5D3D is the loudest partner.

What is #5d2f4f in CMYK for printing?

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

Is #5d2f4f 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 #5D2F3E; nudged cooler, #5C2E5F.

Work with #5d2f4f in the Color Lab