Skip to content

#562a39

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

RGB
86, 42, 57
HSL
340°, 34%, 25%
CMYK
0, 51, 34, 66
Luminance
0.0393

At a glance

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

Hex
#562a39
Hue
340°
magenta / pink
Saturation
34%
soft
Lightness
25%
dark
Brightness
34%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0393
WCAG relative
Temperature
Warm
28/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
11.76:1
Closest name
Purple
ΔE2000 19.2
Where it sits
Hue340° of 360°
Saturation34%
Lightness25%
Temperature
Warm ← → Cool28% 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#562a39
RGBrgb(86, 42, 57)
HSLhsl(340, 34%, 25%)
CMYKcmyk(0%, 51%, 34%, 66%)
LABlab(23.4 22.3 -0.3)
LCHlch(23.4 22.3 359.1)
OKLCHoklch(0.349 0.068 359.5)
Decimal5646905
Display P3color(display-p3 0.337 0.165 0.224)

Copy-ready code

/* CSS */
color: #562a39;
background-color: #562a39;
/* Tailwind (arbitrary) */
class="text-[#562a39] bg-[#562a39]"
/* SCSS */
$brand: #562a39;
/* SwiftUI */
Color(red: 0.337, green: 0.165, blue: 0.224)
/* Android */
Color.parseColor("#562a39")
/* Flutter */
Color(0xFF562A39)
/* Python / OpenCV (BGR) */
(57, 42, 86)

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

Accessibility — WCAG contrast

Aa
#562a39 on white: 11.76:1
AA ✓ pass · AA-large · AAA
Aa
#562a39 on black: 1.79:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #313339
deuteranopia · #3C3B38
tritanopia · #5C272F

Color scale — 50 to 950

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

#F9F5F7
#F4ECEE
#E8D4DB
#DAB4C1
#C88EA2
#B56883
#A5506D
#89435B
#6E3649
#562a39
#321A22
Base = 900Lightest = 50 · #F9F5F7Darkest = 950 · #321A22
:root {
  --brand-50: #F9F5F7;
  --brand-100: #F4ECEE;
  --brand-200: #E8D4DB;
  --brand-300: #DAB4C1;
  --brand-400: #C88EA2;
  --brand-500: #B56883;
  --brand-600: #A5506D;
  --brand-700: #89435B;
  --brand-800: #6E3649;
  --brand-900: #562a39;
  --brand-950: #321A22;
  --brand: #562a39;
  --brand-ink: #ffffff;
}

Colors that work with #562a39

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#FAF5F7
Tinted page background
Border#E4C8D2
Hairlines and dividers
Muted text#9A4B66
Captions on the surface
Accent#27593B
Second voice, not a rival
Dark variant#562A39
Hover, pressed, headers
Light variant#F7EEF1
Selected rows, tints
Dark surface#241419
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 #562a39

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#2A5647
Analogous left#562A4F
Analogous right#56312A
Split-complement 1#2A5631
Split-complement 2#2A4F56
Triadic 1#39562A
Triadic 2#2A3956
Tetradic#4F562A

RGB percentages

Red33.7%
Green16.5%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta51.2%
Yellow33.7%
Key (black)66.3%

Color previews

#562a39 text on a black background

contrast 1.79:1

Card sample

#562a39 text on a white background

contrast 11.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(86, 42, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 42, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #562a39;
background: linear-gradient(135deg, #562a39, #56382A);

Monochromatic scale

Palettes built from #562a39

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.

#562a39 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.

#562a39, answered

What color is #562a39?

#562a39 is a dark soft magenta / pink, closest to Purple (ΔE2000 19.2). It sits at 340° on the hue wheel with 34% saturation and 25% lightness, which reads as warm.

What is the RGB value of #562a39?

rgb(86, 42, 57) — 86 red, 42 green and 57 blue out of 255, or 33.7% / 16.5% / 22.4% by channel.

Is #562a39 a light or a dark color?

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

Should I use black or white text on #562a39?

White. It scores 11.76:1 against #562a39, versus 1.79:1 for black — AAA at any size.

What is the complementary color of #562a39?

#2A5647 sits directly opposite on the wheel. Softer options are the split-complements #2A5631 and #2A4F56, which give the same contrast with far less vibration.

What colors go well with #562a39?

For interface work: #FAF5F7 as the surface, #E4C8D2 for borders, #9A4B66 for secondary text, #27593B as an accent and #562A39 for hover and pressed states. For a palette, the analogous pair #562A4F and #56312A stays calm, while #2A5647 is the loudest partner.

What is #562a39 in CMYK for printing?

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

Is #562a39 warm or cool?

Warm — it scores 28 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #562B2A; nudged cooler, #57294A.

Work with #562a39 in the Color Lab