What is hex #EC5259 color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 93% red, 32% green and 35% blue, resulting in rgb(236, 82, 89) and hsl(357, 80%, 62%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 65%, 62%, 7%).
In the HSV/HSB scale, #EC5259 features a hue of 357°, 65% saturation, and 93% brightness.
Hex #EC5259 Color Codes & Conversions
| Closest Named Color | Carmine Pink (#EB4C42) |
| Hex Code | #EC5259 |
| Hex8 (RGBA Hex) | #EC5259FF |
| RGB (CSS) | rgb(236, 82, 89) |
| RGBA (CSS) | rgba(236, 82, 89, 1) |
| HSL (CSS) | hsl(357, 80%, 62%) |
| HSLA (CSS) | hsla(357, 80%, 62%, 1) |
| HSV / HSB | (357°, 65%, 93%) |
| CMYK Values | (0%, 65%, 62%, 7%) |
| OKLCH (Modern CSS) | oklch(65.0% 0.190 21.6) |
| CIE-LAB (D65) | 56.68, 59.60, 29.10 |
| CIE XYZ | 39.42, 24.59, 12.12 |
| Decimal / Binary |
15487577
11101100 01010010 01011001 |
WCAG 2.1 Color Contrast & Accessibility
Check how #EC5259 complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #EC5259
Sample preview of readable typography on top of #EC5259.
Black Text on #EC5259
Sample preview of readable typography on top of #EC5259.
HTML / CSS Live Previews & Snippets for #EC5259
Preview #EC5259 in real UI elements and copy ready-to-use CSS rules.
background-color: #EC5259;
color: #EC5259;
border: 2px solid #EC5259;
:root {
--color-primary: #EC5259;
--color-primary-rgb: 236, 82, 89;
--color-complementary: #52ECE5;
}
.btn-accent {
background-color: #EC5259;
color: #000000;
}
Hex #EC5259 Color Palettes
Complementary Palette
The complementary color of #EC5259 is #52ECE5. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #EC5259 pairs with #EC52A6 and #EC9852, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #EC5259 pairs with #52A6EC and #52EC98, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #EC5259 uses #5259EC and #59EC52, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #EC5259 combines #59EC52, #52ECE5 and #E552EC around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #EC5259 pairs with #A6EC52, #52ECE5 and #9852EC spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #EC5259
Tints
Tints are created by mixing #EC5259 with white, producing lighter variations.
Tones
Tones are created by mixing #EC5259 with gray, softening saturation.
Shades
Shades result from mixing #EC5259 with black, creating deeper variations.
Hex #EC5259 in Programming & CSS Frameworks
Copy the exact syntax for #EC5259 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #EC5259 |
| Tailwind CSS | bg-[#EC5259] text-[#EC5259] |
| Java (AWT) | new Color(236,82,89); |
| Python | Color("#EC5259") |
| .NET (C#) | Color.FromArgb(255, 236,82,89); |
| Swift / iOS | UIColor(red: 0.93, green: 0.32, blue: 0.35, alpha: 1) |
| Kotlin / Android | Color.rgb(236, 82, 89) |