Skip to content

#c838bc

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

RGB
200, 56, 188
HSL
305°, 57%, 50%
CMYK
0, 72, 6, 22
Luminance
0.1874

At a glance

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

Hex
#c838bc
Hue
305°
magenta / pink
Saturation
57%
vivid
Lightness
50%
balanced
Brightness
78%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1874
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.75:1
Closest name
Medium Orchid
ΔE2000 6.4
Where it sits
Hue305° of 360°
Saturation57%
Lightness50%
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#c838bc
RGBrgb(200, 56, 188)
HSLhsl(305, 57%, 50%)
CMYKcmyk(0%, 72%, 6%, 22%)
LABlab(50.4 69.9 -39.2)
LCHlch(50.4 80.1 330.7)
OKLCHoklch(0.602 0.227 331.7)
Decimal13121724
Display P3color(display-p3 0.784 0.220 0.737)

Copy-ready code

/* CSS */
color: #c838bc;
background-color: #c838bc;
/* Tailwind (arbitrary) */
class="text-[#c838bc] bg-[#c838bc]"
/* SCSS */
$brand: #c838bc;
/* SwiftUI */
Color(red: 0.784, green: 0.220, blue: 0.737)
/* Android */
Color.parseColor("#c838bc")
/* Flutter */
Color(0xFFC838BC)
/* Python / OpenCV (BGR) */
(188, 56, 200)

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

Accessibility — WCAG contrast

Aa
#c838bc on white: 4.42:1
AA ✗ fail · AA-large · AAA
Aa
#c838bc on black: 4.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2D6BC0
deuteranopia · #667FB8
tritanopia · #D04977

Color scale — 50 to 950

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

#FBF4FA
#F6E9F5
#EECDEC
#E7A7E1
#DB7BD3
#CE4FC4
#c838bc
#A02C96
#802378
#5D1D58
#3A1237
Base = 600Lightest = 50 · #FBF4FADarkest = 950 · #3A1237
:root {
  --brand-50: #FBF4FA;
  --brand-100: #F6E9F5;
  --brand-200: #EECDEC;
  --brand-300: #E7A7E1;
  --brand-400: #DB7BD3;
  --brand-500: #CE4FC4;
  --brand-600: #c838bc;
  --brand-700: #A02C96;
  --brand-800: #802378;
  --brand-900: #5D1D58;
  --brand-950: #3A1237;
  --brand: #c838bc;
  --brand-ink: #000000;
}

Colors that work with #c838bc

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#EDC0E9
Hairlines and dividers
Muted text#9B4B94
Captions on the surface
Accent#3DA428
Second voice, not a rival
Dark variant#641C5E
Hover, pressed, headers
Light variant#F9EBF8
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 #c838bc

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#38C844
Analogous left#8C38C8
Analogous right#C83874
Split-complement 1#74C838
Split-complement 2#38C88C
Triadic 1#BCC838
Triadic 2#38BCC8
Tetradic#C88C38

RGB percentages

Red78.4%
Green22.0%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta72.0%
Yellow6.0%
Key (black)21.6%

Color previews

#c838bc text on a black background

contrast 4.75:1

Card sample

#c838bc text on a white background

contrast 4.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c838bc

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.

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

#c838bc, answered

What color is #c838bc?

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

What is the RGB value of #c838bc?

rgb(200, 56, 188) — 200 red, 56 green and 188 blue out of 255, or 78.4% / 22% / 73.7% by channel.

Is #c838bc a light or a dark color?

It is a mid-tone. Relative luminance is 0.1874 and perceived brightness is 52%, so black text on it reaches 4.75:1.

Should I use black or white text on #c838bc?

Black. It scores 4.75:1 against #c838bc, versus 4.42:1 for white — AA at any size.

What is the complementary color of #c838bc?

#38C844 sits directly opposite on the wheel. Softer options are the split-complements #74C838 and #38C88C, which give the same contrast with far less vibration.

What colors go well with #c838bc?

For interface work: #FAF4FA as the surface, #EDC0E9 for borders, #9B4B94 for secondary text, #3DA428 as an accent and #641C5E for hover and pressed states. For a palette, the analogous pair #8C38C8 and #C83874 stays calm, while #38C844 is the loudest partner.

What is #c838bc in CMYK for printing?

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

Is #c838bc 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 #C83887; nudged cooler, #A035CB.

Work with #c838bc in the Color Lab