Skip to content

#ae024c

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

RGB
174, 2, 76
HSL
334°, 98%, 35%
CMYK
0, 99, 56, 32
Luminance
0.0956

At a glance

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

Hex
#ae024c
Hue
334°
magenta / pink
Saturation
98%
electric
Lightness
35%
dark
Brightness
68%
HSV value
Perceived
39%
weighted brightness
Luminance
0.0956
WCAG relative
Temperature
Warm
31/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
7.21:1
Closest name
Medium Violet Red
ΔE2000 12.3
Where it sits
Hue334° of 360°
Saturation98%
Lightness35%
Temperature
Warm ← → Cool31% 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#ae024c
RGBrgb(174, 2, 76)
HSLhsl(334, 98%, 35%)
CMYKcmyk(0%, 99%, 56%, 32%)
LABlab(37.0 62.6 8.8)
LCHlch(37.0 63.2 8.0)
OKLCHoklch(0.482 0.193 6.7)
Decimal11403852
Display P3color(display-p3 0.682 0.008 0.298)

Copy-ready code

/* CSS */
color: #ae024c;
background-color: #ae024c;
/* Tailwind (arbitrary) */
class="text-[#ae024c] bg-[#ae024c]"
/* SCSS */
$brand: #ae024c;
/* SwiftUI */
Color(red: 0.682, green: 0.008, blue: 0.298)
/* Android */
Color.parseColor("#ae024c")
/* Flutter */
Color(0xFFAE024C)
/* Python / OpenCV (BGR) */
(76, 2, 174)

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

Accessibility — WCAG contrast

Aa
#ae024c on white: 7.21:1
AA ✓ pass · AA-large · AAA
Aa
#ae024c on black: 2.91:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3F434D
deuteranopia · #686248
tritanopia · #BF002B

Color scale — 50 to 950

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

#FDF1F6
#FCE4EE
#FBC1DA
#FE90BF
#FD599F
#FC217F
#F2036A
#CA0258
#ae024c
#740635
#490421
Base = 800Lightest = 50 · #FDF1F6Darkest = 950 · #490421
:root {
  --brand-50: #FDF1F6;
  --brand-100: #FCE4EE;
  --brand-200: #FBC1DA;
  --brand-300: #FE90BF;
  --brand-400: #FD599F;
  --brand-500: #FC217F;
  --brand-600: #F2036A;
  --brand-700: #CA0258;
  --brand-800: #ae024c;
  --brand-900: #740635;
  --brand-950: #490421;
  --brand: #ae024c;
  --brand-ink: #ffffff;
}

Colors that work with #ae024c

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#EDC0D3
Hairlines and dividers
Muted text#9B4B6D
Captions on the surface
Accent#00CC41
Second voice, not a rival
Dark variant#7E0137
Hover, pressed, headers
Light variant#FFE6F1
Selected rows, tints
Dark surface#24141B
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 #ae024c

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#02AE64
Analogous left#AE02A2
Analogous right#AE0E02
Split-complement 1#02AE0E
Split-complement 2#02A2AE
Triadic 1#4CAE02
Triadic 2#024CAE
Tetradic#A2AE02

RGB percentages

Red68.2%
Green0.8%
Blue29.8%

CMYK percentages

Cyan0.0%
Magenta98.9%
Yellow56.3%
Key (black)31.8%

Color previews

#ae024c text on a black background

contrast 2.91:1

Card sample

#ae024c text on a white background

contrast 7.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(174, 2, 76, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 2, 76, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ae024c;
background: linear-gradient(135deg, #ae024c, #AE2B02);

Monochromatic scale

Palettes built from #ae024c

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.

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

#ae024c, answered

What color is #ae024c?

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

What is the RGB value of #ae024c?

rgb(174, 2, 76) — 174 red, 2 green and 76 blue out of 255, or 68.2% / 0.8% / 29.8% by channel.

Is #ae024c a light or a dark color?

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

Should I use black or white text on #ae024c?

White. It scores 7.21:1 against #ae024c, versus 2.91:1 for black — AAA at any size.

What is the complementary color of #ae024c?

#02AE64 sits directly opposite on the wheel. Softer options are the split-complements #02AE0E and #02A2AE, which give the same contrast with far less vibration.

What colors go well with #ae024c?

For interface work: #FAF4F7 as the surface, #EDC0D3 for borders, #9B4B6D for secondary text, #00CC41 as an accent and #7E0137 for hover and pressed states. For a palette, the analogous pair #AE02A2 and #AE0E02 stays calm, while #02AE64 is the loudest partner.

What is #ae024c in CMYK for printing?

cmyk(0%, 99%, 56%, 32%). 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 #ae024c warm or cool?

Warm — it scores 31 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AE020D; nudged cooler, #B0008C.

Work with #ae024c in the Color Lab