#E040BC#E040BC

#E040BC is a light, highly saturated pink. Relative luminance 0.231; OKLCH L 64.5% C 0.232 H 338.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#E040BC
RGBrgb(224, 64, 188)
HSLhsl(314, 72%, 56%)
HSVhsv(314, 71%, 88%)
CMYKcmyk(0%, 71.4%, 16.1%, 12.2%)
CIE-LABlab(55.23, 72.78, -31.34)
CIE-LCHlch(55.23, 79.24, 336.71°)
OKLaboklab(64.47% 0.2156 -0.0849)
OKLCHoklch(64.47% 0.232 338.5)
XYZxyz(41.6519, 23.1489, 49.8418)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E040BC #40E064
analogous
#B440E0 #E040BC #E0406C
triadic
#E040BC #BCE040 #40BCE0
tetradic
#E040BC #E0B440 #40E064 #406CE0
square
#E040BC #E0B440 #40E064 #406CE0
split-complementary
#E040BC #6CE040 #40E0B4
monochromatic
#8E1774 #C3209E #E040BC #E975CE #F1A9E1

Accessibility & contrast

On white

3.73
#E040BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#E040BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E040BC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E040BC#FFFFFF#000000##000000
##E040BC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4874BF
Deuteranopia (green-blind)
#7C8DB8
Tritanopia (blue-blind)
#EC4779
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #e040bc;
/* rgb */ color: rgb(224, 64, 188);
/* oklch */ color: oklch(64.5% 0.232 338.5);
Tailwind
colors: {
  custom: {
    50: '#ee83d0',
    500: '#e040bc',
    950: '#000000',
  },
}
SCSS
$custom: #e040bc;
$custom-light: #ee83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#e040bc",
  "rgb": {
    "r": 224,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 313.5,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64466,
    "c": 0.23175,
    "h": 338.5
  },
  "luminance": 0.23145
}

Semantic roles & 50–950 ramp

primary
#E040BC
secondary
#9DDFAC
accent
#EF6239
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #E040BC

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

Preview Lab → · Contrast checker → · Palette generator →

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