Skip to content

#af359b

a dark, vivid magenta / pink · neutral · closest name: Medium Violet Red

RGB
175, 53, 155
HSL
310°, 54%, 45%
CMYK
0, 70, 11, 31
Luminance
0.1403

At a glance

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

Hex
#af359b
Hue
310°
magenta / pink
Saturation
54%
vivid
Lightness
45%
dark
Brightness
69%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1403
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.52:1
Closest name
Medium Violet Red
ΔE2000 7.1
Where it sits
Hue310° of 360°
Saturation54%
Lightness45%
Temperature
Warm ← → Cool45% 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#af359b
RGBrgb(175, 53, 155)
HSLhsl(310, 54%, 45%)
CMYKcmyk(0%, 70%, 11%, 31%)
LABlab(44.3 60.0 -29.6)
LCHlch(44.3 66.9 333.7)
OKLCHoklch(0.545 0.193 335.2)
Decimal11482523
Display P3color(display-p3 0.686 0.208 0.608)

Copy-ready code

/* CSS */
color: #af359b;
background-color: #af359b;
/* Tailwind (arbitrary) */
class="text-[#af359b] bg-[#af359b]"
/* SCSS */
$brand: #af359b;
/* SwiftUI */
Color(red: 0.686, green: 0.208, blue: 0.608)
/* Android */
Color.parseColor("#af359b")
/* Flutter */
Color(0xFFAF359B)
/* Python / OpenCV (BGR) */
(155, 53, 175)

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

Accessibility — WCAG contrast

Aa
#af359b on white: 5.52:1
AA ✓ pass · AA-large · AAA
Aa
#af359b on black: 3.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #355D9E
deuteranopia · #5F6F98
tritanopia · #B83E64

Color scale — 50 to 950

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

#FBF4F9
#F6E9F4
#EDCEE8
#E5A9DB
#D87EC9
#CB53B7
#af359b
#9D2F8B
#7D266F
#5B1F51
#391333
Base = 600Lightest = 50 · #FBF4F9Darkest = 950 · #391333
:root {
  --brand-50: #FBF4F9;
  --brand-100: #F6E9F4;
  --brand-200: #EDCEE8;
  --brand-300: #E5A9DB;
  --brand-400: #D87EC9;
  --brand-500: #CB53B7;
  --brand-600: #af359b;
  --brand-700: #9D2F8B;
  --brand-800: #7D266F;
  --brand-900: #5B1F51;
  --brand-950: #391333;
  --brand: #af359b;
  --brand-ink: #ffffff;
}

Colors that work with #af359b

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#FAF4F9
Tinted page background
Border#ECC0E5
Hairlines and dividers
Muted text#9B4B8E
Captions on the surface
Accent#36A12B
Second voice, not a rival
Dark variant#621E57
Hover, pressed, headers
Light variant#F9EBF7
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 #af359b

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black 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#35AF49
Analogous left#8635AF
Analogous right#AF355E
Split-complement 1#5EAF35
Split-complement 2#35AF86
Triadic 1#9BAF35
Triadic 2#359BAF
Tetradic#AF8635

RGB percentages

Red68.6%
Green20.8%
Blue60.8%

CMYK percentages

Cyan0.0%
Magenta69.7%
Yellow11.4%
Key (black)31.4%

Color previews

#af359b text on a black background

contrast 3.81:1

Card sample

#af359b text on a white background

contrast 5.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af359b

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.

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

#af359b, answered

What color is #af359b?

#af359b is a dark vivid magenta / pink, closest to Medium Violet Red (ΔE2000 7.1). It sits at 310° on the hue wheel with 54% saturation and 45% lightness, which reads as neutral.

What is the RGB value of #af359b?

rgb(175, 53, 155) — 175 red, 53 green and 155 blue out of 255, or 68.6% / 20.8% / 60.8% by channel.

Is #af359b a light or a dark color?

It is a dark color. Relative luminance is 0.1403 and perceived brightness is 46%, so white text on it reaches 5.52:1.

Should I use black or white text on #af359b?

White. It scores 5.52:1 against #af359b, versus 3.81:1 for black — AA at any size.

What is the complementary color of #af359b?

#35AF49 sits directly opposite on the wheel. Softer options are the split-complements #5EAF35 and #35AF86, which give the same contrast with far less vibration.

What colors go well with #af359b?

For interface work: #FAF4F9 as the surface, #ECC0E5 for borders, #9B4B8E for secondary text, #36A12B as an accent and #621E57 for hover and pressed states. For a palette, the analogous pair #8635AF and #AF355E stays calm, while #35AF49 is the loudest partner.

What is #af359b in CMYK for printing?

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

Is #af359b warm or cool?

Neutral — it scores 45 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF356E; nudged cooler, #9833B1.

Work with #af359b in the Color Lab