#E240BB#E240BB

#E240BB is a light, highly saturated pink. Relative luminance 0.234; OKLCH L 64.7% C 0.232 H 339.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#E240BB
RGBrgb(226, 64, 187)
HSLhsl(314, 74%, 57%)
HSVhsv(314, 72%, 89%)
CMYKcmyk(0%, 71.7%, 17.3%, 11.4%)
CIE-LABlab(55.51, 73.11, -30.29)
CIE-LCHlch(55.51, 79.14, 337.50°)
OKLaboklab(64.72% 0.2174 -0.0819)
OKLCHoklch(64.72% 0.232 339.4)
XYZxyz(42.1681, 23.4275, 49.3052)
Luminance0.2342 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E240BB #40E267
analogous
#B840E2 #E240BB #E2406A
triadic
#E240BB #BBE240 #40BBE2
tetradic
#E240BB #E2B840 #40E267 #406AE2
square
#E240BB #E2B840 #40E267 #406AE2
split-complementary
#E240BB #6AE240 #40E2B8
monochromatic
#921674 #C71E9E #E240BB #EA75CE #F2AAE1

Accessibility & contrast

On white

3.69
#E240BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#E240BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E240BB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E240BB#FFFFFF#000000##000000
##E240BB1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e240bb;
/* rgb */ color: rgb(226, 64, 187);
/* oklch */ color: oklch(64.7% 0.232 339.4);
Tailwind
colors: {
  custom: {
    50: '#ef83cf',
    500: '#e240bb',
    950: '#000000',
  },
}
SCSS
$custom: #e240bb;
$custom-light: #ef83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#e240bb",
  "rgb": {
    "r": 226,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 314.444,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6472,
    "c": 0.2323,
    "h": 339.4
  },
  "luminance": 0.23423
}

Semantic roles & 50–950 ramp

primary
#E240BB
secondary
#9EE0AE
accent
#F06438
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #E240BB

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

Preview Lab → · Contrast checker → · Palette generator →

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