#E340C4#E340C4

#E340C4 is a light, highly saturated pink. Relative luminance 0.240; OKLCH L 65.3% C 0.239 H 336.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#E340C4
RGBrgb(227, 64, 196)
HSLhsl(311, 74%, 57%)
HSVhsv(311, 72%, 89%)
CMYKcmyk(0%, 71.8%, 13.7%, 11%)
CIE-LABlab(56.08, 74.58, -34.58)
CIE-LCHlch(56.08, 82.21, 335.12°)
OKLaboklab(65.29% 0.2194 -0.0941)
OKLCHoklch(65.29% 0.239 336.8)
XYZxyz(43.4765, 23.9872, 54.5541)
Luminance0.2398 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E340C4 #40E35F
analogous
#B140E3 #E340C4 #E34073
triadic
#E340C4 #C4E340 #40C4E3
tetradic
#E340C4 #E3B140 #40E35F #4073E3
square
#E340C4 #E3B140 #40E35F #4073E3
split-complementary
#E340C4 #73E340 #40E3B1
monochromatic
#93167B #C81DA8 #E340C4 #EB75D4 #F3ABE5

Accessibility & contrast

On white

3.62
#E340C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#E340C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E340C4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E340C4#FFFFFF#000000##000000
##E340C41.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4477C8
Deuteranopia (green-blind)
#7C8FC0
Tritanopia (blue-blind)
#EF4A7D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #e340c4;
/* rgb */ color: rgb(227, 64, 196);
/* oklch */ color: oklch(65.3% 0.239 336.8);
Tailwind
colors: {
  custom: {
    50: '#f083d6',
    500: '#e340c4',
    950: '#000000',
  },
}
SCSS
$custom: #e340c4;
$custom-light: #f083d6;
$custom-dark: #000000;
JSON
{
  "hex": "#e340c4",
  "rgb": {
    "r": 227,
    "g": 64,
    "b": 196
  },
  "hsl": {
    "h": 311.411,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6529,
    "c": 0.23872,
    "h": 336.8
  },
  "luminance": 0.23983
}

Semantic roles & 50–950 ramp

primary
#E340C4
secondary
#9EE1AB
accent
#F15A37
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #E340C4

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

Preview Lab → · Contrast checker → · Palette generator →

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