#E340C6#E340C6

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

Color values

HEX#E340C6
RGBrgb(227, 64, 198)
HSLhsl(311, 74%, 57%)
HSVhsv(311, 72%, 89%)
CMYKcmyk(0%, 71.8%, 12.8%, 11%)
CIE-LABlab(56.17, 74.86, -35.59)
CIE-LCHlch(56.17, 82.89, 334.57°)
OKLaboklab(65.39% 0.2196 -0.097)
OKLCHoklch(65.39% 0.24 336.2)
XYZxyz(43.7057, 24.0788, 55.7610)
Luminance0.2407 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E340C6 #40E35D
analogous
#AF40E3 #E340C6 #E34075
triadic
#E340C6 #C6E340 #40C6E3
tetradic
#E340C6 #E3AF40 #40E35D #4075E3
square
#E340C6 #E3AF40 #40E35D #4075E3
split-complementary
#E340C6 #75E340 #40E3AF
monochromatic
#93167D #C81DAA #E340C6 #EB75D6 #F3ABE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E340C6#FFFFFF#000000##000000
##E340C61.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)
#4277CA
Deuteranopia (green-blind)
#7B8FC2
Tritanopia (blue-blind)
#EF4B7F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #e340c6;
/* rgb */ color: rgb(227, 64, 198);
/* oklch */ color: oklch(65.4% 0.240 336.2);
Tailwind
colors: {
  custom: {
    50: '#f083d7',
    500: '#e340c6',
    950: '#000000',
  },
}
SCSS
$custom: #e340c6;
$custom-light: #f083d7;
$custom-dark: #000000;
JSON
{
  "hex": "#e340c6",
  "rgb": {
    "r": 227,
    "g": 64,
    "b": 198
  },
  "hsl": {
    "h": 310.675,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65386,
    "c": 0.24005,
    "h": 336.2
  },
  "luminance": 0.24075
}

Semantic roles & 50–950 ramp

primary
#E340C6
secondary
#9EE1AA
accent
#F15837
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #E340C6

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

Preview Lab → · Contrast checker → · Palette generator →

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