Skip to content

#af437c

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

RGB
175, 67, 124
HSL
328°, 45%, 48%
CMYK
0, 62, 29, 31
Luminance
0.1458

At a glance

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

Hex
#af437c
Hue
328°
magenta / pink
Saturation
45%
soft
Lightness
48%
balanced
Brightness
69%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1458
WCAG relative
Temperature
Warm
34/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
5.36:1
Closest name
Medium Violet Red
ΔE2000 5.8
Where it sits
Hue328° of 360°
Saturation45%
Lightness48%
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#af437c
RGBrgb(175, 67, 124)
HSLhsl(328, 45%, 48%)
CMYKcmyk(0%, 62%, 29%, 31%)
LABlab(45.1 49.8 -9.6)
LCHlch(45.1 50.8 349.1)
OKLCHoklch(0.546 0.153 350.6)
Decimal11486076
Display P3color(display-p3 0.686 0.263 0.486)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af437c on white: 5.36:1
AA ✓ pass · AA-large · AAA
Aa
#af437c on black: 3.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #515F7E
deuteranopia · #6F7279
tritanopia · #BB3E5A

Color scale — 50 to 950

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

#FAF5F8
#F5EAF0
#EBD1DF
#E0AEC8
#D085AD
#C15D92
#af437c
#933969
#762D54
#56243F
#361727
Base = 600Lightest = 50 · #FAF5F8Darkest = 950 · #361727
:root {
  --brand-50: #FAF5F8;
  --brand-100: #F5EAF0;
  --brand-200: #EBD1DF;
  --brand-300: #E0AEC8;
  --brand-400: #D085AD;
  --brand-500: #C15D92;
  --brand-600: #af437c;
  --brand-700: #933969;
  --brand-800: #762D54;
  --brand-900: #56243F;
  --brand-950: #361727;
  --brand: #af437c;
  --brand-ink: #ffffff;
}

Colors that work with #af437c

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#FAF4F8
Tinted page background
Border#E8C4D7
Hairlines and dividers
Muted text#9B4B75
Captions on the surface
Accent#34984A
Second voice, not a rival
Dark variant#5C2341
Hover, pressed, headers
Light variant#F8EDF3
Selected rows, tints
Dark surface#24141D
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 #af437c

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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#43AF76
Analogous left#AC43AF
Analogous right#AF4346
Split-complement 1#46AF43
Split-complement 2#43AFAC
Triadic 1#7CAF43
Triadic 2#437CAF
Tetradic#AFAC43

RGB percentages

Red68.6%
Green26.3%
Blue48.6%

CMYK percentages

Cyan0.0%
Magenta61.7%
Yellow29.1%
Key (black)31.4%

Color previews

#af437c text on a black background

contrast 3.92:1

Card sample

#af437c text on a white background

contrast 5.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af437c

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.

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

#af437c, answered

What color is #af437c?

#af437c is a balanced soft magenta / pink, closest to Medium Violet Red (ΔE2000 5.8). It sits at 328° on the hue wheel with 45% saturation and 48% lightness, which reads as warm.

What is the RGB value of #af437c?

rgb(175, 67, 124) — 175 red, 67 green and 124 blue out of 255, or 68.6% / 26.3% / 48.6% by channel.

Is #af437c a light or a dark color?

It is a dark color. Relative luminance is 0.1458 and perceived brightness is 46%, so white text on it reaches 5.36:1.

Should I use black or white text on #af437c?

White. It scores 5.36:1 against #af437c, versus 3.92:1 for black — AA at any size.

What is the complementary color of #af437c?

#43AF76 sits directly opposite on the wheel. Softer options are the split-complements #46AF43 and #43AFAC, which give the same contrast with far less vibration.

What colors go well with #af437c?

For interface work: #FAF4F8 as the surface, #E8C4D7 for borders, #9B4B75 for secondary text, #34984A as an accent and #5C2341 for hover and pressed states. For a palette, the analogous pair #AC43AF and #AF4346 stays calm, while #43AF76 is the loudest partner.

What is #af437c in CMYK for printing?

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

Is #af437c 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 #AF4355; nudged cooler, #B241A6.

Work with #af437c in the Color Lab