#E340C7#E340C7

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

Color values

HEX#E340C7
RGBrgb(227, 64, 199)
HSLhsl(310, 74%, 57%)
HSVhsv(310, 72%, 89%)
CMYKcmyk(0%, 71.8%, 12.3%, 11%)
CIE-LABlab(56.21, 75.00, -36.09)
CIE-LCHlch(56.21, 83.23, 334.31°)
OKLaboklab(65.44% 0.2197 -0.0984)
OKLCHoklch(65.44% 0.241 335.9)
XYZxyz(43.8214, 24.1251, 56.3705)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E340C7 #40E35C
analogous
#AE40E3 #E340C7 #E34075
triadic
#E340C7 #C7E340 #40C7E3
tetradic
#E340C7 #E3AE40 #40E35C #4075E3
square
#E340C7 #E3AE40 #40E35C #4075E3
split-complementary
#E340C7 #75E340 #40E3AE
monochromatic
#93167D #C81DAB #E340C7 #EB75D7 #F3ABE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E340C7#FFFFFF#000000##000000
##E340C71.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)
#4277CB
Deuteranopia (green-blind)
#7A8FC3
Tritanopia (blue-blind)
#EE4C7F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #e340c7;
/* rgb */ color: rgb(227, 64, 199);
/* oklch */ color: oklch(65.4% 0.241 335.9);
Tailwind
colors: {
  custom: {
    50: '#f083d8',
    500: '#e340c7',
    950: '#000000',
  },
}
SCSS
$custom: #e340c7;
$custom-light: #f083d8;
$custom-dark: #000000;
JSON
{
  "hex": "#e340c7",
  "rgb": {
    "r": 227,
    "g": 64,
    "b": 199
  },
  "hsl": {
    "h": 310.307,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65435,
    "c": 0.24072,
    "h": 335.9
  },
  "luminance": 0.24121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E340C7

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

Preview Lab → · Contrast checker → · Palette generator →

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