Skip to content

#ff8edd

a light, electric magenta / pink · warm · closest name: Violet

RGB
255, 142, 221
HSL
318°, 100%, 78%
CMYK
0, 44, 13, 0
Luminance
0.4583

At a glance

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

Hex
#ff8edd
Hue
318°
magenta / pink
Saturation
100%
electric
Lightness
78%
light
Brightness
100%
HSV value
Perceived
75%
weighted brightness
Luminance
0.4583
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
10.17:1
Closest name
Violet
ΔE2000 6.6
Where it sits
Hue318° of 360°
Saturation100%
Lightness78%
Temperature
Warm ← → Cool40% 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#ff8edd
RGBrgb(255, 142, 221)
HSLhsl(318, 100%, 78%)
CMYKcmyk(0%, 44%, 13%, 0%)
LABlab(73.4 52.7 -21.5)
LCHlch(73.4 56.9 337.8)
OKLCHoklch(0.792 0.165 339.5)
Decimal16748253
Display P3color(display-p3 1.000 0.557 0.867)

Copy-ready code

/* CSS */
color: #ff8edd;
background-color: #ff8edd;
/* Tailwind (arbitrary) */
class="text-[#ff8edd] bg-[#ff8edd]"
/* SCSS */
$brand: #ff8edd;
/* SwiftUI */
Color(red: 1.000, green: 0.557, blue: 0.867)
/* Android */
Color.parseColor("#ff8edd")
/* Flutter */
Color(0xFFFF8EDD)
/* Python / OpenCV (BGR) */
(221, 142, 255)

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

Accessibility — WCAG contrast

Aa
#ff8edd on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#ff8edd on black: 10.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #92A9E0
deuteranopia · #B0BBDA
tritanopia · #FF90AC

Color scale — 50 to 950

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

#FEF1FA
#FCE3F5
#FCC0EA
#ff8edd
#FF57CC
#FF1FBB
#F500AB
#CC008E
#A30072
#760554
#490334
Base = 300Lightest = 50 · #FEF1FADarkest = 950 · #490334
:root {
  --brand-50: #FEF1FA;
  --brand-100: #FCE3F5;
  --brand-200: #FCC0EA;
  --brand-300: #ff8edd;
  --brand-400: #FF57CC;
  --brand-500: #FF1FBB;
  --brand-600: #F500AB;
  --brand-700: #CC008E;
  --brand-800: #A30072;
  --brand-900: #760554;
  --brand-950: #490334;
  --brand: #ff8edd;
  --brand-ink: #000000;
}

Colors that work with #ff8edd

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#FAF4F9
Tinted page background
Border#EDC0DF
Hairlines and dividers
Muted text#9B4B83
Captions on the surface
Accent#00CC0B
Second voice, not a rival
Dark variant#800059
Hover, pressed, headers
Light variant#FFE5F7
Selected rows, tints
Dark surface#24141F
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 #ff8edd

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

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White 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#8EFFB0
Analogous left#E98EFF
Analogous right#FF8EA4
Split-complement 1#A4FF8E
Split-complement 2#8EFFE9
Triadic 1#DDFF8E
Triadic 2#8EDDFF
Tetradic#FFE98E

RGB percentages

Red100.0%
Green55.7%
Blue86.7%

CMYK percentages

Cyan0.0%
Magenta44.3%
Yellow13.3%
Key (black)0.0%

Color previews

#ff8edd text on a black background

contrast 10.17:1

Card sample

#ff8edd text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 142, 221, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 142, 221, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff8edd;
background: linear-gradient(135deg, #ff8edd, #FF8E91);

Monochromatic scale

Palettes built from #ff8edd

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.

#ff8edd 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ff8edd, answered

What color is #ff8edd?

#ff8edd is a light electric magenta / pink, closest to Violet (ΔE2000 6.6). It sits at 318° on the hue wheel with 100% saturation and 78% lightness, which reads as warm.

What is the RGB value of #ff8edd?

rgb(255, 142, 221) — 255 red, 142 green and 221 blue out of 255, or 100% / 55.7% / 86.7% by channel.

Is #ff8edd a light or a dark color?

It is a mid-tone. Relative luminance is 0.4583 and perceived brightness is 75%, so black text on it reaches 10.17:1.

Should I use black or white text on #ff8edd?

Black. It scores 10.17:1 against #ff8edd, versus 2.07:1 for white — AAA at any size.

What is the complementary color of #ff8edd?

#8EFFB0 sits directly opposite on the wheel. Softer options are the split-complements #A4FF8E and #8EFFE9, which give the same contrast with far less vibration.

What colors go well with #ff8edd?

For interface work: #FAF4F9 as the surface, #EDC0DF for borders, #9B4B83 for secondary text, #00CC0B as an accent and #800059 for hover and pressed states. For a palette, the analogous pair #E98EFF and #FF8EA4 stays calm, while #8EFFB0 is the loudest partner.

What is #ff8edd in CMYK for printing?

cmyk(0%, 44%, 13%, 0%). 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 #ff8edd warm or cool?

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

Work with #ff8edd in the Color Lab