Skip to content

#930d52

a dark, electric magenta / pink · warm · closest name: Medium Violet Red

RGB
147, 13, 82
HSL
329°, 84%, 31%
CMYK
0, 91, 44, 42
Luminance
0.0710

At a glance

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

Hex
#930d52
Hue
329°
magenta / pink
Saturation
84%
electric
Lightness
31%
dark
Brightness
58%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0710
WCAG relative
Temperature
Warm
34/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
8.68:1
Closest name
Medium Violet Red
ΔE2000 12.5
Where it sits
Hue329° of 360°
Saturation84%
Lightness31%
Temperature
Warm ← → Cool34% 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#930d52
RGBrgb(147, 13, 82)
HSLhsl(329, 84%, 31%)
CMYKcmyk(0%, 91%, 44%, 42%)
LABlab(32.0 55.1 -3.1)
LCHlch(32.0 55.2 356.8)
OKLCHoklch(0.437 0.170 357.5)
Decimal9637202
Display P3color(display-p3 0.576 0.051 0.322)

Copy-ready code

/* CSS */
color: #930d52;
background-color: #930d52;
/* Tailwind (arbitrary) */
class="text-[#930d52] bg-[#930d52]"
/* SCSS */
$brand: #930d52;
/* SwiftUI */
Color(red: 0.576, green: 0.051, blue: 0.322)
/* Android */
Color.parseColor("#930d52")
/* Flutter */
Color(0xFF930D52)
/* Python / OpenCV (BGR) */
(82, 13, 147)

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

Accessibility — WCAG contrast

Aa
#930d52 on white: 8.68:1
AA ✓ pass · AA-large · AAA
Aa
#930d52 on black: 2.42:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #323C53
deuteranopia · #55544F
tritanopia · #A00030

Color scale — 50 to 950

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

#FCF2F8
#FAE6F0
#F6C5DF
#F698C8
#F164AD
#ED3192
#E1147D
#BB1169
#930d52
#6C0E3F
#440927
Base = 800Lightest = 50 · #FCF2F8Darkest = 950 · #440927
:root {
  --brand-50: #FCF2F8;
  --brand-100: #FAE6F0;
  --brand-200: #F6C5DF;
  --brand-300: #F698C8;
  --brand-400: #F164AD;
  --brand-500: #ED3192;
  --brand-600: #E1147D;
  --brand-700: #BB1169;
  --brand-800: #930d52;
  --brand-900: #6C0E3F;
  --brand-950: #440927;
  --brand: #930d52;
  --brand-ink: #ffffff;
}

Colors that work with #930d52

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#EDC0D7
Hairlines and dividers
Muted text#9B4B74
Captions on the surface
Accent#0A962B
Second voice, not a rival
Dark variant#750A41
Hover, pressed, headers
Light variant#FDE8F3
Selected rows, tints
Dark surface#24141C
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 #930d52

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#0D934E
Analogous left#910D93
Analogous right#930D0F
Split-complement 1#0F930D
Split-complement 2#0D9391
Triadic 1#52930D
Triadic 2#0D5293
Tetradic#93910D

RGB percentages

Red57.6%
Green5.1%
Blue32.2%

CMYK percentages

Cyan0.0%
Magenta91.2%
Yellow44.2%
Key (black)42.4%

Color previews

#930d52 text on a black background

contrast 2.42:1

Card sample

#930d52 text on a white background

contrast 8.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(147, 13, 82, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(147, 13, 82, 0.45);
Border & gradient
Gradient panel
border: 3px solid #930d52;
background: linear-gradient(135deg, #930d52, #93210D);

Monochromatic scale

Palettes built from #930d52

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.

#930d52 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.

#930d52, answered

What color is #930d52?

#930d52 is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 12.5). It sits at 329° on the hue wheel with 84% saturation and 31% lightness, which reads as warm.

What is the RGB value of #930d52?

rgb(147, 13, 82) — 147 red, 13 green and 82 blue out of 255, or 57.6% / 5.1% / 32.2% by channel.

Is #930d52 a light or a dark color?

It is a dark color. Relative luminance is 0.0710 and perceived brightness is 34%, so white text on it reaches 8.68:1.

Should I use black or white text on #930d52?

White. It scores 8.68:1 against #930d52, versus 2.42:1 for black — AAA at any size.

What is the complementary color of #930d52?

#0D934E sits directly opposite on the wheel. Softer options are the split-complements #0F930D and #0D9391, which give the same contrast with far less vibration.

What colors go well with #930d52?

For interface work: #FAF4F7 as the surface, #EDC0D7 for borders, #9B4B74 for secondary text, #0A962B as an accent and #750A41 for hover and pressed states. For a palette, the analogous pair #910D93 and #930D0F stays calm, while #0D934E is the loudest partner.

What is #930d52 in CMYK for printing?

cmyk(0%, 91%, 44%, 42%). 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 #930d52 warm or cool?

Warm — it scores 34 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #930D21; nudged cooler, #950B84.

Work with #930d52 in the Color Lab