#E1237F

A color in the Red, Pink family

#e1237f is a color in the Red, Pink family: RGB(225, 35, 127), HSL(331°, 76%, 51%), CMYK(0%, 84%, 44%, 12%). Closest named color: mediumvioletred. Contrast is 4.42:1 on white and 4.75:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e1237f
RGBrgb(225 35 127)
RGB (legacy)rgb(225, 35, 127)
RGB %rgb(88% 14% 50%)
HSLhsl(331 76% 51%)
HSV / HSBhsv(331, 84%, 88%)
HWBhwb(331 14% 12%)
CMYKcmyk(0%, 84%, 44%, 12%)
CIELAB (D50)lab(50.97 73.07 -1.17)
LCHlch(50.97 73.08 359.08)
OKLaboklab(0.6023 0.2276 -0.0059)
OKLCHoklch(0.6023 0.2277 358.52)
Decimal14754687

Properties

Color ToneRed, Pink
Closest named colormediumvioletred ΔE 6
Closest web-safe color#cc3366
Hue331°
Saturation (HSL / HSV)76% / 84%
Lightness (HSL)51%
Brightness or Value (HSV)88%
Luminance (Rec.601 / Rec.709)40% / 32%
Relative luminance (WCAG)0.1874
Red / Green / Blue225 / 35 / 127

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.42:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.75: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.8 / -32.9 · As background with white / black text: Lc -74.3 / 35.3

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: #e1237f;
  --color-brand-oklch: oklch(60.23% 0.2277 358.52);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(225 35 127 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e1237f] text-[#e1237f] border-[#e1237f]">