Skip to content

#af355b

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

RGB
175, 53, 91
HSL
341°, 54%, 45%
CMYK
0, 70, 48, 31
Luminance
0.1242

At a glance

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

Hex
#af355b
Hue
341°
magenta / pink
Saturation
54%
vivid
Lightness
45%
dark
Brightness
69%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1242
WCAG relative
Temperature
Warm
27/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
6.03:1
Closest name
Medium Violet Red
ΔE2000 10.6
Where it sits
Hue341° of 360°
Saturation54%
Lightness45%
Temperature
Warm ← → Cool27% 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#af355b
RGBrgb(175, 53, 91)
HSLhsl(341, 54%, 45%)
CMYKcmyk(0%, 70%, 48%, 31%)
LABlab(41.9 52.1 6.1)
LCHlch(41.9 52.4 6.7)
OKLCHoklch(0.519 0.160 5.8)
Decimal11482459
Display P3color(display-p3 0.686 0.208 0.357)

Copy-ready code

/* CSS */
color: #af355b;
background-color: #af355b;
/* Tailwind (arbitrary) */
class="text-[#af355b] bg-[#af355b]"
/* SCSS */
$brand: #af355b;
/* SwiftUI */
Color(red: 0.686, green: 0.208, blue: 0.357)
/* Android */
Color.parseColor("#af355b")
/* Flutter */
Color(0xFFAF355B)
/* Python / OpenCV (BGR) */
(91, 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 #af355b · 6.03:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.03:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.48:1
AA fail · AA large pass · AAA fail
Reading the other direction: #af355b as text scores 6.03:1 on white and 3.48:1 on black.

Accessibility — WCAG contrast

Aa
#af355b on white: 6.03:1
AA ✓ pass · AA-large · AAA
Aa
#af355b on black: 3.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #51535C
deuteranopia · #716C58
tritanopia · #BE2144

Color scale — 50 to 950

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

#FBF4F6
#F6E9ED
#EDCED8
#E5A9BC
#D87E9A
#CB5378
#af355b
#9D2F51
#7D2641
#5B1F32
#39131F
Base = 600Lightest = 50 · #FBF4F6Darkest = 950 · #39131F
:root {
  --brand-50: #FBF4F6;
  --brand-100: #F6E9ED;
  --brand-200: #EDCED8;
  --brand-300: #E5A9BC;
  --brand-400: #D87E9A;
  --brand-500: #CB5378;
  --brand-600: #af355b;
  --brand-700: #9D2F51;
  --brand-800: #7D2641;
  --brand-900: #5B1F32;
  --brand-950: #39131F;
  --brand: #af355b;
  --brand-ink: #ffffff;
}

Colors that work with #af355b

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#FAF4F6
Tinted page background
Border#ECC0CE
Hairlines and dividers
Muted text#9B4B64
Captions on the surface
Accent#2BA15F
Second voice, not a rival
Dark variant#621E33
Hover, pressed, headers
Light variant#F9EBF0
Selected rows, tints
Dark surface#241419
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 #af355b

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#35AF89
Analogous left#AF3598
Analogous right#AF4C35
Split-complement 1#35AF4C
Split-complement 2#3598AF
Triadic 1#5BAF35
Triadic 2#355BAF
Tetradic#98AF35

RGB percentages

Red68.6%
Green20.8%
Blue35.7%

CMYK percentages

Cyan0.0%
Magenta69.7%
Yellow48.0%
Key (black)31.4%

Color previews

#af355b text on a black background

contrast 3.48:1

Card sample

#af355b text on a white background

contrast 6.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af355b

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.

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

#af355b, answered

What color is #af355b?

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

What is the RGB value of #af355b?

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

Is #af355b a light or a dark color?

It is a dark color. Relative luminance is 0.1242 and perceived brightness is 43%, so white text on it reaches 6.03:1.

Should I use black or white text on #af355b?

White. It scores 6.03:1 against #af355b, versus 3.48:1 for black — AA at any size.

What is the complementary color of #af355b?

#35AF89 sits directly opposite on the wheel. Softer options are the split-complements #35AF4C and #3598AF, which give the same contrast with far less vibration.

What colors go well with #af355b?

For interface work: #FAF4F6 as the surface, #ECC0CE for borders, #9B4B64 for secondary text, #2BA15F as an accent and #621E33 for hover and pressed states. For a palette, the analogous pair #AF3598 and #AF4C35 stays calm, while #35AF89 is the loudest partner.

What is #af355b in CMYK for printing?

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

Is #af355b warm or cool?

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

Work with #af355b in the Color Lab