#E240BA#E240BA

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

Color values

HEX#E240BA
RGBrgb(226, 64, 186)
HSLhsl(315, 74%, 57%)
HSVhsv(315, 72%, 89%)
CMYKcmyk(0%, 71.7%, 17.7%, 11.4%)
CIE-LABlab(55.47, 72.98, -29.78)
CIE-LCHlch(55.47, 78.82, 337.80°)
OKLaboklab(64.67% 0.2172 -0.0804)
OKLCHoklch(64.67% 0.232 339.7)
XYZxyz(42.0615, 23.3848, 48.7434)
Luminance0.2338 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E240BA #40E268
analogous
#B940E2 #E240BA #E24069
triadic
#E240BA #BAE240 #40BAE2
tetradic
#E240BA #E2B940 #40E268 #4069E2
square
#E240BA #E2B940 #40E268 #4069E2
split-complementary
#E240BA #69E240 #40E2B9
monochromatic
#921673 #C71E9D #E240BA #EA75CD #F2AAE0

Accessibility & contrast

On white

3.70
#E240BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##E240BA#FFFFFF#000000##000000
##E240BA1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BD
Deuteranopia (green-blind)
#7F8EB6
Tritanopia (blue-blind)
#EF4678
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #e240ba;
/* rgb */ color: rgb(226, 64, 186);
/* oklch */ color: oklch(64.7% 0.232 339.7);
Tailwind
colors: {
  custom: {
    50: '#ef83cf',
    500: '#e240ba',
    950: '#000000',
  },
}
SCSS
$custom: #e240ba;
$custom-light: #ef83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#e240ba",
  "rgb": {
    "r": 226,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 314.815,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64674,
    "c": 0.23166,
    "h": 339.7
  },
  "luminance": 0.23381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E240BA

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

Preview Lab → · Contrast checker → · Palette generator →

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