#E340C0#E340C0

#E340C0 is a light, highly saturated pink. Relative luminance 0.238; OKLCH L 65.1% C 0.236 H 338.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#E340C0
RGBrgb(227, 64, 192)
HSLhsl(313, 74%, 57%)
HSVhsv(313, 72%, 89%)
CMYKcmyk(0%, 71.8%, 15.4%, 11%)
CIE-LABlab(55.89, 74.03, -32.56)
CIE-LCHlch(55.89, 80.87, 336.26°)
OKLaboklab(65.1% 0.219 -0.0883)
OKLCHoklch(65.1% 0.236 338)
XYZxyz(43.0273, 23.8075, 52.1882)
Luminance0.2380 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E340C0 #40E363
analogous
#B440E3 #E340C0 #E3406F
triadic
#E340C0 #C0E340 #40C0E3
tetradic
#E340C0 #E3B440 #40E363 #406FE3
square
#E340C0 #E3B440 #40E363 #406FE3
split-complementary
#E340C0 #6FE340 #40E3B4
monochromatic
#931678 #C81DA4 #E340C0 #EB75D2 #F3ABE3

Accessibility & contrast

On white

3.65
#E340C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#E340C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E340C0
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E340C0#FFFFFF#000000##000000
##E340C01.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4776C4
Deuteranopia (green-blind)
#7D8FBC
Tritanopia (blue-blind)
#EF487B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #e340c0;
/* rgb */ color: rgb(227, 64, 192);
/* oklch */ color: oklch(65.1% 0.236 338.0);
Tailwind
colors: {
  custom: {
    50: '#f083d3',
    500: '#e340c0',
    950: '#000000',
  },
}
SCSS
$custom: #e340c0;
$custom-light: #f083d3;
$custom-dark: #000000;
JSON
{
  "hex": "#e340c0",
  "rgb": {
    "r": 227,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 312.883,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65101,
    "c": 0.2361,
    "h": 338
  },
  "luminance": 0.23803
}

Semantic roles & 50–950 ramp

primary
#E340C0
secondary
#9EE1AC
accent
#F15F37
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #E340C0

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

Preview Lab → · Contrast checker → · Palette generator →

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