Skip to content

#af4abc

a balanced, vivid magenta / pink · neutral · closest name: Medium Orchid

RGB
175, 74, 188
HSL
293°, 46%, 51%
CMYK
7, 61, 0, 26
Luminance
0.1764

At a glance

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

Hex
#af4abc
Hue
293°
magenta / pink
Saturation
46%
vivid
Lightness
51%
balanced
Brightness
74%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1764
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
4.64:1
Closest name
Medium Orchid
ΔE2000 5
Where it sits
Hue293° of 360°
Saturation46%
Lightness51%
Temperature
Warm ← → Cool54% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#af4abc
RGBrgb(175, 74, 188)
HSLhsl(293, 46%, 51%)
CMYKcmyk(7%, 61%, 0%, 26%)
LABlab(49.1 57.0 -41.5)
LCHlch(49.1 70.5 323.9)
OKLCHoklch(0.585 0.192 323.0)
Decimal11487932
Display P3color(display-p3 0.686 0.290 0.737)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af4abc on white: 4.64:1
AA ✓ pass · AA-large · AAA
Aa
#af4abc on black: 4.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #346DC0
deuteranopia · #5A79B9
tritanopia · #B25B7C

Color scale — 50 to 950

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

#F9F5FA
#F4EAF5
#E8D0EB
#DBADE1
#C984D2
#B75BC2
#af4abc
#8A3795
#6F2C77
#512357
#331636
Base = 600Lightest = 50 · #F9F5FADarkest = 950 · #331636
:root {
  --brand-50: #F9F5FA;
  --brand-100: #F4EAF5;
  --brand-200: #E8D0EB;
  --brand-300: #DBADE1;
  --brand-400: #C984D2;
  --brand-500: #B75BC2;
  --brand-600: #af4abc;
  --brand-700: #8A3795;
  --brand-800: #6F2C77;
  --brand-900: #512357;
  --brand-950: #331636;
  --brand: #af4abc;
  --brand-ink: #ffffff;
}

Colors that work with #af4abc

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#FAF4FA
Tinted page background
Border#E5C3E9
Hairlines and dividers
Muted text#924B9B
Captions on the surface
Accent#589933
Second voice, not a rival
Dark variant#56225D
Hover, pressed, headers
Light variant#F7ECF8
Selected rows, tints
Dark surface#231424
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 #af4abc

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

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • 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#57BC4A
Analogous left#764ABC
Analogous right#BC4A90
Split-complement 1#90BC4A
Split-complement 2#4ABC76
Triadic 1#BCAF4A
Triadic 2#4ABCAF
Tetradic#BC764A

RGB percentages

Red68.6%
Green29.0%
Blue73.7%

CMYK percentages

Cyan6.9%
Magenta60.6%
Yellow0.0%
Key (black)26.3%

Color previews

#af4abc text on a black background

contrast 4.53:1

Card sample

#af4abc text on a white background

contrast 4.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af4abc

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.

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

#af4abc, answered

What color is #af4abc?

#af4abc is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 5). It sits at 293° on the hue wheel with 46% saturation and 51% lightness, which reads as neutral.

What is the RGB value of #af4abc?

rgb(175, 74, 188) — 175 red, 74 green and 188 blue out of 255, or 68.6% / 29% / 73.7% by channel.

Is #af4abc a light or a dark color?

It is a dark color. Relative luminance is 0.1764 and perceived brightness is 50%, so white text on it reaches 4.64:1.

Should I use black or white text on #af4abc?

White. It scores 4.64:1 against #af4abc, versus 4.53:1 for black — AA at any size.

What is the complementary color of #af4abc?

#57BC4A sits directly opposite on the wheel. Softer options are the split-complements #90BC4A and #4ABC76, which give the same contrast with far less vibration.

What colors go well with #af4abc?

For interface work: #FAF4FA as the surface, #E5C3E9 for borders, #924B9B for secondary text, #589933 as an accent and #56225D for hover and pressed states. For a palette, the analogous pair #764ABC and #BC4A90 stays calm, while #57BC4A is the loudest partner.

What is #af4abc in CMYK for printing?

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

Is #af4abc warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BC4A9F; nudged cooler, #8548BF.

Work with #af4abc in the Color Lab