#E342C8#E342C8

#E342C8 is a light, highly saturated pink. Relative luminance 0.244; OKLCH L 65.6% C 0.239 H 335.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#E342C8
RGBrgb(227, 66, 200)
HSLhsl(310, 74%, 57%)
HSVhsv(310, 71%, 89%)
CMYKcmyk(0%, 70.9%, 11.9%, 11%)
CIE-LABlab(56.49, 74.50, -36.23)
CIE-LCHlch(56.49, 82.84, 334.06°)
OKLaboklab(65.65% 0.2179 -0.0988)
OKLCHoklch(65.65% 0.239 335.6)
XYZxyz(44.0527, 24.4013, 57.0222)
Luminance0.2440 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E342C8 #42E35D
analogous
#AD42E3 #E342C8 #E34278
triadic
#E342C8 #C8E342 #42C8E3
tetradic
#E342C8 #E3AD42 #42E35D #4278E3
square
#E342C8 #E3AD42 #42E35D #4278E3
split-complementary
#E342C8 #78E342 #42E3AD
monochromatic
#95167F #CA1EAD #E342C8 #EB77D8 #F3ADE7

Accessibility & contrast

On white

3.57
#E342C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#E342C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E342C8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E342C8#FFFFFF#000000##000000
##E342C81.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4378CC
Deuteranopia (green-blind)
#7B90C4
Tritanopia (blue-blind)
#EE4E80
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #e342c8;
/* rgb */ color: rgb(227, 66, 200);
/* oklch */ color: oklch(65.6% 0.239 335.6);
Tailwind
colors: {
  custom: {
    50: '#f084d9',
    500: '#e342c8',
    950: '#000000',
  },
}
SCSS
$custom: #e342c8;
$custom-light: #f084d9;
$custom-dark: #000000;
JSON
{
  "hex": "#e342c8",
  "rgb": {
    "r": 227,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 310.062,
    "s": 74.194,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65648,
    "c": 0.23923,
    "h": 335.6
  },
  "luminance": 0.24397
}

Semantic roles & 50–950 ramp

primary
#E342C8
secondary
#A0E1AB
accent
#F15637
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #E342C8

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

Preview Lab → · Contrast checker → · Palette generator →

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