#E040BA#E040BA

#E040BA is a light, highly saturated pink. Relative luminance 0.231; OKLCH L 64.4% C 0.230 H 339.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#E040BA
RGBrgb(224, 64, 186)
HSLhsl(314, 72%, 56%)
HSVhsv(314, 71%, 88%)
CMYKcmyk(0%, 71.4%, 17%, 12.2%)
CIE-LABlab(55.14, 72.50, -30.32)
CIE-LCHlch(55.14, 78.59, 337.31°)
OKLaboklab(64.37% 0.2154 -0.082)
OKLCHoklch(64.37% 0.23 339.2)
XYZxyz(41.4378, 23.0632, 48.7142)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E040BA #40E066
analogous
#B640E0 #E040BA #E0406A
triadic
#E040BA #BAE040 #40BAE0
tetradic
#E040BA #E0B640 #40E066 #406AE0
square
#E040BA #E0B640 #40E066 #406AE0
split-complementary
#E040BA #6AE040 #40E0B6
monochromatic
#8E1772 #C3209C #E040BA #E975CD #F1A9E0

Accessibility & contrast

On white

3.74
#E040BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#E040BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E040BA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E040BA#FFFFFF#000000##000000
##E040BA1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#7D8DB6
Tritanopia (blue-blind)
#ED4678
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #e040ba;
/* rgb */ color: rgb(224, 64, 186);
/* oklch */ color: oklch(64.4% 0.230 339.2);
Tailwind
colors: {
  custom: {
    50: '#ee83cf',
    500: '#e040ba',
    950: '#000000',
  },
}
SCSS
$custom: #e040ba;
$custom-light: #ee83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#e040ba",
  "rgb": {
    "r": 224,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 314.25,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64373,
    "c": 0.23046,
    "h": 339.2
  },
  "luminance": 0.23059
}

Semantic roles & 50–950 ramp

primary
#E040BA
secondary
#9DDFAD
accent
#EF6439
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #E040BA

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

Preview Lab → · Contrast checker → · Palette generator →

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