#E342C2#E342C2

#E342C2 is a light, highly saturated pink. Relative luminance 0.241; OKLCH L 65.4% C 0.235 H 337.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#E342C2
RGBrgb(227, 66, 194)
HSLhsl(312, 74%, 57%)
HSVhsv(312, 71%, 89%)
CMYKcmyk(0%, 70.9%, 14.5%, 11%)
CIE-LABlab(56.21, 73.65, -33.22)
CIE-LCHlch(56.21, 80.80, 335.73°)
OKLaboklab(65.36% 0.2172 -0.0902)
OKLCHoklch(65.36% 0.235 337.4)
XYZxyz(43.3652, 24.1264, 53.4015)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E342C2 #42E363
analogous
#B342E3 #E342C2 #E34272
triadic
#E342C2 #C2E342 #42C2E3
tetradic
#E342C2 #E3B342 #42E363 #4272E3
square
#E342C2 #E3B342 #42E363 #4272E3
split-complementary
#E342C2 #72E342 #42E3B3
monochromatic
#95167B #CA1EA7 #E342C2 #EB77D3 #F3ADE4

Accessibility & contrast

On white

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

On black

5.82
#E342C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E342C2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E342C2#FFFFFF#000000##000000
##E342C21.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4777C6
Deuteranopia (green-blind)
#7D90BE
Tritanopia (blue-blind)
#EF4B7D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #e342c2;
/* rgb */ color: rgb(227, 66, 194);
/* oklch */ color: oklch(65.4% 0.235 337.4);
Tailwind
colors: {
  custom: {
    50: '#f084d5',
    500: '#e342c2',
    950: '#000000',
  },
}
SCSS
$custom: #e342c2;
$custom-light: #f084d5;
$custom-dark: #000000;
JSON
{
  "hex": "#e342c2",
  "rgb": {
    "r": 227,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 312.298,
    "s": 74.194,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65361,
    "c": 0.23522,
    "h": 337.4
  },
  "luminance": 0.24122
}

Semantic roles & 50–950 ramp

primary
#E342C2
secondary
#A0E1AD
accent
#F15D37
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #E342C2

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

Preview Lab → · Contrast checker → · Palette generator →

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