Skip to content

#ec6cbf

a light, electric magenta / pink · warm · closest name: Hot Pink

RGB
236, 108, 191
HSL
321°, 77%, 68%
CMYK
0, 54, 19, 8
Luminance
0.3232

At a glance

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

Hex
#ec6cbf
Hue
321°
magenta / pink
Saturation
77%
electric
Lightness
68%
light
Brightness
93%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3232
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.46:1
Closest name
Hot Pink
ΔE2000 4.7
Where it sits
Hue321° of 360°
Saturation77%
Lightness68%
Temperature
Warm ← → Cool38% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ec6cbf
RGBrgb(236, 108, 191)
HSLhsl(321, 77%, 68%)
CMYKcmyk(0%, 54%, 19%, 8%)
LABlab(63.6 58.8 -20.0)
LCHlch(63.6 62.1 341.2)
OKLCHoklch(0.710 0.183 343.1)
Decimal15494335
Display P3color(display-p3 0.925 0.424 0.749)

Copy-ready code

/* CSS */
color: #ec6cbf;
background-color: #ec6cbf;
/* Tailwind (arbitrary) */
class="text-[#ec6cbf] bg-[#ec6cbf]"
/* SCSS */
$brand: #ec6cbf;
/* SwiftUI */
Color(red: 0.925, green: 0.424, blue: 0.749)
/* Android */
Color.parseColor("#ec6cbf")
/* Flutter */
Color(0xFFEC6CBF)
/* Python / OpenCV (BGR) */
(191, 108, 236)

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

Accessibility — WCAG contrast

Aa
#ec6cbf on white: 2.81:1
AA ✗ fail · AA-large · AAA
Aa
#ec6cbf on black: 7.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #758DC2
deuteranopia · #99A2BC
tritanopia · #F96C8D

Color scale — 50 to 950

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

#FCF3F9
#F9E6F2
#F4C7E5
#F29CD4
#ec6cbf
#E538A8
#D91C96
#B5177D
#911364
#69124A
#410B2E
Base = 400Lightest = 50 · #FCF3F9Darkest = 950 · #410B2E
:root {
  --brand-50: #FCF3F9;
  --brand-100: #F9E6F2;
  --brand-200: #F4C7E5;
  --brand-300: #F29CD4;
  --brand-400: #ec6cbf;
  --brand-500: #E538A8;
  --brand-600: #D91C96;
  --brand-700: #B5177D;
  --brand-800: #911364;
  --brand-900: #69124A;
  --brand-950: #410B2E;
  --brand: #ec6cbf;
  --brand-ink: #000000;
}

Colors that work with #ec6cbf

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#FAF4F8
Tinted page background
Border#EDC0DD
Hairlines and dividers
Muted text#9B4B7F
Captions on the surface
Accent#14B825
Second voice, not a rival
Dark variant#710F4E
Hover, pressed, headers
Light variant#FCE8F5
Selected rows, tints
Dark surface#24141F
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 #ec6cbf

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

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#6CEC99
Analogous left#D96CEC
Analogous right#EC6C7F
Split-complement 1#7FEC6C
Split-complement 2#6CECD9
Triadic 1#BFEC6C
Triadic 2#6CBFEC
Tetradic#ECD96C

RGB percentages

Red92.5%
Green42.4%
Blue74.9%

CMYK percentages

Cyan0.0%
Magenta54.2%
Yellow19.1%
Key (black)7.5%

Color previews

#ec6cbf text on a black background

contrast 7.46:1

Card sample

#ec6cbf text on a white background

contrast 2.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec6cbf

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.

#ec6cbf 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ec6cbf, answered

What color is #ec6cbf?

#ec6cbf is a light electric magenta / pink, closest to Hot Pink (ΔE2000 4.7). It sits at 321° on the hue wheel with 77% saturation and 68% lightness, which reads as warm.

What is the RGB value of #ec6cbf?

rgb(236, 108, 191) — 236 red, 108 green and 191 blue out of 255, or 92.5% / 42.4% / 74.9% by channel.

Is #ec6cbf a light or a dark color?

It is a mid-tone. Relative luminance is 0.3232 and perceived brightness is 65%, so black text on it reaches 7.46:1.

Should I use black or white text on #ec6cbf?

Black. It scores 7.46:1 against #ec6cbf, versus 2.81:1 for white — AAA at any size.

What is the complementary color of #ec6cbf?

#6CEC99 sits directly opposite on the wheel. Softer options are the split-complements #7FEC6C and #6CECD9, which give the same contrast with far less vibration.

What colors go well with #ec6cbf?

For interface work: #FAF4F8 as the surface, #EDC0DD for borders, #9B4B7F for secondary text, #14B825 as an accent and #710F4E for hover and pressed states. For a palette, the analogous pair #D96CEC and #EC6C7F stays calm, while #6CEC99 is the loudest partner.

What is #ec6cbf in CMYK for printing?

cmyk(0%, 54%, 19%, 8%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #ec6cbf warm or cool?

Warm — it scores 38 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EC6C90; nudged cooler, #EC6BEE.

Work with #ec6cbf in the Color Lab