#E240BF#E240BF

#E240BF is a light, highly saturated pink. Relative luminance 0.236; OKLCH L 64.9% C 0.235 H 338.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#E240BF
RGBrgb(226, 64, 191)
HSLhsl(313, 74%, 57%)
HSVhsv(313, 72%, 89%)
CMYKcmyk(0%, 71.7%, 15.5%, 11.4%)
CIE-LABlab(55.69, 73.66, -32.32)
CIE-LCHlch(55.69, 80.44, 336.31°)
OKLaboklab(64.91% 0.2179 -0.0877)
OKLCHoklch(64.91% 0.235 338.1)
XYZxyz(42.6023, 23.6011, 51.5919)
Luminance0.2360 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E240BF #40E263
analogous
#B440E2 #E240BF #E2406E
triadic
#E240BF #BFE240 #40BFE2
tetradic
#E240BF #E2B440 #40E263 #406EE2
square
#E240BF #E2B440 #40E263 #406EE2
split-complementary
#E240BF #6EE240 #40E2B4
monochromatic
#921677 #C71EA2 #E240BF #EA75D1 #F2AAE3

Accessibility & contrast

On white

3.67
#E240BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#E240BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E240BF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E240BF#FFFFFF#000000##000000
##E240BF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4775C3
Deuteranopia (green-blind)
#7D8EBB
Tritanopia (blue-blind)
#EE487B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #e240bf;
/* rgb */ color: rgb(226, 64, 191);
/* oklch */ color: oklch(64.9% 0.235 338.1);
Tailwind
colors: {
  custom: {
    50: '#ef83d2',
    500: '#e240bf',
    950: '#000000',
  },
}
SCSS
$custom: #e240bf;
$custom-light: #ef83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#e240bf",
  "rgb": {
    "r": 226,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 312.963,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64905,
    "c": 0.23487,
    "h": 338.1
  },
  "luminance": 0.23597
}

Semantic roles & 50–950 ramp

primary
#E240BF
secondary
#9EE0AC
accent
#F05F38
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #E240BF

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

Preview Lab → · Contrast checker → · Palette generator →

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