Skip to content

#cb2cb4

a balanced, vivid magenta / pink · warm · closest name: orchid

RGB
203, 44, 180
HSL
309°, 64%, 48%
CMYK
0, 78, 11, 20
Luminance
0.1779

Every format

HEX#cb2cb4
RGBrgb(203, 44, 180)
HSLhsl(309, 64%, 48%)
CMYKcmyk(0%, 78%, 11%, 20%)
LABlab(49.3 72.9 -36.3)
LCHlch(49.3 81.4 333.5)
OKLCHoklch(0.594 0.235 335.0)

Copy-ready code

/* CSS */
color: #cb2cb4;
background-color: #cb2cb4;
/* Tailwind (arbitrary) */
class="text-[#cb2cb4] bg-[#cb2cb4]"
/* SCSS */
$brand: #cb2cb4;
/* SwiftUI */
Color(red: 0.796, green: 0.173, blue: 0.706)
/* Android */
Color.parseColor("#cb2cb4")

Accessibility — WCAG contrast

Aa
#cb2cb4 on white: 4.61:1
AA ✓ pass · AA-large · AAA
Aa
#cb2cb4 on black: 4.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green17.3%
Blue70.6%

CMYK percentages

Cyan0.0%
Magenta78.3%
Yellow11.3%
Key (black)20.4%

Color previews

#cb2cb4 text on a black background

contrast 4.56:1

Card sample

#cb2cb4 text on a white background

contrast 4.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb2cb4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb2cb4 in the Color Lab