Skip to content

#c01aac

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

RGB
192, 26, 172
HSL
307°, 76%, 43%
CMYK
0, 87, 10, 25
Luminance
0.1492

At a glance

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

Hex
#c01aac
Hue
307°
magenta / pink
Saturation
76%
electric
Lightness
43%
dark
Brightness
75%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1492
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.27:1
Closest name
Medium Violet Red
ΔE2000 8
Where it sits
Hue307° of 360°
Saturation76%
Lightness43%
Temperature
Warm ← → Cool46% 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#c01aac
RGBrgb(192, 26, 172)
HSLhsl(307, 76%, 43%)
CMYKcmyk(0%, 87%, 10%, 25%)
LABlab(45.5 73.5 -37.6)
LCHlch(45.5 82.5 332.9)
OKLCHoklch(0.562 0.238 334.3)
Decimal12589740
Display P3color(display-p3 0.753 0.102 0.675)

Copy-ready code

/* CSS */
color: #c01aac;
background-color: #c01aac;
/* Tailwind (arbitrary) */
class="text-[#c01aac] bg-[#c01aac]"
/* SCSS */
$brand: #c01aac;
/* SwiftUI */
Color(red: 0.753, green: 0.102, blue: 0.675)
/* Android */
Color.parseColor("#c01aac")
/* Flutter */
Color(0xFFC01AAC)
/* Python / OpenCV (BGR) */
(172, 26, 192)

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 #c01aac · 5.27:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.27:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.98:1
AA fail · AA large pass · AAA fail
Reading the other direction: #c01aac as text scores 5.27:1 on white and 3.98:1 on black.

Accessibility — WCAG contrast

Aa
#c01aac on white: 5.27:1
AA ✓ pass · AA-large · AAA
Aa
#c01aac on black: 3.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #135DB0
deuteranopia · #5D74A8
tritanopia · #C93067

Color scale — 50 to 950

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

#FCF3FB
#F9E7F7
#F4C8EF
#F29CE7
#EB6BDC
#E439D0
#D81DC1
#c01aac
#901481
#68125E
#410B3B
Base = 700Lightest = 50 · #FCF3FBDarkest = 950 · #410B3B
:root {
  --brand-50: #FCF3FB;
  --brand-100: #F9E7F7;
  --brand-200: #F4C8EF;
  --brand-300: #F29CE7;
  --brand-400: #EB6BDC;
  --brand-500: #E439D0;
  --brand-600: #D81DC1;
  --brand-700: #c01aac;
  --brand-800: #901481;
  --brand-900: #68125E;
  --brand-950: #410B3B;
  --brand: #c01aac;
  --brand-ink: #ffffff;
}

Colors that work with #c01aac

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#EDC0E7
Hairlines and dividers
Muted text#9B4B91
Captions on the surface
Accent#29B715
Second voice, not a rival
Dark variant#700F65
Hover, pressed, headers
Light variant#FCE9FA
Selected rows, tints
Dark surface#241422
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 #c01aac

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#1AC02E
Analogous left#811AC0
Analogous right#C01A59
Split-complement 1#59C01A
Split-complement 2#1AC081
Triadic 1#ACC01A
Triadic 2#1AACC0
Tetradic#C0811A

RGB percentages

Red75.3%
Green10.2%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta86.5%
Yellow10.4%
Key (black)24.7%

Color previews

#c01aac text on a black background

contrast 3.98:1

Card sample

#c01aac text on a white background

contrast 5.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 26, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 26, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c01aac;
background: linear-gradient(135deg, #c01aac, #C01A3D);

Monochromatic scale

Palettes built from #c01aac

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.

#c01aac 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#c01aac, answered

What color is #c01aac?

#c01aac is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 8). It sits at 307° on the hue wheel with 76% saturation and 43% lightness, which reads as neutral.

What is the RGB value of #c01aac?

rgb(192, 26, 172) — 192 red, 26 green and 172 blue out of 255, or 75.3% / 10.2% / 67.5% by channel.

Is #c01aac a light or a dark color?

It is a dark color. Relative luminance is 0.1492 and perceived brightness is 48%, so white text on it reaches 5.27:1.

Should I use black or white text on #c01aac?

White. It scores 5.27:1 against #c01aac, versus 3.98:1 for black — AA at any size.

What is the complementary color of #c01aac?

#1AC02E sits directly opposite on the wheel. Softer options are the split-complements #59C01A and #1AC081, which give the same contrast with far less vibration.

What colors go well with #c01aac?

For interface work: #FAF4FA as the surface, #EDC0E7 for borders, #9B4B91 for secondary text, #29B715 as an accent and #700F65 for hover and pressed states. For a palette, the analogous pair #811AC0 and #C01A59 stays calm, while #1AC02E is the loudest partner.

What is #c01aac in CMYK for printing?

cmyk(0%, 87%, 10%, 25%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #c01aac warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C01A6F; nudged cooler, #9818C2.

Work with #c01aac in the Color Lab