Skip to content

#d95ba2

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

RGB
217, 91, 162
HSL
326°, 62%, 60%
CMYK
0, 58, 25, 15
Luminance
0.2484

At a glance

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

Hex
#d95ba2
Hue
326°
magenta / pink
Saturation
62%
vivid
Lightness
60%
balanced
Brightness
85%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2484
WCAG relative
Temperature
Warm
35/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.97:1
Closest name
Hot Pink
ΔE2000 7.8
Where it sits
Hue326° of 360°
Saturation62%
Lightness60%
Temperature
Warm ← → Cool35% 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#d95ba2
RGBrgb(217, 91, 162)
HSLhsl(326, 62%, 60%)
CMYKcmyk(0%, 58%, 25%, 15%)
LABlab(56.9 56.8 -13.7)
LCHlch(56.9 58.5 346.4)
OKLCHoklch(0.652 0.175 348.1)
Decimal14244770
Display P3color(display-p3 0.851 0.357 0.635)

Copy-ready code

/* CSS */
color: #d95ba2;
background-color: #d95ba2;
/* Tailwind (arbitrary) */
class="text-[#d95ba2] bg-[#d95ba2]"
/* SCSS */
$brand: #d95ba2;
/* SwiftUI */
Color(red: 0.851, green: 0.357, blue: 0.635)
/* Android */
Color.parseColor("#d95ba2")
/* Flutter */
Color(0xFFD95BA2)
/* Python / OpenCV (BGR) */
(162, 91, 217)

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

Accessibility — WCAG contrast

Aa
#d95ba2 on white: 3.52:1
AA ✗ fail · AA-large · AAA
Aa
#d95ba2 on black: 5.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #697BA4
deuteranopia · #8C919F
tritanopia · #E75777

Color scale — 50 to 950

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

#FBF4F8
#F7E8F1
#F0CCE0
#EAA4CB
#DF76B2
#d95ba2
#C72E84
#A6266E
#851F58
#601A42
#3C1029
Base = 500Lightest = 50 · #FBF4F8Darkest = 950 · #3C1029
:root {
  --brand-50: #FBF4F8;
  --brand-100: #F7E8F1;
  --brand-200: #F0CCE0;
  --brand-300: #EAA4CB;
  --brand-400: #DF76B2;
  --brand-500: #d95ba2;
  --brand-600: #C72E84;
  --brand-700: #A6266E;
  --brand-800: #851F58;
  --brand-900: #601A42;
  --brand-950: #3C1029;
  --brand: #d95ba2;
  --brand-ink: #000000;
}

Colors that work with #d95ba2

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#EDC0D9
Hairlines and dividers
Muted text#9B4B78
Captions on the surface
Accent#22AA3C
Second voice, not a rival
Dark variant#681845
Hover, pressed, headers
Light variant#FAEAF3
Selected rows, tints
Dark surface#24141D
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 #d95ba2

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#5BD992
Analogous left#D15BD9
Analogous right#D95B63
Split-complement 1#63D95B
Split-complement 2#5BD9D1
Triadic 1#A2D95B
Triadic 2#5BA2D9
Tetradic#D9D15B

RGB percentages

Red85.1%
Green35.7%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta58.1%
Yellow25.3%
Key (black)14.9%

Color previews

#d95ba2 text on a black background

contrast 5.97:1

Card sample

#d95ba2 text on a white background

contrast 3.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(217, 91, 162, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(217, 91, 162, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d95ba2;
background: linear-gradient(135deg, #d95ba2, #D9685B);

Monochromatic scale

Palettes built from #d95ba2

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.

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

#d95ba2, answered

What color is #d95ba2?

#d95ba2 is a balanced vivid magenta / pink, closest to Hot Pink (ΔE2000 7.8). It sits at 326° on the hue wheel with 62% saturation and 60% lightness, which reads as warm.

What is the RGB value of #d95ba2?

rgb(217, 91, 162) — 217 red, 91 green and 162 blue out of 255, or 85.1% / 35.7% / 63.5% by channel.

Is #d95ba2 a light or a dark color?

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

Should I use black or white text on #d95ba2?

Black. It scores 5.97:1 against #d95ba2, versus 3.52:1 for white — AA at any size.

What is the complementary color of #d95ba2?

#5BD992 sits directly opposite on the wheel. Softer options are the split-complements #63D95B and #5BD9D1, which give the same contrast with far less vibration.

What colors go well with #d95ba2?

For interface work: #FAF4F8 as the surface, #EDC0D9 for borders, #9B4B78 for secondary text, #22AA3C as an accent and #681845 for hover and pressed states. For a palette, the analogous pair #D15BD9 and #D95B63 stays calm, while #5BD992 is the loudest partner.

What is #d95ba2 in CMYK for printing?

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

Is #d95ba2 warm or cool?

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

Work with #d95ba2 in the Color Lab