Skip to content

#af25bc

a dark, vivid magenta / pink · neutral · closest name: Dark Orchid

RGB
175, 37, 188
HSL
295°, 67%, 44%
CMYK
7, 80, 0, 26
Luminance
0.1407

At a glance

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

Hex
#af25bc
Hue
295°
magenta / pink
Saturation
67%
vivid
Lightness
44%
dark
Brightness
74%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1407
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.51:1
Closest name
Dark Orchid
ΔE2000 5.2
Where it sits
Hue295° of 360°
Saturation67%
Lightness44%
Temperature
Warm ← → Cool53% 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#af25bc
RGBrgb(175, 37, 188)
HSLhsl(295, 67%, 44%)
CMYKcmyk(7%, 80%, 0%, 26%)
LABlab(44.3 70.3 -49.1)
LCHlch(44.3 85.7 325.1)
OKLCHoklch(0.551 0.234 324.1)
Decimal11478460
Display P3color(display-p3 0.686 0.145 0.737)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af25bc on white: 5.51:1
AA ✓ pass · AA-large · AAA
Aa
#af25bc on black: 3.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005FC0
deuteranopia · #456EB9
tritanopia · #B24472

Color scale — 50 to 950

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

#FBF3FB
#F6E8F8
#EECAF1
#E6A1ED
#DA72E3
#CD44DA
#af25bc
#9F22AA
#7F1B88
#5C1763
#3A0F3E
Base = 600Lightest = 50 · #FBF3FBDarkest = 950 · #3A0F3E
:root {
  --brand-50: #FBF3FB;
  --brand-100: #F6E8F8;
  --brand-200: #EECAF1;
  --brand-300: #E6A1ED;
  --brand-400: #DA72E3;
  --brand-500: #CD44DA;
  --brand-600: #af25bc;
  --brand-700: #9F22AA;
  --brand-800: #7F1B88;
  --brand-900: #5C1763;
  --brand-950: #3A0F3E;
  --brand: #af25bc;
  --brand-ink: #ffffff;
}

Colors that work with #af25bc

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#E9C0ED
Hairlines and dividers
Muted text#944B9B
Captions on the surface
Accent#4EAF1D
Second voice, not a rival
Dark variant#63156B
Hover, pressed, headers
Light variant#F9EAFB
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 #af25bc

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#32BC25
Analogous left#6325BC
Analogous right#BC257E
Split-complement 1#7EBC25
Split-complement 2#25BC63
Triadic 1#BCAF25
Triadic 2#25BCAF
Tetradic#BC6325

RGB percentages

Red68.6%
Green14.5%
Blue73.7%

CMYK percentages

Cyan6.9%
Magenta80.3%
Yellow0.0%
Key (black)26.3%

Color previews

#af25bc text on a black background

contrast 3.81:1

Card sample

#af25bc text on a white background

contrast 5.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af25bc

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.

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

#af25bc, answered

What color is #af25bc?

#af25bc is a dark vivid magenta / pink, closest to Dark Orchid (ΔE2000 5.2). It sits at 295° on the hue wheel with 67% saturation and 44% lightness, which reads as neutral.

What is the RGB value of #af25bc?

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

Is #af25bc a light or a dark color?

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

Should I use black or white text on #af25bc?

White. It scores 5.51:1 against #af25bc, versus 3.81:1 for black — AA at any size.

What is the complementary color of #af25bc?

#32BC25 sits directly opposite on the wheel. Softer options are the split-complements #7EBC25 and #25BC63, which give the same contrast with far less vibration.

What colors go well with #af25bc?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #944B9B for secondary text, #4EAF1D as an accent and #63156B for hover and pressed states. For a palette, the analogous pair #6325BC and #BC257E stays calm, while #32BC25 is the loudest partner.

What is #af25bc in CMYK for printing?

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

Is #af25bc warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BC2592; nudged cooler, #7823BE.

Work with #af25bc in the Color Lab