Skip to content

#ffa5eb

a light, electric magenta / pink · neutral · closest name: Plum

RGB
255, 165, 235
HSL
313°, 100%, 82%
CMYK
0, 35, 8, 0
Luminance
0.5417

At a glance

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

Hex
#ffa5eb
Hue
313°
magenta / pink
Saturation
100%
electric
Lightness
82%
light
Brightness
100%
HSV value
Perceived
80%
weighted brightness
Luminance
0.5417
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
11.83:1
Closest name
Plum
ΔE2000 5.8
Where it sits
Hue313° of 360°
Saturation100%
Lightness82%
Temperature
Warm ← → Cool43% 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#ffa5eb
RGBrgb(255, 165, 235)
HSLhsl(313, 100%, 82%)
CMYKcmyk(0%, 35%, 8%, 0%)
LABlab(78.6 43.3 -21.4)
LCHlch(78.6 48.3 333.7)
OKLCHoklch(0.832 0.137 335.2)
Decimal16754155
Display P3color(display-p3 1.000 0.647 0.922)

Copy-ready code

/* CSS */
color: #ffa5eb;
background-color: #ffa5eb;
/* Tailwind (arbitrary) */
class="text-[#ffa5eb] bg-[#ffa5eb]"
/* SCSS */
$brand: #ffa5eb;
/* SwiftUI */
Color(red: 1.000, green: 0.647, blue: 0.922)
/* Android */
Color.parseColor("#ffa5eb")
/* Flutter */
Color(0xFFFFA5EB)
/* Python / OpenCV (BGR) */
(235, 165, 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 #ffa5eb · 11.83:1
Use #000000AAA at every size.
Aa
White text · 1.77:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.83:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ffa5eb as text scores 1.77:1 on white and 11.83:1 on black.

Accessibility — WCAG contrast

Aa
#ffa5eb on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#ffa5eb on black: 11.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A5BAEE
deuteranopia · #BCC7E8
tritanopia · #FFA9BE

Color scale — 50 to 950

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

#FEF1FB
#FCE3F7
#FCC0EE
#ffa5eb
#FF57DA
#FF1FCD
#F500BF
#CC009F
#A3007F
#76055D
#49033A
Base = 300Lightest = 50 · #FEF1FBDarkest = 950 · #49033A
:root {
  --brand-50: #FEF1FB;
  --brand-100: #FCE3F7;
  --brand-200: #FCC0EE;
  --brand-300: #ffa5eb;
  --brand-400: #FF57DA;
  --brand-500: #FF1FCD;
  --brand-600: #F500BF;
  --brand-700: #CC009F;
  --brand-800: #A3007F;
  --brand-900: #76055D;
  --brand-950: #49033A;
  --brand: #ffa5eb;
  --brand-ink: #000000;
}

Colors that work with #ffa5eb

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#EDC0E3
Hairlines and dividers
Muted text#9B4B89
Captions on the surface
Accent#07CC00
Second voice, not a rival
Dark variant#800063
Hover, pressed, headers
Light variant#FFE5F9
Selected rows, tints
Dark surface#241421
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 #ffa5eb

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#A5FFB9
Analogous left#E6A5FF
Analogous right#FFA5BE
Split-complement 1#BEFFA5
Split-complement 2#A5FFE6
Triadic 1#EBFFA5
Triadic 2#A5EBFF
Tetradic#FFE6A5

RGB percentages

Red100.0%
Green64.7%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta35.3%
Yellow7.8%
Key (black)0.0%

Color previews

#ffa5eb text on a black background

contrast 11.83:1

Card sample

#ffa5eb text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffa5eb

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.

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

#ffa5eb, answered

What color is #ffa5eb?

#ffa5eb is a light electric magenta / pink, closest to Plum (ΔE2000 5.8). It sits at 313° on the hue wheel with 100% saturation and 82% lightness, which reads as neutral.

What is the RGB value of #ffa5eb?

rgb(255, 165, 235) — 255 red, 165 green and 235 blue out of 255, or 100% / 64.7% / 92.2% by channel.

Is #ffa5eb a light or a dark color?

It is a light color. Relative luminance is 0.5417 and perceived brightness is 80%, so black text on it reaches 11.83:1.

Should I use black or white text on #ffa5eb?

Black. It scores 11.83:1 against #ffa5eb, versus 1.77:1 for white — AAA at any size.

What is the complementary color of #ffa5eb?

#A5FFB9 sits directly opposite on the wheel. Softer options are the split-complements #BEFFA5 and #A5FFE6, which give the same contrast with far less vibration.

What colors go well with #ffa5eb?

For interface work: #FAF4F9 as the surface, #EDC0E3 for borders, #9B4B89 for secondary text, #07CC00 as an accent and #800063 for hover and pressed states. For a palette, the analogous pair #E6A5FF and #FFA5BE stays calm, while #A5FFB9 is the loudest partner.

What is #ffa5eb in CMYK for printing?

cmyk(0%, 35%, 8%, 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 #ffa5eb warm or cool?

Neutral — it scores 43 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FFA5CA; nudged cooler, #F2A5FF.

Work with #ffa5eb in the Color Lab