Skip to content

#ec7fdb

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

RGB
236, 127, 219
HSL
309°, 74%, 71%
CMYK
0, 46, 7, 8
Luminance
0.3813

Every format

HEX#ec7fdb
RGBrgb(236, 127, 219)
HSLhsl(309, 74%, 71%)
CMYKcmyk(0%, 46%, 7%, 8%)
LABlab(68.1 54.0 -28.8)
LCHlch(68.1 61.2 331.9)
OKLCHoklch(0.747 0.173 333.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec7fdb on white: 2.43:1
AA ✗ fail · AA-large · AAA
Aa
#ec7fdb on black: 8.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green49.8%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta46.2%
Yellow7.2%
Key (black)7.5%

Color previews

#ec7fdb text on a black background

contrast 8.63:1

Card sample

#ec7fdb text on a white background

contrast 2.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 127, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 127, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ec7fdb;
background: linear-gradient(135deg, #ec7fdb, #EC7F92);

Monochromatic scale

Palettes built from #ec7fdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec7fdb in the Color Lab