#E340BA#E340BA

#E340BA is a light, highly saturated pink. Relative luminance 0.235; OKLCH L 64.8% C 0.232 H 339.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#E340BA
RGBrgb(227, 64, 186)
HSLhsl(315, 74%, 57%)
HSVhsv(315, 72%, 89%)
CMYKcmyk(0%, 71.8%, 18.1%, 11%)
CIE-LABlab(55.63, 73.22, -29.51)
CIE-LCHlch(55.63, 78.94, 338.05°)
OKLaboklab(64.83% 0.2182 -0.0797)
OKLCHoklch(64.83% 0.232 339.9)
XYZxyz(42.3760, 23.5470, 48.7581)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E340BA #40E369
analogous
#BB40E3 #E340BA #E34069
triadic
#E340BA #BAE340 #40BAE3
tetradic
#E340BA #E3BB40 #40E369 #4069E3
square
#E340BA #E3BB40 #40E369 #4069E3
split-complementary
#E340BA #69E340 #40E3BB
monochromatic
#931673 #C81D9D #E340BA #EB75CD #F3ABE1

Accessibility & contrast

On white

3.68
#E340BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#E340BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E340BA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E340BA#FFFFFF#000000##000000
##E340BA1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BD
Deuteranopia (green-blind)
#808FB6
Tritanopia (blue-blind)
#F04578
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #e340ba;
/* rgb */ color: rgb(227, 64, 186);
/* oklch */ color: oklch(64.8% 0.232 339.9);
Tailwind
colors: {
  custom: {
    50: '#f083cf',
    500: '#e340ba',
    950: '#000000',
  },
}
SCSS
$custom: #e340ba;
$custom-light: #f083cf;
$custom-dark: #000000;
JSON
{
  "hex": "#e340ba",
  "rgb": {
    "r": 227,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 315.092,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64825,
    "c": 0.23226,
    "h": 339.9
  },
  "luminance": 0.23543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E340BA

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

Preview Lab → · Contrast checker → · Palette generator →

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