#EF4E8A

A color in the Red, Pink family

#ef4e8a is a color in the Red, Pink family: RGB(239, 78, 138), HSL(338°, 83%, 62%), CMYK(0%, 67%, 42%, 6%). Closest named color: deeppink. Contrast is 3.43:1 on white and 6.13:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ef4e8a
RGBrgb(239 78 138)
RGB (legacy)rgb(239, 78, 138)
RGB %rgb(94% 31% 54%)
HSLhsl(338 83% 62%)
HSV / HSBhsv(338, 67%, 94%)
HWBhwb(338 31% 6%)
CMYKcmyk(0%, 67%, 42%, 6%)
CIELAB (D50)lab(58.23 65.57 3.1)
LCHlch(58.23 65.65 2.71)
OKLaboklab(0.6616 0.2018 0.0055)
OKLCHoklch(0.6616 0.2019 1.56)
Decimal15683210

Properties

Color ToneRed, Pink
Closest named colordeeppink ΔE 6.3
Closest web-safe color#ff6699
Hue338°
Saturation (HSL / HSV)83% / 67%
Lightness (HSL)62%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)52% / 46%
Relative luminance (WCAG)0.2563
Red / Green / Blue239 / 78 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.43:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.13: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 60.7 / -41 · As background with white / black text: Lc -66.2 / 43.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: #ef4e8a;
  --color-brand-oklch: oklch(66.16% 0.2019 1.56);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(239 78 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ef4e8a] text-[#ef4e8a] border-[#ef4e8a]">