Skip to content

#531021

a deep, vivid magenta / pink · warm · closest name: Maroon

RGB
83, 16, 33
HSL
345°, 68%, 19%
CMYK
0, 81, 60, 68
Luminance
0.0232

At a glance

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

Hex
#531021
Hue
345°
magenta / pink
Saturation
68%
vivid
Lightness
19%
deep
Brightness
33%
HSV value
Perceived
19%
weighted brightness
Luminance
0.0232
WCAG relative
Temperature
Warm
25/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
14.35:1
Closest name
Maroon
ΔE2000 16.4
Where it sits
Hue345° of 360°
Saturation68%
Lightness19%
Temperature
Warm ← → Cool25% 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#531021
RGBrgb(83, 16, 33)
HSLhsl(345, 68%, 19%)
CMYKcmyk(0%, 81%, 60%, 68%)
LABlab(17.1 31.7 7.3)
LCHlch(17.1 32.5 13.0)
OKLCHoklch(0.298 0.098 10.9)
Decimal5443617
Display P3color(display-p3 0.325 0.063 0.129)

Copy-ready code

/* CSS */
color: #531021;
background-color: #531021;
/* Tailwind (arbitrary) */
class="text-[#531021] bg-[#531021]"
/* SCSS */
$brand: #531021;
/* SwiftUI */
Color(red: 0.325, green: 0.063, blue: 0.129)
/* Android */
Color.parseColor("#531021")
/* Flutter */
Color(0xFF531021)
/* Python / OpenCV (BGR) */
(33, 16, 83)

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

Accessibility — WCAG contrast

Aa
#531021 on white: 14.35:1
AA ✓ pass · AA-large · AAA
Aa
#531021 on black: 1.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #212121
deuteranopia · #332F1F
tritanopia · #5B0117

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #531021 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF3F5
#F8E8EC
#F2CAD4
#EDA1B4
#E4728F
#DB4369
#CD2852
#AB2144
#891A36
#63172A
#531021
Base = 950Lightest = 50 · #FBF3F5Darkest = 950 · #531021
:root {
  --brand-50: #FBF3F5;
  --brand-100: #F8E8EC;
  --brand-200: #F2CAD4;
  --brand-300: #EDA1B4;
  --brand-400: #E4728F;
  --brand-500: #DB4369;
  --brand-600: #CD2852;
  --brand-700: #AB2144;
  --brand-800: #891A36;
  --brand-900: #63172A;
  --brand-950: #531021;
  --brand: #531021;
  --brand-ink: #ffffff;
}

Colors that work with #531021

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#FAF4F6
Tinted page background
Border#EDC0CB
Hairlines and dividers
Muted text#9B4B5F
Captions on the surface
Accent#0E5531
Second voice, not a rival
Dark variant#6B152A
Hover, pressed, headers
Light variant#FBEAEE
Selected rows, tints
Dark surface#241418
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 #531021

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • 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#105342
Analogous left#531042
Analogous right#532110
Split-complement 1#105321
Split-complement 2#104253
Triadic 1#215310
Triadic 2#102153
Tetradic#425310

RGB percentages

Red32.5%
Green6.3%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta80.7%
Yellow60.2%
Key (black)67.5%

Color previews

#531021 text on a black background

contrast 1.46:1

Card sample

#531021 text on a white background

contrast 14.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(83, 16, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(83, 16, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #531021;
background: linear-gradient(135deg, #531021, #532C10);

Monochromatic scale

Palettes built from #531021

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.

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

#531021, answered

What color is #531021?

#531021 is a deep vivid magenta / pink, closest to Maroon (ΔE2000 16.4). It sits at 345° on the hue wheel with 68% saturation and 19% lightness, which reads as warm.

What is the RGB value of #531021?

rgb(83, 16, 33) — 83 red, 16 green and 33 blue out of 255, or 32.5% / 6.3% / 12.9% by channel.

Is #531021 a light or a dark color?

It is a dark color. Relative luminance is 0.0232 and perceived brightness is 19%, so white text on it reaches 14.35:1.

Should I use black or white text on #531021?

White. It scores 14.35:1 against #531021, versus 1.46:1 for black — AAA at any size.

What is the complementary color of #531021?

#105342 sits directly opposite on the wheel. Softer options are the split-complements #105321 and #104253, which give the same contrast with far less vibration.

What colors go well with #531021?

For interface work: #FAF4F6 as the surface, #EDC0CB for borders, #9B4B5F for secondary text, #0E5531 as an accent and #6B152A for hover and pressed states. For a palette, the analogous pair #531042 and #532110 stays calm, while #105342 is the loudest partner.

What is #531021 in CMYK for printing?

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

Is #531021 warm or cool?

Warm — it scores 25 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #531810; nudged cooler, #540F3A.

Work with #531021 in the Color Lab