Skip to content

#af3b76

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

RGB
175, 59, 118
HSL
330°, 50%, 46%
CMYK
0, 66, 33, 31
Luminance
0.1355

At a glance

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

Hex
#af3b76
Hue
330°
magenta / pink
Saturation
50%
vivid
Lightness
46%
balanced
Brightness
69%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1355
WCAG relative
Temperature
Warm
34/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.66:1
Closest name
Medium Violet Red
ΔE2000 5.4
Where it sits
Hue330° of 360°
Saturation50%
Lightness46%
Temperature
Warm ← → Cool34% 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#af3b76
RGBrgb(175, 59, 118)
HSLhsl(330, 50%, 46%)
CMYKcmyk(0%, 66%, 33%, 31%)
LABlab(43.6 52.5 -8.2)
LCHlch(43.6 53.2 351.2)
OKLCHoklch(0.535 0.162 352.5)
Decimal11484022
Display P3color(display-p3 0.686 0.231 0.463)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3b76 on white: 5.66:1
AA ✓ pass · AA-large · AAA
Aa
#af3b76 on black: 3.71:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4D5A78
deuteranopia · #6D6F73
tritanopia · #BC3453

Color scale — 50 to 950

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

#FAF4F7
#F6EAF0
#ECCFDE
#E3ABC7
#D581AC
#C65790
#af3b76
#993367
#7A2952
#59213E
#381527
Base = 600Lightest = 50 · #FAF4F7Darkest = 950 · #381527
:root {
  --brand-50: #FAF4F7;
  --brand-100: #F6EAF0;
  --brand-200: #ECCFDE;
  --brand-300: #E3ABC7;
  --brand-400: #D581AC;
  --brand-500: #C65790;
  --brand-600: #af3b76;
  --brand-700: #993367;
  --brand-800: #7A2952;
  --brand-900: #59213E;
  --brand-950: #381527;
  --brand: #af3b76;
  --brand-ink: #ffffff;
}

Colors that work with #af3b76

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#FAF4F7
Tinted page background
Border#EAC2D7
Hairlines and dividers
Muted text#9B4B73
Captions on the surface
Accent#2F9D4A
Second voice, not a rival
Dark variant#5F2040
Hover, pressed, headers
Light variant#F9ECF2
Selected rows, tints
Dark surface#24141C
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 #af3b76

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
  • Brand accents, badges and data highlights
Use with care
  • 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#3BAF74
Analogous left#AE3BAF
Analogous right#AF3B3C
Split-complement 1#3CAF3B
Split-complement 2#3BAFAE
Triadic 1#76AF3B
Triadic 2#3B76AF
Tetradic#AFAE3B

RGB percentages

Red68.6%
Green23.1%
Blue46.3%

CMYK percentages

Cyan0.0%
Magenta66.3%
Yellow32.6%
Key (black)31.4%

Color previews

#af3b76 text on a black background

contrast 3.71:1

Card sample

#af3b76 text on a white background

contrast 5.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3b76

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.

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

#af3b76, answered

What color is #af3b76?

#af3b76 is a balanced vivid magenta / pink, closest to Medium Violet Red (ΔE2000 5.4). It sits at 330° on the hue wheel with 50% saturation and 46% lightness, which reads as warm.

What is the RGB value of #af3b76?

rgb(175, 59, 118) — 175 red, 59 green and 118 blue out of 255, or 68.6% / 23.1% / 46.3% by channel.

Is #af3b76 a light or a dark color?

It is a dark color. Relative luminance is 0.1355 and perceived brightness is 44%, so white text on it reaches 5.66:1.

Should I use black or white text on #af3b76?

White. It scores 5.66:1 against #af3b76, versus 3.71:1 for black — AA at any size.

What is the complementary color of #af3b76?

#3BAF74 sits directly opposite on the wheel. Softer options are the split-complements #3CAF3B and #3BAFAE, which give the same contrast with far less vibration.

What colors go well with #af3b76?

For interface work: #FAF4F7 as the surface, #EAC2D7 for borders, #9B4B73 for secondary text, #2F9D4A as an accent and #5F2040 for hover and pressed states. For a palette, the analogous pair #AE3BAF and #AF3B3C stays calm, while #3BAF74 is the loudest partner.

What is #af3b76 in CMYK for printing?

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

Is #af3b76 warm or cool?

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

Work with #af3b76 in the Color Lab