#E042C3#E042C3

#E042C3 is a light, highly saturated pink. Relative luminance 0.237; OKLCH L 65.0% C 0.234 H 336.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#E042C3
RGBrgb(224, 66, 195)
HSLhsl(311, 72%, 57%)
HSVhsv(311, 71%, 88%)
CMYKcmyk(0%, 70.5%, 12.9%, 12.2%)
CIE-LABlab(55.77, 73.09, -34.51)
CIE-LCHlch(55.77, 80.83, 334.72°)
OKLaboklab(64.96% 0.2145 -0.094)
OKLCHoklch(64.96% 0.234 336.3)
XYZxyz(42.5397, 23.6877, 53.9509)
Luminance0.2368 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042C3 #42E05F
analogous
#AE42E0 #E042C3 #E04274
triadic
#E042C3 #C3E042 #42C3E0
tetradic
#E042C3 #E0AE42 #42E05F #4274E0
square
#E042C3 #E0AE42 #42E05F #4274E0
split-complementary
#E042C3 #74E042 #42E0AE
monochromatic
#90187A #C520A6 #E042C3 #E977D4 #F1ABE4

Accessibility & contrast

On white

3.66
#E042C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#E042C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E042C3
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E042C3#FFFFFF#000000##000000
##E042C31.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4576C7
Deuteranopia (green-blind)
#7A8EBF
Tritanopia (blue-blind)
#EB4C7E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #e042c3;
/* rgb */ color: rgb(224, 66, 195);
/* oklch */ color: oklch(65.0% 0.234 336.3);
Tailwind
colors: {
  custom: {
    50: '#ee84d5',
    500: '#e042c3',
    950: '#000000',
  },
}
SCSS
$custom: #e042c3;
$custom-light: #ee84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#e042c3",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 311.013,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64965,
    "c": 0.23417,
    "h": 336.3
  },
  "luminance": 0.23684
}

Semantic roles & 50–950 ramp

primary
#E042C3
secondary
#9FDFAB
accent
#EF5B39
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #E042C3

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

Preview Lab → · Contrast checker → · Palette generator →

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