Skip to content

#562148

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

RGB
86, 33, 72
HSL
316°, 45%, 23%
CMYK
0, 62, 16, 66
Luminance
0.0353

At a glance

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

Hex
#562148
Hue
316°
magenta / pink
Saturation
45%
soft
Lightness
23%
deep
Brightness
34%
HSV value
Perceived
23%
weighted brightness
Luminance
0.0353
WCAG relative
Temperature
Warm
41/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
12.30:1
Closest name
Purple
ΔE2000 13.1
Where it sits
Hue316° of 360°
Saturation45%
Lightness23%
Temperature
Warm ← → Cool41% 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#562148
RGBrgb(86, 33, 72)
HSLhsl(316, 45%, 23%)
CMYKcmyk(0%, 62%, 16%, 66%)
LABlab(22.1 29.9 -12.6)
LCHlch(22.1 32.5 337.1)
OKLCHoklch(0.340 0.094 338.9)
Decimal5644616
Display P3color(display-p3 0.337 0.129 0.282)

Copy-ready code

/* CSS */
color: #562148;
background-color: #562148;
/* Tailwind (arbitrary) */
class="text-[#562148] bg-[#562148]"
/* SCSS */
$brand: #562148;
/* SwiftUI */
Color(red: 0.337, green: 0.129, blue: 0.282)
/* Android */
Color.parseColor("#562148")
/* Flutter */
Color(0xFF562148)
/* Python / OpenCV (BGR) */
(72, 33, 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 #562148 · 12.30:1
Use #ffffffAAA at every size.
Aa
White text · 12.30:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.71:1
AA fail · AA large fail · AAA fail
Reading the other direction: #562148 as text scores 12.30:1 on white and 1.71:1 on black.

Accessibility — WCAG contrast

Aa
#562148 on white: 12.30:1
AA ✓ pass · AA-large · AAA
Aa
#562148 on black: 1.71:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #233049
deuteranopia · #333847
tritanopia · #5B2331

Color scale — 50 to 950

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

#FAF5F9
#F5EAF2
#EBD1E4
#E0AED3
#D085BD
#C15DA6
#B14494
#93397B
#762D63
#562148
#36172E
Base = 900Lightest = 50 · #FAF5F9Darkest = 950 · #36172E
:root {
  --brand-50: #FAF5F9;
  --brand-100: #F5EAF2;
  --brand-200: #EBD1E4;
  --brand-300: #E0AED3;
  --brand-400: #D085BD;
  --brand-500: #C15DA6;
  --brand-600: #B14494;
  --brand-700: #93397B;
  --brand-800: #762D63;
  --brand-900: #562148;
  --brand-950: #36172E;
  --brand: #562148;
  --brand-ink: #ffffff;
}

Colors that work with #562148

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#FAF4F9
Tinted page background
Border#E8C4DF
Hairlines and dividers
Muted text#9B4B86
Captions on the surface
Accent#1F581F
Second voice, not a rival
Dark variant#5C234D
Hover, pressed, headers
Light variant#F8EDF5
Selected rows, tints
Dark surface#241420
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 #562148

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#21562F
Analogous left#492156
Analogous right#56212D
Split-complement 1#2D5621
Split-complement 2#215649
Triadic 1#485621
Triadic 2#214856
Tetradic#564921

RGB percentages

Red33.7%
Green12.9%
Blue28.2%

CMYK percentages

Cyan0.0%
Magenta61.6%
Yellow16.3%
Key (black)66.3%

Color previews

#562148 text on a black background

contrast 1.71:1

Card sample

#562148 text on a white background

contrast 12.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(86, 33, 72, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 33, 72, 0.45);
Border & gradient
Gradient panel
border: 3px solid #562148;
background: linear-gradient(135deg, #562148, #562125);

Monochromatic scale

Palettes built from #562148

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.

#562148 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.

#562148, answered

What color is #562148?

#562148 is a deep soft magenta / pink, closest to Purple (ΔE2000 13.1). It sits at 316° on the hue wheel with 45% saturation and 23% lightness, which reads as warm.

What is the RGB value of #562148?

rgb(86, 33, 72) — 86 red, 33 green and 72 blue out of 255, or 33.7% / 12.9% / 28.2% by channel.

Is #562148 a light or a dark color?

It is a dark color. Relative luminance is 0.0353 and perceived brightness is 23%, so white text on it reaches 12.30:1.

Should I use black or white text on #562148?

White. It scores 12.30:1 against #562148, versus 1.71:1 for black — AAA at any size.

What is the complementary color of #562148?

#21562F sits directly opposite on the wheel. Softer options are the split-complements #2D5621 and #215649, which give the same contrast with far less vibration.

What colors go well with #562148?

For interface work: #FAF4F9 as the surface, #E8C4DF for borders, #9B4B86 for secondary text, #1F581F as an accent and #5C234D for hover and pressed states. For a palette, the analogous pair #492156 and #56212D stays calm, while #21562F is the loudest partner.

What is #562148 in CMYK for printing?

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

Is #562148 warm or cool?

Warm — it scores 41 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #562135; nudged cooler, #512057.

Work with #562148 in the Color Lab