#EC0052

A color in the Red, Pink family

#ec0052 is a color in the Red, Pink family: RGB(236, 0, 82), HSL(339°, 100%, 46%), CMYK(0%, 100%, 65%, 7%). Closest named color: crimson. Contrast is 4.48:1 on white and 4.69:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ec0052
RGBrgb(236 0 82)
RGB (legacy)rgb(236, 0, 82)
RGB %rgb(93% 0% 32%)
HSLhsl(339 100% 46%)
HSV / HSBhsv(339, 100%, 93%)
HWBhwb(339 0% 7%)
CMYKcmyk(0%, 100%, 65%, 7%)
CIELAB (D50)lab(50.89 77.56 26.65)
LCHlch(50.89 82.01 18.96)
OKLaboklab(0.6 0.2324 0.059)
OKLCHoklch(0.6 0.2398 14.25)
Decimal15466578

Properties

Color ToneRed, Pink
Closest named colorcrimson ΔE 4.1
Closest web-safe color#ff0066
Hue339°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)46%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)31% / 22%
Relative luminance (WCAG)0.1844
Red / Green / Blue236 / 0 / 82

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.48:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.69: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 68.2 / -33.4 · As background with white / black text: Lc -73.7 / 35.9

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: #ec0052;
  --color-brand-oklch: oklch(60% 0.2398 14.25);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 0 82 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ec0052] text-[#ec0052] border-[#ec0052]">