Skip to content

#4c0521

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

RGB
76, 5, 33
HSL
336°, 88%, 16%
CMYK
0, 93, 57, 70
Luminance
0.0175

At a glance

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

Hex
#4c0521
Hue
336°
magenta / pink
Saturation
88%
electric
Lightness
16%
deep
Brightness
30%
HSV value
Perceived
17%
weighted brightness
Luminance
0.0175
WCAG relative
Temperature
Warm
30/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
15.54:1
Closest name
Maroon
ΔE2000 19.6
Where it sits
Hue336° of 360°
Saturation88%
Lightness16%
Temperature
Warm ← → Cool30% 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#4c0521
RGBrgb(76, 5, 33)
HSLhsl(336, 88%, 16%)
CMYKcmyk(0%, 93%, 57%, 70%)
LABlab(14.2 33.3 3.0)
LCHlch(14.2 33.5 5.1)
OKLCHoklch(0.273 0.102 4.4)
Decimal4982049
Display P3color(display-p3 0.298 0.020 0.129)

Copy-ready code

/* CSS */
color: #4c0521;
background-color: #4c0521;
/* Tailwind (arbitrary) */
class="text-[#4c0521] bg-[#4c0521]"
/* SCSS */
$brand: #4c0521;
/* SwiftUI */
Color(red: 0.298, green: 0.020, blue: 0.129)
/* Android */
Color.parseColor("#4c0521")
/* Flutter */
Color(0xFF4C0521)
/* Python / OpenCV (BGR) */
(33, 5, 76)

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

Accessibility — WCAG contrast

Aa
#4c0521 on white: 15.54:1
AA ✓ pass · AA-large · AAA
Aa
#4c0521 on black: 1.35:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #191B22
deuteranopia · #2B291F
tritanopia · #540012

Color scale — 50 to 950

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

#FDF2F6
#FAE5ED
#F8C4D8
#F896BD
#F5619B
#F12C7A
#E60F64
#BF0D53
#990A43
#6F0C33
#4c0521
Base = 950Lightest = 50 · #FDF2F6Darkest = 950 · #4c0521
:root {
  --brand-50: #FDF2F6;
  --brand-100: #FAE5ED;
  --brand-200: #F8C4D8;
  --brand-300: #F896BD;
  --brand-400: #F5619B;
  --brand-500: #F12C7A;
  --brand-600: #E60F64;
  --brand-700: #BF0D53;
  --brand-800: #990A43;
  --brand-900: #6F0C33;
  --brand-950: #4c0521;
  --brand: #4c0521;
  --brand-ink: #ffffff;
}

Colors that work with #4c0521

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#FAF4F7
Tinted page background
Border#EDC0D1
Hairlines and dividers
Muted text#9B4B6A
Captions on the surface
Accent#034E1E
Second voice, not a rival
Dark variant#780834
Hover, pressed, headers
Light variant#FDE7F0
Selected rows, tints
Dark surface#24141A
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 #4c0521

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#054C30
Analogous left#4C0545
Analogous right#4C0C05
Split-complement 1#054C0C
Split-complement 2#05454C
Triadic 1#214C05
Triadic 2#05214C
Tetradic#454C05

RGB percentages

Red29.8%
Green2.0%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta93.4%
Yellow56.6%
Key (black)70.2%

Color previews

#4c0521 text on a black background

contrast 1.35:1

Card sample

#4c0521 text on a white background

contrast 15.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(76, 5, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(76, 5, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4c0521;
background: linear-gradient(135deg, #4c0521, #4C1805);

Monochromatic scale

Palettes built from #4c0521

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.

#4c0521 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#4c0521, answered

What color is #4c0521?

#4c0521 is a deep electric magenta / pink, closest to Maroon (ΔE2000 19.6). It sits at 336° on the hue wheel with 88% saturation and 16% lightness, which reads as warm.

What is the RGB value of #4c0521?

rgb(76, 5, 33) — 76 red, 5 green and 33 blue out of 255, or 29.8% / 2% / 12.9% by channel.

Is #4c0521 a light or a dark color?

It is a dark color. Relative luminance is 0.0175 and perceived brightness is 17%, so white text on it reaches 15.54:1.

Should I use black or white text on #4c0521?

White. It scores 15.54:1 against #4c0521, versus 1.35:1 for black — AAA at any size.

What is the complementary color of #4c0521?

#054C30 sits directly opposite on the wheel. Softer options are the split-complements #054C0C and #05454C, which give the same contrast with far less vibration.

What colors go well with #4c0521?

For interface work: #FAF4F7 as the surface, #EDC0D1 for borders, #9B4B6A for secondary text, #034E1E as an accent and #780834 for hover and pressed states. For a palette, the analogous pair #4C0545 and #4C0C05 stays calm, while #054C30 is the loudest partner.

What is #4c0521 in CMYK for printing?

cmyk(0%, 93%, 57%, 70%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #4c0521 warm or cool?

Warm — it scores 30 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4C0507; nudged cooler, #4D043C.

Work with #4c0521 in the Color Lab