Skip to content

#af2190

a dark, vivid magenta / pink · neutral · closest name: Medium Violet Red

RGB
175, 33, 144
HSL
313°, 68%, 41%
CMYK
0, 81, 18, 31
Luminance
0.1222

At a glance

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

Hex
#af2190
Hue
313°
magenta / pink
Saturation
68%
vivid
Lightness
41%
dark
Brightness
69%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1222
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
6.10:1
Closest name
Medium Violet Red
ΔE2000 6.1
Where it sits
Hue313° of 360°
Saturation68%
Lightness41%
Temperature
Warm ← → Cool43% 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#af2190
RGBrgb(175, 33, 144)
HSLhsl(313, 68%, 41%)
CMYKcmyk(0%, 81%, 18%, 31%)
LABlab(41.6 64.6 -27.2)
LCHlch(41.6 70.1 337.2)
OKLCHoklch(0.524 0.206 339.0)
Decimal11477392
Display P3color(display-p3 0.686 0.129 0.565)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af2190 on white: 6.10:1
AA ✓ pass · AA-large · AAA
Aa
#af2190 on black: 3.44:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2B5493
deuteranopia · #5C6A8D
tritanopia · #B92958

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af2190 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF3FA
#F8E8F4
#F2CAE9
#EDA1DC
#E471CB
#DB42BA
#CE27A9
#af2190
#891A71
#641753
#3E0E34
Base = 700Lightest = 50 · #FBF3FADarkest = 950 · #3E0E34
:root {
  --brand-50: #FBF3FA;
  --brand-100: #F8E8F4;
  --brand-200: #F2CAE9;
  --brand-300: #EDA1DC;
  --brand-400: #E471CB;
  --brand-500: #DB42BA;
  --brand-600: #CE27A9;
  --brand-700: #af2190;
  --brand-800: #891A71;
  --brand-900: #641753;
  --brand-950: #3E0E34;
  --brand: #af2190;
  --brand-ink: #ffffff;
}

Colors that work with #af2190

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#FAF4F9
Tinted page background
Border#EDC0E3
Hairlines and dividers
Muted text#9B4B89
Captions on the surface
Accent#21B01C
Second voice, not a rival
Dark variant#6B1458
Hover, pressed, headers
Light variant#FBEAF7
Selected rows, tints
Dark surface#241421
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 #af2190

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#21AF40
Analogous left#8721AF
Analogous right#AF2149
Split-complement 1#49AF21
Split-complement 2#21AF87
Triadic 1#90AF21
Triadic 2#2190AF
Tetradic#AF8721

RGB percentages

Red68.6%
Green12.9%
Blue56.5%

CMYK percentages

Cyan0.0%
Magenta81.1%
Yellow17.7%
Key (black)31.4%

Color previews

#af2190 text on a black background

contrast 3.44:1

Card sample

#af2190 text on a white background

contrast 6.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af2190

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.

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

#af2190, answered

What color is #af2190?

#af2190 is a dark vivid magenta / pink, closest to Medium Violet Red (ΔE2000 6.1). It sits at 313° on the hue wheel with 68% saturation and 41% lightness, which reads as neutral.

What is the RGB value of #af2190?

rgb(175, 33, 144) — 175 red, 33 green and 144 blue out of 255, or 68.6% / 12.9% / 56.5% by channel.

Is #af2190 a light or a dark color?

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

Should I use black or white text on #af2190?

White. It scores 6.10:1 against #af2190, versus 3.44:1 for black — AA at any size.

What is the complementary color of #af2190?

#21AF40 sits directly opposite on the wheel. Softer options are the split-complements #49AF21 and #21AF87, which give the same contrast with far less vibration.

What colors go well with #af2190?

For interface work: #FAF4F9 as the surface, #EDC0E3 for borders, #9B4B89 for secondary text, #21B01C as an accent and #6B1458 for hover and pressed states. For a palette, the analogous pair #8721AF and #AF2149 stays calm, while #21AF40 is the loudest partner.

What is #af2190 in CMYK for printing?

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

Is #af2190 warm or cool?

Neutral — it scores 43 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF215C; nudged cooler, #9B1FB1.

Work with #af2190 in the Color Lab