#EC0099

A color in the Purple, Crimson, Magenta family

#ec0099 is a color in the Purple, Crimson, Magenta family: RGB(236, 0, 153), HSL(321°, 100%, 46%), CMYK(0%, 100%, 35%, 7%). Closest named color: deeppink. Contrast is 4.18:1 on white and 5.03:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ec0099
RGBrgb(236 0 153)
RGB (legacy)rgb(236, 0, 153)
RGB %rgb(93% 0% 60%)
HSLhsl(321 100% 46%)
HSV / HSBhsv(321, 100%, 93%)
HWBhwb(321 0% 7%)
CMYKcmyk(0%, 100%, 35%, 7%)
CIELAB (D50)lab(52.5 81.12 -14.25)
LCHlch(52.5 82.36 350.04)
OKLaboklab(0.6205 0.2548 -0.0405)
OKLCHoklch(0.6205 0.258 350.96)
Decimal15466649

Properties

Color TonePurple, Crimson, Magenta
Closest named colordeeppink ΔE 4.4
Closest web-safe color#ff0099
Hue321°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)46%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)35% / 24%
Relative luminance (WCAG)0.2013
Red / Green / Blue236 / 0 / 153

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.18:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.03:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 66 / -35.6 · As background with white / black text: Lc -71.5 / 38

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #ec0099;
  --color-brand-oklch: oklch(62.05% 0.258 350.96);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 0 153 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ec0099] text-[#ec0099] border-[#ec0099]">