Skip to content

#e02cdf

a balanced, vivid magenta / pink · neutral · closest name: Magenta

RGB
224, 44, 223
HSL
300°, 74%, 53%
CMYK
0, 80, 0, 12
Luminance
0.2298

At a glance

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

Hex
#e02cdf
Hue
300°
magenta / pink
Saturation
74%
vivid
Lightness
53%
balanced
Brightness
88%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2298
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.60:1
Closest name
Magenta
ΔE2000 5.7
Where it sits
Hue300° of 360°
Saturation74%
Lightness53%
Temperature
Warm ← → Cool50% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#e02cdf
RGBrgb(224, 44, 223)
HSLhsl(300, 74%, 53%)
CMYKcmyk(0%, 80%, 0%, 12%)
LABlab(55.0 83.3 -51.6)
LCHlch(55.0 98.0 328.2)
OKLCHoklch(0.649 0.274 328.4)
Decimal14691551
Display P3color(display-p3 0.878 0.173 0.875)

Copy-ready code

/* CSS */
color: #e02cdf;
background-color: #e02cdf;
/* Tailwind (arbitrary) */
class="text-[#e02cdf] bg-[#e02cdf]"
/* SCSS */
$brand: #e02cdf;
/* SwiftUI */
Color(red: 0.878, green: 0.173, blue: 0.875)
/* Android */
Color.parseColor("#e02cdf")
/* Flutter */
Color(0xFFE02CDF)
/* Python / OpenCV (BGR) */
(223, 44, 224)

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#000000 on #e02cdf · 5.60:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.75:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.60:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #e02cdf as text scores 3.75:1 on white and 5.60:1 on black.

Accessibility — WCAG contrast

Aa
#e02cdf on white: 3.75:1
AA ✗ fail · AA-large · AAA
Aa
#e02cdf on black: 5.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0075E4
deuteranopia · #648CDB
tritanopia · #E74D88

Color scale — 50 to 950

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

#FCF3FC
#F9E7F8
#F4C8F3
#F19DF0
#E96CE9
#e02cdf
#D51FD5
#B21AB1
#8E158E
#671367
#400C40
Base = 500Lightest = 50 · #FCF3FCDarkest = 950 · #400C40
:root {
  --brand-50: #FCF3FC;
  --brand-100: #F9E7F8;
  --brand-200: #F4C8F3;
  --brand-300: #F19DF0;
  --brand-400: #E96CE9;
  --brand-500: #e02cdf;
  --brand-600: #D51FD5;
  --brand-700: #B21AB1;
  --brand-800: #8E158E;
  --brand-900: #671367;
  --brand-950: #400C40;
  --brand: #e02cdf;
  --brand-ink: #000000;
}

Colors that work with #e02cdf

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4FA
Tinted page background
Border#EDC0EC
Hairlines and dividers
Muted text#9B4B9B
Captions on the surface
Accent#3DB616
Second voice, not a rival
Dark variant#6F106F
Hover, pressed, headers
Light variant#FCE9FC
Selected rows, tints
Dark surface#241424
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 #e02cdf

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#2CE02D
Analogous left#872CE0
Analogous right#E02C85
Split-complement 1#85E02C
Split-complement 2#2CE087
Triadic 1#DFE02C
Triadic 2#2CDFE0
Tetradic#E0872C

RGB percentages

Red87.8%
Green17.3%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta80.4%
Yellow0.4%
Key (black)12.2%

Color previews

#e02cdf text on a black background

contrast 5.60:1

Card sample

#e02cdf text on a white background

contrast 3.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(224, 44, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(224, 44, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e02cdf;
background: linear-gradient(135deg, #e02cdf, #E02C67);

Monochromatic scale

Palettes built from #e02cdf

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.

#e02cdf 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

Converts to four-color process without much drama. Proof it anyway.

#e02cdf, answered

What color is #e02cdf?

#e02cdf is a balanced vivid magenta / pink, closest to Magenta (ΔE2000 5.7). It sits at 300° on the hue wheel with 74% saturation and 53% lightness, which reads as neutral.

What is the RGB value of #e02cdf?

rgb(224, 44, 223) — 224 red, 44 green and 223 blue out of 255, or 87.8% / 17.3% / 87.5% by channel.

Is #e02cdf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2298 and perceived brightness is 58%, so black text on it reaches 5.60:1.

Should I use black or white text on #e02cdf?

Black. It scores 5.60:1 against #e02cdf, versus 3.75:1 for white — AA at any size.

What is the complementary color of #e02cdf?

#2CE02D sits directly opposite on the wheel. Softer options are the split-complements #85E02C and #2CE087, which give the same contrast with far less vibration.

What colors go well with #e02cdf?

For interface work: #FAF4FA as the surface, #EDC0EC for borders, #9B4B9B for secondary text, #3DB616 as an accent and #6F106F for hover and pressed states. For a palette, the analogous pair #872CE0 and #E02C85 stays calm, while #2CE02D is the loudest partner.

What is #e02cdf in CMYK for printing?

cmyk(0%, 80%, 0%, 12%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #e02cdf warm or cool?

Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E02C9D; nudged cooler, #9F29E2.

Work with #e02cdf in the Color Lab