#E240BD#E240BD

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

Color values

HEX#E240BD
RGBrgb(226, 64, 189)
HSLhsl(314, 74%, 57%)
HSVhsv(314, 72%, 89%)
CMYKcmyk(0%, 71.7%, 16.4%, 11.4%)
CIE-LABlab(55.60, 73.38, -31.31)
CIE-LCHlch(55.60, 79.78, 336.90°)
OKLaboklab(64.81% 0.2176 -0.0848)
OKLCHoklch(64.81% 0.234 338.7)
XYZxyz(42.3837, 23.5137, 50.4407)
Luminance0.2351 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E240BD #40E265
analogous
#B640E2 #E240BD #E2406C
triadic
#E240BD #BDE240 #40BDE2
tetradic
#E240BD #E2B640 #40E265 #406CE2
square
#E240BD #E2B640 #40E265 #406CE2
split-complementary
#E240BD #6CE240 #40E2B6
monochromatic
#921675 #C71EA0 #E240BD #EA75CF #F2AAE2

Accessibility & contrast

On white

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

On black

5.70
#E240BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E240BD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E240BD#FFFFFF#000000##000000
##E240BD1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C0
Deuteranopia (green-blind)
#7E8EB9
Tritanopia (blue-blind)
#EF477A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #e240bd;
/* rgb */ color: rgb(226, 64, 189);
/* oklch */ color: oklch(64.8% 0.234 338.7);
Tailwind
colors: {
  custom: {
    50: '#ef83d1',
    500: '#e240bd',
    950: '#000000',
  },
}
SCSS
$custom: #e240bd;
$custom-light: #ef83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#e240bd",
  "rgb": {
    "r": 226,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 313.704,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64812,
    "c": 0.23357,
    "h": 338.7
  },
  "luminance": 0.2351
}

Semantic roles & 50–950 ramp

primary
#E240BD
secondary
#9EE0AD
accent
#F06238
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #E240BD

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

Preview Lab → · Contrast checker → · Palette generator →

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