Skip to content

#a30e7a

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

RGB
163, 14, 122
HSL
317°, 84%, 35%
CMYK
0, 91, 25, 36
Luminance
0.0951

At a glance

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

Hex
#a30e7a
Hue
317°
magenta / pink
Saturation
84%
electric
Lightness
35%
dark
Brightness
64%
HSV value
Perceived
39%
weighted brightness
Luminance
0.0951
WCAG relative
Temperature
Warm
41/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
7.24:1
Closest name
Medium Violet Red
ΔE2000 7.8
Where it sits
Hue317° of 360°
Saturation84%
Lightness35%
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#a30e7a
RGBrgb(163, 14, 122)
HSLhsl(317, 84%, 35%)
CMYKcmyk(0%, 91%, 25%, 36%)
LABlab(36.9 63.0 -21.0)
LCHlch(36.9 66.4 341.6)
OKLCHoklch(0.483 0.199 343.6)
Decimal10686074
Display P3color(display-p3 0.639 0.055 0.478)

Copy-ready code

/* CSS */
color: #a30e7a;
background-color: #a30e7a;
/* Tailwind (arbitrary) */
class="text-[#a30e7a] bg-[#a30e7a]"
/* SCSS */
$brand: #a30e7a;
/* SwiftUI */
Color(red: 0.639, green: 0.055, blue: 0.478)
/* Android */
Color.parseColor("#a30e7a")
/* Flutter */
Color(0xFFA30E7A)
/* Python / OpenCV (BGR) */
(122, 14, 163)

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

Accessibility — WCAG contrast

Aa
#a30e7a on white: 7.24:1
AA ✓ pass · AA-large · AAA
Aa
#a30e7a on black: 2.90:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #27487C
deuteranopia · #565F77
tritanopia · #AE0D48

Color scale — 50 to 950

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

#FCF2FA
#FAE6F4
#F6C5E9
#F698DC
#F264CB
#ED30B9
#E113A9
#BC108D
#a30e7a
#6D0E53
#440934
Base = 800Lightest = 50 · #FCF2FADarkest = 950 · #440934
:root {
  --brand-50: #FCF2FA;
  --brand-100: #FAE6F4;
  --brand-200: #F6C5E9;
  --brand-300: #F698DC;
  --brand-400: #F264CB;
  --brand-500: #ED30B9;
  --brand-600: #E113A9;
  --brand-700: #BC108D;
  --brand-800: #a30e7a;
  --brand-900: #6D0E53;
  --brand-950: #440934;
  --brand: #a30e7a;
  --brand-ink: #ffffff;
}

Colors that work with #a30e7a

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#EDC0E0
Hairlines and dividers
Muted text#9B4B85
Captions on the surface
Accent#0CC010
Second voice, not a rival
Dark variant#750A58
Hover, pressed, headers
Light variant#FDE8F7
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 #a30e7a

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#0EA337
Analogous left#810EA3
Analogous right#A30E30
Split-complement 1#30A30E
Split-complement 2#0EA381
Triadic 1#7AA30E
Triadic 2#0E7AA3
Tetradic#A3810E

RGB percentages

Red63.9%
Green5.5%
Blue47.8%

CMYK percentages

Cyan0.0%
Magenta91.4%
Yellow25.2%
Key (black)36.1%

Color previews

#a30e7a text on a black background

contrast 2.90:1

Card sample

#a30e7a text on a white background

contrast 7.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(163, 14, 122, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(163, 14, 122, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a30e7a;
background: linear-gradient(135deg, #a30e7a, #A30E17);

Monochromatic scale

Palettes built from #a30e7a

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.

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

#a30e7a, answered

What color is #a30e7a?

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

What is the RGB value of #a30e7a?

rgb(163, 14, 122) — 163 red, 14 green and 122 blue out of 255, or 63.9% / 5.5% / 47.8% by channel.

Is #a30e7a a light or a dark color?

It is a dark color. Relative luminance is 0.0951 and perceived brightness is 39%, so white text on it reaches 7.24:1.

Should I use black or white text on #a30e7a?

White. It scores 7.24:1 against #a30e7a, versus 2.90:1 for black — AAA at any size.

What is the complementary color of #a30e7a?

#0EA337 sits directly opposite on the wheel. Softer options are the split-complements #30A30E and #0EA381, which give the same contrast with far less vibration.

What colors go well with #a30e7a?

For interface work: #FAF4F9 as the surface, #EDC0E0 for borders, #9B4B85 for secondary text, #0CC010 as an accent and #750A58 for hover and pressed states. For a palette, the analogous pair #810EA3 and #A30E30 stays calm, while #0EA337 is the loudest partner.

What is #a30e7a in CMYK for printing?

cmyk(0%, 91%, 25%, 36%). 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 #a30e7a 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 #A30E43; nudged cooler, #970CA5.

Work with #a30e7a in the Color Lab