Skip to content

#af3d63

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

RGB
175, 61, 99
HSL
340°, 48%, 46%
CMYK
0, 65, 43, 31
Luminance
0.1335

At a glance

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

Hex
#af3d63
Hue
340°
magenta / pink
Saturation
48%
vivid
Lightness
46%
balanced
Brightness
69%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1335
WCAG relative
Temperature
Warm
28/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.72:1
Closest name
Medium Violet Red
ΔE2000 9.6
Where it sits
Hue340° of 360°
Saturation48%
Lightness46%
Temperature
Warm ← → Cool28% 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#af3d63
RGBrgb(175, 61, 99)
HSLhsl(340, 48%, 46%)
CMYKcmyk(0%, 65%, 43%, 31%)
LABlab(43.3 49.6 3.1)
LCHlch(43.3 49.7 3.6)
OKLCHoklch(0.531 0.152 3.3)
Decimal11484515
Display P3color(display-p3 0.686 0.239 0.388)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3d63 on white: 5.72:1
AA ✓ pass · AA-large · AAA
Aa
#af3d63 on black: 3.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #545864
deuteranopia · #726E60
tritanopia · #BE2F4C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af3d63 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
#F5EAEE
#ECD0D9
#E2ACBE
#D3829D
#C5597D
#af3d63
#973556
#792A44
#582234
#371521
Base = 600Lightest = 50 · #FAF4F6Darkest = 950 · #371521
:root {
  --brand-50: #FAF4F6;
  --brand-100: #F5EAEE;
  --brand-200: #ECD0D9;
  --brand-300: #E2ACBE;
  --brand-400: #D3829D;
  --brand-500: #C5597D;
  --brand-600: #af3d63;
  --brand-700: #973556;
  --brand-800: #792A44;
  --brand-900: #582234;
  --brand-950: #371521;
  --brand: #af3d63;
  --brand-ink: #ffffff;
}

Colors that work with #af3d63

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#EAC2D0
Hairlines and dividers
Muted text#9B4B65
Captions on the surface
Accent#309C5D
Second voice, not a rival
Dark variant#5F2135
Hover, pressed, headers
Light variant#F8ECF0
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 #af3d63

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#3DAF89
Analogous left#AF3D9C
Analogous right#AF503D
Split-complement 1#3DAF50
Split-complement 2#3D9CAF
Triadic 1#63AF3D
Triadic 2#3D63AF
Tetradic#9CAF3D

RGB percentages

Red68.6%
Green23.9%
Blue38.8%

CMYK percentages

Cyan0.0%
Magenta65.1%
Yellow43.4%
Key (black)31.4%

Color previews

#af3d63 text on a black background

contrast 3.67:1

Card sample

#af3d63 text on a white background

contrast 5.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3d63

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.

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

#af3d63, answered

What color is #af3d63?

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

What is the RGB value of #af3d63?

rgb(175, 61, 99) — 175 red, 61 green and 99 blue out of 255, or 68.6% / 23.9% / 38.8% by channel.

Is #af3d63 a light or a dark color?

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

Should I use black or white text on #af3d63?

White. It scores 5.72:1 against #af3d63, versus 3.67:1 for black — AA at any size.

What is the complementary color of #af3d63?

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

What colors go well with #af3d63?

For interface work: #FAF4F6 as the surface, #EAC2D0 for borders, #9B4B65 for secondary text, #309C5D as an accent and #5F2135 for hover and pressed states. For a palette, the analogous pair #AF3D9C and #AF503D stays calm, while #3DAF89 is the loudest partner.

What is #af3d63 in CMYK for printing?

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

Is #af3d63 warm or cool?

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

Work with #af3d63 in the Color Lab