Skip to content

#af3c5c

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

RGB
175, 60, 92
HSL
343°, 49%, 46%
CMYK
0, 66, 47, 31
Luminance
0.1312

At a glance

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

Hex
#af3c5c
Hue
343°
magenta / pink
Saturation
49%
vivid
Lightness
46%
balanced
Brightness
69%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1312
WCAG relative
Temperature
Warm
26/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.80:1
Closest name
Medium Violet Red
ΔE2000 11.3
Where it sits
Hue343° of 360°
Saturation49%
Lightness46%
Temperature
Warm ← → Cool26% 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#af3c5c
RGBrgb(175, 60, 92)
HSLhsl(343, 49%, 46%)
CMYKcmyk(0%, 66%, 47%, 31%)
LABlab(43.0 49.3 7.0)
LCHlch(43.0 49.8 8.1)
OKLCHoklch(0.528 0.151 7.0)
Decimal11484252
Display P3color(display-p3 0.686 0.235 0.361)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3c5c on white: 5.80:1
AA ✓ pass · AA-large · AAA
Aa
#af3c5c on black: 3.62:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #55575D
deuteranopia · #736E59
tritanopia · #BE2B49

Color scale — 50 to 950

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

#FAF4F6
#F6EAED
#ECD0D8
#E2ABBB
#D48299
#C65876
#af3c5c
#983450
#7A2A40
#592231
#37151F
Base = 600Lightest = 50 · #FAF4F6Darkest = 950 · #37151F
:root {
  --brand-50: #FAF4F6;
  --brand-100: #F6EAED;
  --brand-200: #ECD0D8;
  --brand-300: #E2ABBB;
  --brand-400: #D48299;
  --brand-500: #C65876;
  --brand-600: #af3c5c;
  --brand-700: #983450;
  --brand-800: #7A2A40;
  --brand-900: #592231;
  --brand-950: #37151F;
  --brand: #af3c5c;
  --brand-ink: #ffffff;
}

Colors that work with #af3c5c

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#EAC2CD
Hairlines and dividers
Muted text#9B4B61
Captions on the surface
Accent#309C63
Second voice, not a rival
Dark variant#5F2132
Hover, pressed, headers
Light variant#F8ECEF
Selected rows, tints
Dark surface#241418
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 #af3c5c

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#3CAF8F
Analogous left#AF3C96
Analogous right#AF563C
Split-complement 1#3CAF56
Split-complement 2#3C96AF
Triadic 1#5CAF3C
Triadic 2#3C5CAF
Tetradic#96AF3C

RGB percentages

Red68.6%
Green23.5%
Blue36.1%

CMYK percentages

Cyan0.0%
Magenta65.7%
Yellow47.4%
Key (black)31.4%

Color previews

#af3c5c text on a black background

contrast 3.62:1

Card sample

#af3c5c text on a white background

contrast 5.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3c5c

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.

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

#af3c5c, answered

What color is #af3c5c?

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

What is the RGB value of #af3c5c?

rgb(175, 60, 92) — 175 red, 60 green and 92 blue out of 255, or 68.6% / 23.5% / 36.1% by channel.

Is #af3c5c a light or a dark color?

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

Should I use black or white text on #af3c5c?

White. It scores 5.80:1 against #af3c5c, versus 3.62:1 for black — AA at any size.

What is the complementary color of #af3c5c?

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

What colors go well with #af3c5c?

For interface work: #FAF4F6 as the surface, #EAC2CD for borders, #9B4B61 for secondary text, #309C63 as an accent and #5F2132 for hover and pressed states. For a palette, the analogous pair #AF3C96 and #AF563C stays calm, while #3CAF8F is the loudest partner.

What is #af3c5c in CMYK for printing?

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

Is #af3c5c warm or cool?

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

Work with #af3c5c in the Color Lab