#E340BC#E340BC

#E340BC is a light, highly saturated pink. Relative luminance 0.236; OKLCH L 64.9% C 0.234 H 339.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#E340BC
RGBrgb(227, 64, 188)
HSLhsl(314, 74%, 57%)
HSVhsv(314, 72%, 89%)
CMYKcmyk(0%, 71.8%, 17.2%, 11%)
CIE-LABlab(55.72, 73.48, -30.53)
CIE-LCHlch(55.72, 79.57, 337.44°)
OKLaboklab(64.92% 0.2184 -0.0826)
OKLCHoklch(64.92% 0.234 339.3)
XYZxyz(42.5901, 23.6326, 49.8857)
Luminance0.2363 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E340BC #40E367
analogous
#B940E3 #E340BC #E3406B
triadic
#E340BC #BCE340 #40BCE3
tetradic
#E340BC #E3B940 #40E367 #406BE3
square
#E340BC #E3B940 #40E367 #406BE3
split-complementary
#E340BC #6BE340 #40E3B9
monochromatic
#931675 #C81D9F #E340BC #EB75CF #F3ABE1

Accessibility & contrast

On white

3.67
#E340BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#E340BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E340BC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E340BC#FFFFFF#000000##000000
##E340BC1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BF
Deuteranopia (green-blind)
#7F8FB8
Tritanopia (blue-blind)
#F04679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #e340bc;
/* rgb */ color: rgb(227, 64, 188);
/* oklch */ color: oklch(64.9% 0.234 339.3);
Tailwind
colors: {
  custom: {
    50: '#f083d0',
    500: '#e340bc',
    950: '#000000',
  },
}
SCSS
$custom: #e340bc;
$custom-light: #f083d0;
$custom-dark: #000000;
JSON
{
  "hex": "#e340bc",
  "rgb": {
    "r": 227,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 314.356,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64916,
    "c": 0.23352,
    "h": 339.3
  },
  "luminance": 0.23629
}

Semantic roles & 50–950 ramp

primary
#E340BC
secondary
#9EE1AE
accent
#F16337
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #E340BC

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

Preview Lab → · Contrast checker → · Palette generator →

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