#E340BB#E340BB

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

Color values

HEX#E340BB
RGBrgb(227, 64, 187)
HSLhsl(315, 74%, 57%)
HSVhsv(315, 72%, 89%)
CMYKcmyk(0%, 71.8%, 17.6%, 11%)
CIE-LABlab(55.67, 73.35, -30.02)
CIE-LCHlch(55.67, 79.25, 337.74°)
OKLaboklab(64.87% 0.2183 -0.0811)
OKLCHoklch(64.87% 0.233 339.6)
XYZxyz(42.4827, 23.5897, 49.3200)
Luminance0.2359 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E340BB #40E368
analogous
#BA40E3 #E340BB #E3406A
triadic
#E340BB #BBE340 #40BBE3
tetradic
#E340BB #E3BA40 #40E368 #406AE3
square
#E340BB #E3BA40 #40E368 #406AE3
split-complementary
#E340BB #6AE340 #40E3BA
monochromatic
#931674 #C81D9E #E340BB #EB75CE #F3ABE1

Accessibility & contrast

On white

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

On black

5.72
#E340BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E340BB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E340BB#FFFFFF#000000##000000
##E340BB1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e340bb;
/* rgb */ color: rgb(227, 64, 187);
/* oklch */ color: oklch(64.9% 0.233 339.6);
Tailwind
colors: {
  custom: {
    50: '#f083cf',
    500: '#e340bb',
    950: '#000000',
  },
}
SCSS
$custom: #e340bb;
$custom-light: #f083cf;
$custom-dark: #000000;
JSON
{
  "hex": "#e340bb",
  "rgb": {
    "r": 227,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 314.724,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6487,
    "c": 0.23289,
    "h": 339.6
  },
  "luminance": 0.23586
}

Semantic roles & 50–950 ramp

primary
#E340BB
secondary
#9EE1AF
accent
#F16437
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #E340BB

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

Preview Lab → · Contrast checker → · Palette generator →

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