Skip to content

#ca2abd

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

RGB
202, 42, 189
HSL
305°, 66%, 48%
CMYK
0, 79, 6, 21
Luminance
0.1789

At a glance

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

Hex
#ca2abd
Hue
305°
magenta / pink
Saturation
66%
vivid
Lightness
48%
balanced
Brightness
79%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1789
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
4.59:1
Closest name
Medium Orchid
ΔE2000 7.3
Where it sits
Hue305° of 360°
Saturation66%
Lightness48%
Temperature
Warm ← → Cool47% 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#ca2abd
RGBrgb(202, 42, 189)
HSLhsl(305, 66%, 48%)
CMYKcmyk(0%, 79%, 6%, 21%)
LABlab(49.4 74.5 -41.4)
LCHlch(49.4 85.2 330.9)
OKLCHoklch(0.596 0.242 331.9)
Decimal13249213
Display P3color(display-p3 0.792 0.165 0.741)

Copy-ready code

/* CSS */
color: #ca2abd;
background-color: #ca2abd;
/* Tailwind (arbitrary) */
class="text-[#ca2abd] bg-[#ca2abd]"
/* SCSS */
$brand: #ca2abd;
/* SwiftUI */
Color(red: 0.792, green: 0.165, blue: 0.741)
/* Android */
Color.parseColor("#ca2abd")
/* Flutter */
Color(0xFFCA2ABD)
/* Python / OpenCV (BGR) */
(189, 42, 202)

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

Accessibility — WCAG contrast

Aa
#ca2abd on white: 4.59:1
AA ✓ pass · AA-large · AAA
Aa
#ca2abd on black: 4.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #1A67C1
deuteranopia · #627DB9
tritanopia · #D33F74

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ca2abd 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
#F8E8F6
#F1CBEE
#ECA2E6
#E274D9
#D845CC
#ca2abd
#A9239E
#871C7E
#62185C
#3D0F3A
Base = 600Lightest = 50 · #FBF3FBDarkest = 950 · #3D0F3A
:root {
  --brand-50: #FBF3FB;
  --brand-100: #F8E8F6;
  --brand-200: #F1CBEE;
  --brand-300: #ECA2E6;
  --brand-400: #E274D9;
  --brand-500: #D845CC;
  --brand-600: #ca2abd;
  --brand-700: #A9239E;
  --brand-800: #871C7E;
  --brand-900: #62185C;
  --brand-950: #3D0F3A;
  --brand: #ca2abd;
  --brand-ink: #ffffff;
}

Colors that work with #ca2abd

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#EDC0E9
Hairlines and dividers
Muted text#9B4B94
Captions on the surface
Accent#37AD1F
Second voice, not a rival
Dark variant#6A1663
Hover, pressed, headers
Light variant#FBEAF9
Selected rows, tints
Dark surface#241423
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 #ca2abd

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#2ACA37
Analogous left#872ACA
Analogous right#CA2A6D
Split-complement 1#6DCA2A
Split-complement 2#2ACA87
Triadic 1#BDCA2A
Triadic 2#2ABDCA
Tetradic#CA872A

RGB percentages

Red79.2%
Green16.5%
Blue74.1%

CMYK percentages

Cyan0.0%
Magenta79.2%
Yellow6.4%
Key (black)20.8%

Color previews

#ca2abd text on a black background

contrast 4.58:1

Card sample

#ca2abd text on a white background

contrast 4.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 42, 189, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 42, 189, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ca2abd;
background: linear-gradient(135deg, #ca2abd, #CA2A52);

Monochromatic scale

Palettes built from #ca2abd

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.

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

#ca2abd, answered

What color is #ca2abd?

#ca2abd is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 7.3). It sits at 305° on the hue wheel with 66% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #ca2abd?

rgb(202, 42, 189) — 202 red, 42 green and 189 blue out of 255, or 79.2% / 16.5% / 74.1% by channel.

Is #ca2abd a light or a dark color?

It is a dark color. Relative luminance is 0.1789 and perceived brightness is 52%, so white text on it reaches 4.59:1.

Should I use black or white text on #ca2abd?

White. It scores 4.59:1 against #ca2abd, versus 4.58:1 for black — AA at any size.

What is the complementary color of #ca2abd?

#2ACA37 sits directly opposite on the wheel. Softer options are the split-complements #6DCA2A and #2ACA87, which give the same contrast with far less vibration.

What colors go well with #ca2abd?

For interface work: #FAF4FA as the surface, #EDC0E9 for borders, #9B4B94 for secondary text, #37AD1F as an accent and #6A1663 for hover and pressed states. For a palette, the analogous pair #872ACA and #CA2A6D stays calm, while #2ACA37 is the loudest partner.

What is #ca2abd in CMYK for printing?

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

Is #ca2abd warm or cool?

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

Work with #ca2abd in the Color Lab