#EC407A

Material pink 400

#EC407A is a magenta colour. In RGB it is 236 red, 64 green and 122 blue, which converts to a hue of 340 degrees, 82% saturation and 59% lightness. It is Material pink 400 in that design system's palette.

Color values

HEX#EC407A
RGBrgb(236, 64, 122)
HSLhsl(340, 82%, 59%)
HSVhsv(340, 73%, 93%)
CMYKcmyk(0%, 73%, 48%, 7%)

Contrast and accessibility

Against white the contrast ratio is 3.76:1, and against black it is 5.58:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

BackgroundRatioNormal textLarge text
White3.76:1FailAA
Black5.58:1AAAAA

Tints and shades

Lighter tints move #EC407A toward white, and darker shades move it toward black.

Tints

Shades

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Code

CSScolor: #EC407A;
CSS rgb()color: rgb(236 64 122);
Tailwindbg-[#ec407a]
SwiftUIColor(red: 0.925, green: 0.251, blue: 0.478)
AndroidColor.parseColor("#EC407A")

Closest named color

The nearest CSS colour keyword to #EC407A is indianred (#CD5C5C).

Related tools