Skip to content

#5c0136

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

RGB
92, 1, 54
HSL
325°, 98%, 18%
CMYK
0, 99, 41, 64
Luminance
0.0256

At a glance

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

Hex
#5c0136
Hue
325°
magenta / pink
Saturation
98%
electric
Lightness
18%
deep
Brightness
36%
HSV value
Perceived
21%
weighted brightness
Luminance
0.0256
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
13.88:1
Closest name
Purple
ΔE2000 15.3
Where it sits
Hue325° of 360°
Saturation98%
Lightness18%
Temperature
Warm ← → Cool36% 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#5c0136
RGBrgb(92, 1, 54)
HSLhsl(325, 98%, 18%)
CMYKcmyk(0%, 99%, 41%, 64%)
LABlab(18.2 41.0 -5.9)
LCHlch(18.2 41.5 351.8)
OKLCHoklch(0.312 0.128 353.2)
Decimal6029622
Display P3color(display-p3 0.361 0.004 0.212)

Copy-ready code

/* CSS */
color: #5c0136;
background-color: #5c0136;
/* Tailwind (arbitrary) */
class="text-[#5c0136] bg-[#5c0136]"
/* SCSS */
$brand: #5c0136;
/* SwiftUI */
Color(red: 0.361, green: 0.004, blue: 0.212)
/* Android */
Color.parseColor("#5c0136")
/* Flutter */
Color(0xFF5C0136)
/* Python / OpenCV (BGR) */
(54, 1, 92)

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

Accessibility — WCAG contrast

Aa
#5c0136 on white: 13.88:1
AA ✓ pass · AA-large · AAA
Aa
#5c0136 on black: 1.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #182237
deuteranopia · #313234
tritanopia · #64001C

Color scale — 50 to 950

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

#FDF1F8
#FCE3F2
#FBC1E3
#FE90D0
#FD59B8
#FD21A1
#F2038E
#CA0276
#A1025F
#740646
#5c0136
Base = 950Lightest = 50 · #FDF1F8Darkest = 950 · #5c0136
:root {
  --brand-50: #FDF1F8;
  --brand-100: #FCE3F2;
  --brand-200: #FBC1E3;
  --brand-300: #FE90D0;
  --brand-400: #FD59B8;
  --brand-500: #FD21A1;
  --brand-600: #F2038E;
  --brand-700: #CA0276;
  --brand-800: #A1025F;
  --brand-900: #740646;
  --brand-950: #5c0136;
  --brand: #5c0136;
  --brand-ink: #ffffff;
}

Colors that work with #5c0136

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#FAF4F8
Tinted page background
Border#EDC0DA
Hairlines and dividers
Muted text#9B4B79
Captions on the surface
Accent#005D10
Second voice, not a rival
Dark variant#7E014A
Hover, pressed, headers
Light variant#FFE6F4
Selected rows, tints
Dark surface#24141D
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 #5c0136

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#015C27
Analogous left#54015C
Analogous right#5C0108
Split-complement 1#085C01
Split-complement 2#015C54
Triadic 1#365C01
Triadic 2#01365C
Tetradic#5C5401

RGB percentages

Red36.1%
Green0.4%
Blue21.2%

CMYK percentages

Cyan0.0%
Magenta98.9%
Yellow41.3%
Key (black)63.9%

Color previews

#5c0136 text on a black background

contrast 1.51:1

Card sample

#5c0136 text on a white background

contrast 13.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(92, 1, 54, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(92, 1, 54, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5c0136;
background: linear-gradient(135deg, #5c0136, #5C0901);

Monochromatic scale

Palettes built from #5c0136

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.

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

#5c0136, answered

What color is #5c0136?

#5c0136 is a deep electric magenta / pink, closest to Purple (ΔE2000 15.3). It sits at 325° on the hue wheel with 98% saturation and 18% lightness, which reads as warm.

What is the RGB value of #5c0136?

rgb(92, 1, 54) — 92 red, 1 green and 54 blue out of 255, or 36.1% / 0.4% / 21.2% by channel.

Is #5c0136 a light or a dark color?

It is a dark color. Relative luminance is 0.0256 and perceived brightness is 21%, so white text on it reaches 13.88:1.

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

White. It scores 13.88:1 against #5c0136, versus 1.51:1 for black — AAA at any size.

What is the complementary color of #5c0136?

#015C27 sits directly opposite on the wheel. Softer options are the split-complements #085C01 and #015C54, which give the same contrast with far less vibration.

What colors go well with #5c0136?

For interface work: #FAF4F8 as the surface, #EDC0DA for borders, #9B4B79 for secondary text, #005D10 as an accent and #7E014A for hover and pressed states. For a palette, the analogous pair #54015C and #5C0108 stays calm, while #015C27 is the loudest partner.

What is #5c0136 in CMYK for printing?

cmyk(0%, 99%, 41%, 64%). 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 #5c0136 warm or cool?

Warm — it scores 36 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5C0115; nudged cooler, #5D0058.

Work with #5c0136 in the Color Lab