#E04FA2#E04FA2

#E04FA2 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.8% C 0.198 H 348.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#E04FA2
RGBrgb(224, 79, 162)
HSLhsl(326, 70%, 59%)
HSVhsv(326, 65%, 88%)
CMYKcmyk(0%, 64.7%, 27.7%, 12.2%)
CIE-LABlab(56.14, 63.93, -14.82)
CIE-LCHlch(56.14, 65.63, 346.95°)
OKLaboklab(64.8% 0.1941 -0.0388)
OKLCHoklch(64.8% 0.198 348.7)
XYZxyz(40.0598, 24.0520, 36.7082)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04FA2 #4FE08D
analogous
#D54FE0 #E04FA2 #E04F5A
triadic
#E04FA2 #A2E04F #4FA2E0
tetradic
#E04FA2 #E0D54F #4FE08D #4F5AE0
square
#E04FA2 #E0D54F #4FE08D #4F5AE0
split-complementary
#E04FA2 #5AE04F #4FE0D5
monochromatic
#9A1B63 #CE2485 #E04FA2 #E983BD #F2B7D9

Accessibility & contrast

On white

3.61
#E04FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#E04FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E04FA2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E04FA2#FFFFFF#000000##000000
##E04FA21.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6276A4
Deuteranopia (green-blind)
#8B909F
Tritanopia (blue-blind)
#EF4A72
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #e04fa2;
/* rgb */ color: rgb(224, 79, 162);
/* oklch */ color: oklch(64.8% 0.198 348.7);
Tailwind
colors: {
  custom: {
    50: '#ee89bd',
    500: '#e04fa2',
    950: '#000000',
  },
}
SCSS
$custom: #e04fa2;
$custom-light: #ee89bd;
$custom-dark: #000000;
JSON
{
  "hex": "#e04fa2",
  "rgb": {
    "r": 224,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 325.655,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64795,
    "c": 0.1979,
    "h": 348.7
  },
  "luminance": 0.24048
}

Semantic roles & 50–950 ramp

primary
#E04FA2
secondary
#A9E2C1
accent
#ED873B
background
#FFF8FB
surface
#FEF0F6
border
#D6CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #E04FA2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E04FA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva