Skip to content

#af3c67

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

RGB
175, 60, 103
HSL
338°, 49%, 46%
CMYK
0, 66, 41, 31
Luminance
0.1332

At a glance

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

Hex
#af3c67
Hue
338°
magenta / pink
Saturation
49%
vivid
Lightness
46%
balanced
Brightness
69%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1332
WCAG relative
Temperature
Warm
29/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.73:1
Closest name
Medium Violet Red
ΔE2000 8.4
Where it sits
Hue338° of 360°
Saturation49%
Lightness46%
Temperature
Warm ← → Cool29% 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#af3c67
RGBrgb(175, 60, 103)
HSLhsl(338, 49%, 46%)
CMYKcmyk(0%, 66%, 41%, 31%)
LABlab(43.3 50.4 0.6)
LCHlch(43.3 50.4 0.7)
OKLCHoklch(0.531 0.154 0.8)
Decimal11484263
Display P3color(display-p3 0.686 0.235 0.404)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3c67 on white: 5.73:1
AA ✓ pass · AA-large · AAA
Aa
#af3c67 on black: 3.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #525868
deuteranopia · #716E64
tritanopia · #BD2F4D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af3c67 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
#F6EAEE
#ECD0DA
#E2ABC0
#D482A0
#C65881
#af3c67
#983459
#7A2A47
#592236
#371522
Base = 600Lightest = 50 · #FAF4F7Darkest = 950 · #371522
:root {
  --brand-50: #FAF4F7;
  --brand-100: #F6EAEE;
  --brand-200: #ECD0DA;
  --brand-300: #E2ABC0;
  --brand-400: #D482A0;
  --brand-500: #C65881;
  --brand-600: #af3c67;
  --brand-700: #983459;
  --brand-800: #7A2A47;
  --brand-900: #592236;
  --brand-950: #371522;
  --brand: #af3c67;
  --brand-ink: #ffffff;
}

Colors that work with #af3c67

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#EAC2D1
Hairlines and dividers
Muted text#9B4B69
Captions on the surface
Accent#309C59
Second voice, not a rival
Dark variant#5F2138
Hover, pressed, headers
Light variant#F8ECF1
Selected rows, tints
Dark surface#24141A
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 #af3c67

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#3CAF84
Analogous left#AF3CA0
Analogous right#AF4B3C
Split-complement 1#3CAF4B
Split-complement 2#3CA0AF
Triadic 1#67AF3C
Triadic 2#3C67AF
Tetradic#A0AF3C

RGB percentages

Red68.6%
Green23.5%
Blue40.4%

CMYK percentages

Cyan0.0%
Magenta65.7%
Yellow41.1%
Key (black)31.4%

Color previews

#af3c67 text on a black background

contrast 3.66:1

Card sample

#af3c67 text on a white background

contrast 5.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3c67

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.

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

#af3c67, answered

What color is #af3c67?

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

What is the RGB value of #af3c67?

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

Is #af3c67 a light or a dark color?

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

Should I use black or white text on #af3c67?

White. It scores 5.73:1 against #af3c67, versus 3.66:1 for black — AA at any size.

What is the complementary color of #af3c67?

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

What colors go well with #af3c67?

For interface work: #FAF4F7 as the surface, #EAC2D1 for borders, #9B4B69 for secondary text, #309C59 as an accent and #5F2138 for hover and pressed states. For a palette, the analogous pair #AF3CA0 and #AF4B3C stays calm, while #3CAF84 is the loudest partner.

What is #af3c67 in CMYK for printing?

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

Is #af3c67 warm or cool?

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

Work with #af3c67 in the Color Lab