Skip to content

#d02ccc

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

RGB
208, 44, 204
HSL
302°, 65%, 49%
CMYK
0, 79, 2, 18
Luminance
0.1957

At a glance

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

Hex
#d02ccc
Hue
302°
magenta / pink
Saturation
65%
vivid
Lightness
49%
balanced
Brightness
82%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1957
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.91:1
Closest name
Medium Orchid
ΔE2000 5.9
Where it sits
Hue302° of 360°
Saturation65%
Lightness49%
Temperature
Warm ← → Cool49% 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#d02ccc
RGBrgb(208, 44, 204)
HSLhsl(302, 65%, 49%)
CMYKcmyk(0%, 79%, 2%, 18%)
LABlab(51.4 77.4 -46.8)
LCHlch(51.4 90.5 328.8)
OKLCHoklch(0.614 0.254 329.2)
Decimal13642956
Display P3color(display-p3 0.816 0.173 0.800)

Copy-ready code

/* CSS */
color: #d02ccc;
background-color: #d02ccc;
/* Tailwind (arbitrary) */
class="text-[#d02ccc] bg-[#d02ccc]"
/* SCSS */
$brand: #d02ccc;
/* SwiftUI */
Color(red: 0.816, green: 0.173, blue: 0.800)
/* Android */
Color.parseColor("#d02ccc")
/* Flutter */
Color(0xFFD02CCC)
/* Python / OpenCV (BGR) */
(204, 44, 208)

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

Accessibility — WCAG contrast

Aa
#d02ccc on white: 4.27:1
AA ✗ fail · AA-large · AAA
Aa
#d02ccc on black: 4.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006DD0
deuteranopia · #6082C8
tritanopia · #D7477D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d02ccc 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
#F7E8F7
#F1CBF0
#EBA2EA
#E274DF
#D846D4
#d02ccc
#A824A5
#871C84
#621960
#3D0F3C
Base = 600Lightest = 50 · #FBF3FBDarkest = 950 · #3D0F3C
:root {
  --brand-50: #FBF3FB;
  --brand-100: #F7E8F7;
  --brand-200: #F1CBF0;
  --brand-300: #EBA2EA;
  --brand-400: #E274DF;
  --brand-500: #D846D4;
  --brand-600: #d02ccc;
  --brand-700: #A824A5;
  --brand-800: #871C84;
  --brand-900: #621960;
  --brand-950: #3D0F3C;
  --brand: #d02ccc;
  --brand-ink: #000000;
}

Colors that work with #d02ccc

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#EDC0EC
Hairlines and dividers
Muted text#9B4B99
Captions on the surface
Accent#3FAC20
Second voice, not a rival
Dark variant#691667
Hover, pressed, headers
Light variant#FBEAFA
Selected rows, tints
Dark surface#241424
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 #d02ccc

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#2CD030
Analogous left#822CD0
Analogous right#D02C7A
Split-complement 1#7AD02C
Split-complement 2#2CD082
Triadic 1#CCD02C
Triadic 2#2CCCD0
Tetradic#D0822C

RGB percentages

Red81.6%
Green17.3%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta78.8%
Yellow1.9%
Key (black)18.4%

Color previews

#d02ccc text on a black background

contrast 4.91:1

Card sample

#d02ccc text on a white background

contrast 4.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(208, 44, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 44, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d02ccc;
background: linear-gradient(135deg, #d02ccc, #D02C5F);

Monochromatic scale

Palettes built from #d02ccc

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.

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

#d02ccc, answered

What color is #d02ccc?

#d02ccc is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 5.9). It sits at 302° on the hue wheel with 65% saturation and 49% lightness, which reads as neutral.

What is the RGB value of #d02ccc?

rgb(208, 44, 204) — 208 red, 44 green and 204 blue out of 255, or 81.6% / 17.3% / 80% by channel.

Is #d02ccc a light or a dark color?

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

Should I use black or white text on #d02ccc?

Black. It scores 4.91:1 against #d02ccc, versus 4.27:1 for white — AA at any size.

What is the complementary color of #d02ccc?

#2CD030 sits directly opposite on the wheel. Softer options are the split-complements #7AD02C and #2CD082, which give the same contrast with far less vibration.

What colors go well with #d02ccc?

For interface work: #FAF4FA as the surface, #EDC0EC for borders, #9B4B99 for secondary text, #3FAC20 as an accent and #691667 for hover and pressed states. For a palette, the analogous pair #822CD0 and #D02C7A stays calm, while #2CD030 is the loudest partner.

What is #d02ccc in CMYK for printing?

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

Is #d02ccc warm or cool?

Neutral — it scores 49 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D02C90; nudged cooler, #9929D2.

Work with #d02ccc in the Color Lab