#E2338A
A medium, vivid magenta closely aligning with Mediumvioletred.
About #E2338A
The hex code #E2338A represents a beautifully specific shade of magenta. If you're using CSS, you might find it aligns closely with Mediumvioletred. To achieve this exact tint on a monitor, you would use an RGB mix of 226, 51, and 138.
Translating this color to physical media requires the CMYK color model. The color uses 0% Cyan, 77% Magenta, 39% Yellow, and 11% Black. This makes it a relatively light color when applied to physical surfaces.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #000000 text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#E2338A
RGB226, 51, 138
HSL330.2°, 75.1%, 54.3%
CMYK0%, 77%, 39%, 11%
HSV330.2°, 77.4%, 88.6%
LAB52.3, 71.3, -6.4
XYZ37.1, 20.4, 26.0
Decimal14824330
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
4.14:1
Text on #FFFFFF
AA Large
5.07:1
Text on #000000
AA
3.96:1
Text on #F8FAFC
AA Large
4.31:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #E2338A;
}
.text-color {
color: #E2338A;
}
.border-color {
border: 2px solid #E2338A;
}