Skip to content

#d27eb2

a light, vivid magenta / pink · warm · closest name: Pale Violet Red

RGB
210, 126, 178
HSL
323°, 48%, 66%
CMYK
0, 40, 15, 18
Luminance
0.3184

At a glance

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

Hex
#d27eb2
Hue
323°
magenta / pink
Saturation
48%
vivid
Lightness
66%
light
Brightness
82%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3184
WCAG relative
Temperature
Warm
37/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.37:1
Closest name
Pale Violet Red
ΔE2000 8
Where it sits
Hue323° of 360°
Saturation48%
Lightness66%
Temperature
Warm ← → Cool37% 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#d27eb2
RGBrgb(210, 126, 178)
HSLhsl(323, 48%, 66%)
CMYKcmyk(0%, 40%, 15%, 18%)
LABlab(63.2 39.6 -13.5)
LCHlch(63.2 41.9 341.1)
OKLCHoklch(0.699 0.122 342.9)
Decimal13794994
Display P3color(display-p3 0.824 0.494 0.698)

Copy-ready code

/* CSS */
color: #d27eb2;
background-color: #d27eb2;
/* Tailwind (arbitrary) */
class="text-[#d27eb2] bg-[#d27eb2]"
/* SCSS */
$brand: #d27eb2;
/* SwiftUI */
Color(red: 0.824, green: 0.494, blue: 0.698)
/* Android */
Color.parseColor("#d27eb2")
/* Flutter */
Color(0xFFD27EB2)
/* Python / OpenCV (BGR) */
(178, 126, 210)

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

Accessibility — WCAG contrast

Aa
#d27eb2 on white: 2.85:1
AA ✗ fail · AA-large · AAA
Aa
#d27eb2 on black: 7.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8391B4
deuteranopia · #989EB0
tritanopia · #DC7E91

Color scale — 50 to 950

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

#FAF4F8
#F5EAF1
#ECD0E1
#E2ACCD
#d27eb2
#C5599C
#B63F88
#973572
#792A5B
#582244
#37152A
Base = 400Lightest = 50 · #FAF4F8Darkest = 950 · #37152A
:root {
  --brand-50: #FAF4F8;
  --brand-100: #F5EAF1;
  --brand-200: #ECD0E1;
  --brand-300: #E2ACCD;
  --brand-400: #d27eb2;
  --brand-500: #C5599C;
  --brand-600: #B63F88;
  --brand-700: #973572;
  --brand-800: #792A5B;
  --brand-900: #582244;
  --brand-950: #37152A;
  --brand: #d27eb2;
  --brand-ink: #000000;
}

Colors that work with #d27eb2

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#FAF4F8
Tinted page background
Border#EAC2DB
Hairlines and dividers
Muted text#9B4B7C
Captions on the surface
Accent#309C3E
Second voice, not a rival
Dark variant#5F2147
Hover, pressed, headers
Light variant#F8ECF4
Selected rows, tints
Dark surface#24141E
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 #d27eb2

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#7ED29E
Analogous left#C87ED2
Analogous right#D27E88
Split-complement 1#88D27E
Split-complement 2#7ED2C8
Triadic 1#B2D27E
Triadic 2#7EB2D2
Tetradic#D2C87E

RGB percentages

Red82.4%
Green49.4%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta40.0%
Yellow15.2%
Key (black)17.6%

Color previews

#d27eb2 text on a black background

contrast 7.37:1

Card sample

#d27eb2 text on a white background

contrast 2.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 126, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 126, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d27eb2;
background: linear-gradient(135deg, #d27eb2, #D2827E);

Monochromatic scale

Palettes built from #d27eb2

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.

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

#d27eb2, answered

What color is #d27eb2?

#d27eb2 is a light vivid magenta / pink, closest to Pale Violet Red (ΔE2000 8). It sits at 323° on the hue wheel with 48% saturation and 66% lightness, which reads as warm.

What is the RGB value of #d27eb2?

rgb(210, 126, 178) — 210 red, 126 green and 178 blue out of 255, or 82.4% / 49.4% / 69.8% by channel.

Is #d27eb2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3184 and perceived brightness is 63%, so black text on it reaches 7.37:1.

Should I use black or white text on #d27eb2?

Black. It scores 7.37:1 against #d27eb2, versus 2.85:1 for white — AAA at any size.

What is the complementary color of #d27eb2?

#7ED29E sits directly opposite on the wheel. Softer options are the split-complements #88D27E and #7ED2C8, which give the same contrast with far less vibration.

What colors go well with #d27eb2?

For interface work: #FAF4F8 as the surface, #EAC2DB for borders, #9B4B7C for secondary text, #309C3E as an accent and #5F2147 for hover and pressed states. For a palette, the analogous pair #C87ED2 and #D27E88 stays calm, while #7ED29E is the loudest partner.

What is #d27eb2 in CMYK for printing?

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

Is #d27eb2 warm or cool?

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

Work with #d27eb2 in the Color Lab