#E240BC#E240BC

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

Color values

HEX#E240BC
RGBrgb(226, 64, 188)
HSLhsl(314, 74%, 57%)
HSVhsv(314, 72%, 89%)
CMYKcmyk(0%, 71.7%, 16.8%, 11.4%)
CIE-LABlab(55.55, 73.25, -30.80)
CIE-LCHlch(55.55, 79.46, 337.19°)
OKLaboklab(64.77% 0.2175 -0.0833)
OKLCHoklch(64.77% 0.233 339)
XYZxyz(42.2756, 23.4704, 49.8710)
Luminance0.2347 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E240BC #40E266
analogous
#B740E2 #E240BC #E2406B
triadic
#E240BC #BCE240 #40BCE2
tetradic
#E240BC #E2B740 #40E266 #406BE2
square
#E240BC #E2B740 #40E266 #406BE2
split-complementary
#E240BC #6BE240 #40E2B7
monochromatic
#921675 #C71E9F #E240BC #EA75CF #F2AAE1

Accessibility & contrast

On white

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

On black

5.69
#E240BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E240BC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E240BC#FFFFFF#000000##000000
##E240BC1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975BF
Deuteranopia (green-blind)
#7E8EB8
Tritanopia (blue-blind)
#EF4779
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #e240bc;
/* rgb */ color: rgb(226, 64, 188);
/* oklch */ color: oklch(64.8% 0.233 339.0);
Tailwind
colors: {
  custom: {
    50: '#ef83d0',
    500: '#e240bc',
    950: '#000000',
  },
}
SCSS
$custom: #e240bc;
$custom-light: #ef83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#e240bc",
  "rgb": {
    "r": 226,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 314.074,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64765,
    "c": 0.23293,
    "h": 339
  },
  "luminance": 0.23466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E240BC

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

Preview Lab → · Contrast checker → · Palette generator →

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