Skip to content

#cb2adf

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

RGB
203, 42, 223
HSL
293°, 74%, 52%
CMYK
9, 81, 0, 13
Luminance
0.1968

At a glance

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

Hex
#cb2adf
Hue
293°
magenta / pink
Saturation
74%
vivid
Lightness
52%
balanced
Brightness
87%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1968
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.94:1
Closest name
Medium Orchid
ΔE2000 5.4
Where it sits
Hue293° of 360°
Saturation74%
Lightness52%
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#cb2adf
RGBrgb(203, 42, 223)
HSLhsl(293, 74%, 52%)
CMYKcmyk(9%, 81%, 0%, 13%)
LABlab(51.5 80.0 -57.5)
LCHlch(51.5 98.5 324.3)
OKLCHoklch(0.617 0.267 322.9)
Decimal13314783
Display P3color(display-p3 0.796 0.165 0.875)

Copy-ready code

/* CSS */
color: #cb2adf;
background-color: #cb2adf;
/* Tailwind (arbitrary) */
class="text-[#cb2adf] bg-[#cb2adf]"
/* SCSS */
$brand: #cb2adf;
/* SwiftUI */
Color(red: 0.796, green: 0.165, blue: 0.875)
/* Android */
Color.parseColor("#cb2adf")
/* Flutter */
Color(0xFFCB2ADF)
/* Python / OpenCV (BGR) */
(223, 42, 203)

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

Accessibility — WCAG contrast

Aa
#cb2adf on white: 4.25:1
AA ✗ fail · AA-large · AAA
Aa
#cb2adf on black: 4.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006FE4
deuteranopia · #4B81DB
tritanopia · #CE5287

Color scale — 50 to 950

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

#FBF3FC
#F7E7F9
#EFC8F3
#E79DF0
#DB6DE9
#cb2adf
#C120D5
#A11BB1
#81158E
#5E1467
#3B0C40
Base = 500Lightest = 50 · #FBF3FCDarkest = 950 · #3B0C40
:root {
  --brand-50: #FBF3FC;
  --brand-100: #F7E7F9;
  --brand-200: #EFC8F3;
  --brand-300: #E79DF0;
  --brand-400: #DB6DE9;
  --brand-500: #cb2adf;
  --brand-600: #C120D5;
  --brand-700: #A11BB1;
  --brand-800: #81158E;
  --brand-900: #5E1467;
  --brand-950: #3B0C40;
  --brand: #cb2adf;
  --brand-ink: #000000;
}

Colors that work with #cb2adf

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4FA
Tinted page background
Border#E8C0ED
Hairlines and dividers
Muted text#924B9B
Captions on the surface
Accent#50B616
Second voice, not a rival
Dark variant#64116F
Hover, pressed, headers
Light variant#FAE9FC
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 #cb2adf

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

Works well for
  • Headings from 24px up 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
  • Small text on white — under 4.5:1
  • 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#3EDF2A
Analogous left#712ADF
Analogous right#DF2A98
Split-complement 1#98DF2A
Split-complement 2#2ADF71
Triadic 1#DFCB2A
Triadic 2#2ADFCB
Tetradic#DF712A

RGB percentages

Red79.6%
Green16.5%
Blue87.5%

CMYK percentages

Cyan9.0%
Magenta81.2%
Yellow0.0%
Key (black)12.5%

Color previews

#cb2adf text on a black background

contrast 4.94:1

Card sample

#cb2adf text on a white background

contrast 4.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb2adf

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.

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

#cb2adf, answered

What color is #cb2adf?

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

What is the RGB value of #cb2adf?

rgb(203, 42, 223) — 203 red, 42 green and 223 blue out of 255, or 79.6% / 16.5% / 87.5% by channel.

Is #cb2adf a light or a dark color?

It is a mid-tone. Relative luminance is 0.1968 and perceived brightness is 54%, so black text on it reaches 4.94:1.

Should I use black or white text on #cb2adf?

Black. It scores 4.94:1 against #cb2adf, versus 4.25:1 for white — AA at any size.

What is the complementary color of #cb2adf?

#3EDF2A sits directly opposite on the wheel. Softer options are the split-complements #98DF2A and #2ADF71, which give the same contrast with far less vibration.

What colors go well with #cb2adf?

For interface work: #FAF4FA as the surface, #E8C0ED for borders, #924B9B for secondary text, #50B616 as an accent and #64116F for hover and pressed states. For a palette, the analogous pair #712ADF and #DF2A98 stays calm, while #3EDF2A is the loudest partner.

What is #cb2adf in CMYK for printing?

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

Is #cb2adf 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 #DF2AB1; nudged cooler, #8928E2.

Work with #cb2adf in the Color Lab