Skip to content

#98528d

a balanced, soft magenta / pink · neutral · closest name: Medium Violet Red

RGB
152, 82, 141
HSL
309°, 30%, 46%
CMYK
0, 46, 7, 40
Luminance
0.1463

At a glance

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

Hex
#98528d
Hue
309°
magenta / pink
Saturation
30%
soft
Lightness
46%
balanced
Brightness
60%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1463
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
5.35:1
Closest name
Medium Violet Red
ΔE2000 10.8
Where it sits
Hue309° of 360°
Saturation30%
Lightness46%
Temperature
Warm ← → Cool46% 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#98528d
RGBrgb(152, 82, 141)
HSLhsl(309, 30%, 46%)
CMYKcmyk(0%, 46%, 7%, 40%)
LABlab(45.1 37.7 -20.1)
LCHlch(45.1 42.7 331.9)
OKLCHoklch(0.542 0.121 333.2)
Decimal9982605
Display P3color(display-p3 0.596 0.322 0.553)

Copy-ready code

/* CSS */
color: #98528d;
background-color: #98528d;
/* Tailwind (arbitrary) */
class="text-[#98528d] bg-[#98528d]"
/* SCSS */
$brand: #98528d;
/* SwiftUI */
Color(red: 0.596, green: 0.322, blue: 0.553)
/* Android */
Color.parseColor("#98528d")
/* Flutter */
Color(0xFF98528D)
/* Python / OpenCV (BGR) */
(141, 82, 152)

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

Accessibility — WCAG contrast

Aa
#98528d on white: 5.35:1
AA ✓ pass · AA-large · AAA
Aa
#98528d on black: 3.93:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #51648F
deuteranopia · #646E8B
tritanopia · #9E5669

Color scale — 50 to 950

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

#F9F6F9
#F3ECF2
#E7D5E4
#D8B6D2
#C492BC
#B06DA6
#98528d
#84487B
#6A3962
#4E2C49
#311C2D
Base = 600Lightest = 50 · #F9F6F9Darkest = 950 · #311C2D
:root {
  --brand-50: #F9F6F9;
  --brand-100: #F3ECF2;
  --brand-200: #E7D5E4;
  --brand-300: #D8B6D2;
  --brand-400: #C492BC;
  --brand-500: #B06DA6;
  --brand-600: #98528d;
  --brand-700: #84487B;
  --brand-800: #6A3962;
  --brand-900: #4E2C49;
  --brand-950: #311C2D;
  --brand: #98528d;
  --brand-ink: #ffffff;
}

Colors that work with #98528d

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF5F9
Tinted page background
Border#E2CADF
Hairlines and dividers
Muted text#95508A
Captions on the surface
Accent#559D4D
Second voice, not a rival
Dark variant#532D4D
Hover, pressed, headers
Light variant#F6EEF5
Selected rows, tints
Dark surface#241422
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 #98528d

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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#52985D
Analogous left#805298
Analogous right#98526A
Split-complement 1#6A9852
Split-complement 2#529880
Triadic 1#8D9852
Triadic 2#528D98
Tetradic#988052

RGB percentages

Red59.6%
Green32.2%
Blue55.3%

CMYK percentages

Cyan0.0%
Magenta46.1%
Yellow7.2%
Key (black)40.4%

Color previews

#98528d text on a black background

contrast 3.93:1

Card sample

#98528d text on a white background

contrast 5.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(152, 82, 141, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(152, 82, 141, 0.45);
Border & gradient
Gradient panel
border: 3px solid #98528d;
background: linear-gradient(135deg, #98528d, #98525E);

Monochromatic scale

Palettes built from #98528d

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.

#98528d 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.

#98528d, answered

What color is #98528d?

#98528d is a balanced soft magenta / pink, closest to Medium Violet Red (ΔE2000 10.8). It sits at 309° on the hue wheel with 30% saturation and 46% lightness, which reads as neutral.

What is the RGB value of #98528d?

rgb(152, 82, 141) — 152 red, 82 green and 141 blue out of 255, or 59.6% / 32.2% / 55.3% by channel.

Is #98528d a light or a dark color?

It is a dark color. Relative luminance is 0.1463 and perceived brightness is 45%, so white text on it reaches 5.35:1.

Should I use black or white text on #98528d?

White. It scores 5.35:1 against #98528d, versus 3.93:1 for black — AA at any size.

What is the complementary color of #98528d?

#52985D sits directly opposite on the wheel. Softer options are the split-complements #6A9852 and #529880, which give the same contrast with far less vibration.

What colors go well with #98528d?

For interface work: #FAF5F9 as the surface, #E2CADF for borders, #95508A for secondary text, #559D4D as an accent and #532D4D for hover and pressed states. For a palette, the analogous pair #805298 and #98526A stays calm, while #52985D is the loudest partner.

What is #98528d in CMYK for printing?

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

Is #98528d warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #985273; nudged cooler, #8B509A.

Work with #98528d in the Color Lab