Skip to content

#e2afbc

a light, vivid magenta / pink · warm · closest name: Pink

RGB
226, 175, 188
HSL
345°, 47%, 79%
CMYK
0, 23, 17, 11
Luminance
0.5046

At a glance

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

Hex
#e2afbc
Hue
345°
magenta / pink
Saturation
47%
vivid
Lightness
79%
light
Brightness
89%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5046
WCAG relative
Temperature
Warm
25/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
11.09:1
Closest name
Pink
ΔE2000 5.7
Where it sits
Hue345° of 360°
Saturation47%
Lightness79%
Temperature
Warm ← → Cool25% 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#e2afbc
RGBrgb(226, 175, 188)
HSLhsl(345, 47%, 79%)
CMYKcmyk(0%, 23%, 17%, 11%)
LABlab(76.3 20.5 0.6)
LCHlch(76.3 20.5 1.6)
OKLCHoklch(0.804 0.062 1.6)
Decimal14856124
Display P3color(display-p3 0.886 0.686 0.737)

Copy-ready code

/* CSS */
color: #e2afbc;
background-color: #e2afbc;
/* Tailwind (arbitrary) */
class="text-[#e2afbc] bg-[#e2afbc]"
/* SCSS */
$brand: #e2afbc;
/* SwiftUI */
Color(red: 0.886, green: 0.686, blue: 0.737)
/* Android */
Color.parseColor("#e2afbc")
/* Flutter */
Color(0xFFE2AFBC)
/* Python / OpenCV (BGR) */
(188, 175, 226)

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

Accessibility — WCAG contrast

Aa
#e2afbc on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#e2afbc on black: 11.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B5B7BC
deuteranopia · #C1C0BB
tritanopia · #EBACB3

Color scale — 50 to 950

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

#FAF5F6
#F5EAED
#ECD0D7
#e2afbc
#D28398
#C35A75
#B4415E
#96364F
#782B3F
#582330
#37161E
Base = 300Lightest = 50 · #FAF5F6Darkest = 950 · #37161E
:root {
  --brand-50: #FAF5F6;
  --brand-100: #F5EAED;
  --brand-200: #ECD0D7;
  --brand-300: #e2afbc;
  --brand-400: #D28398;
  --brand-500: #C35A75;
  --brand-600: #B4415E;
  --brand-700: #96364F;
  --brand-800: #782B3F;
  --brand-900: #582330;
  --brand-950: #37161E;
  --brand: #e2afbc;
  --brand-ink: #000000;
}

Colors that work with #e2afbc

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#FAF4F6
Tinted page background
Border#E9C3CD
Hairlines and dividers
Muted text#9B4B5F
Captions on the surface
Accent#329A65
Second voice, not a rival
Dark variant#5E2231
Hover, pressed, headers
Light variant#F8ECEF
Selected rows, tints
Dark surface#241418
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 #e2afbc

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#AFE2D5
Analogous left#E2AFD5
Analogous right#E2BBAF
Split-complement 1#AFE2BB
Split-complement 2#AFD5E2
Triadic 1#BCE2AF
Triadic 2#AFBCE2
Tetradic#D5E2AF

RGB percentages

Red88.6%
Green68.6%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta22.6%
Yellow16.8%
Key (black)11.4%

Color previews

#e2afbc text on a black background

contrast 11.09:1

Card sample

#e2afbc text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(226, 175, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(226, 175, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e2afbc;
background: linear-gradient(135deg, #e2afbc, #E2C4AF);

Monochromatic scale

Palettes built from #e2afbc

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.

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

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

#e2afbc, answered

What color is #e2afbc?

#e2afbc is a light vivid magenta / pink, closest to Pink (ΔE2000 5.7). It sits at 345° on the hue wheel with 47% saturation and 79% lightness, which reads as warm.

What is the RGB value of #e2afbc?

rgb(226, 175, 188) — 226 red, 175 green and 188 blue out of 255, or 88.6% / 68.6% / 73.7% by channel.

Is #e2afbc a light or a dark color?

It is a light color. Relative luminance is 0.5046 and perceived brightness is 76%, so black text on it reaches 11.09:1.

Should I use black or white text on #e2afbc?

Black. It scores 11.09:1 against #e2afbc, versus 1.89:1 for white — AAA at any size.

What is the complementary color of #e2afbc?

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

What colors go well with #e2afbc?

For interface work: #FAF4F6 as the surface, #E9C3CD for borders, #9B4B5F for secondary text, #329A65 as an accent and #5E2231 for hover and pressed states. For a palette, the analogous pair #E2AFD5 and #E2BBAF stays calm, while #AFE2D5 is the loudest partner.

What is #e2afbc in CMYK for printing?

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

Is #e2afbc warm or cool?

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

Work with #e2afbc in the Color Lab