#E240C0#E240C0

#E240C0 is a light, highly saturated pink. Relative luminance 0.236; OKLCH L 65.0% C 0.236 H 337.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#E240C0
RGBrgb(226, 64, 192)
HSLhsl(313, 74%, 57%)
HSVhsv(313, 72%, 89%)
CMYKcmyk(0%, 71.7%, 15%, 11.4%)
CIE-LABlab(55.73, 73.80, -32.83)
CIE-LCHlch(55.73, 80.77, 336.02°)
OKLaboklab(64.95% 0.218 -0.0891)
OKLCHoklch(64.95% 0.236 337.8)
XYZxyz(42.7127, 23.6453, 52.1734)
Luminance0.2364 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E240C0 #40E262
analogous
#B340E2 #E240C0 #E2406F
triadic
#E240C0 #C0E240 #40C0E2
tetradic
#E240C0 #E2B340 #40E262 #406FE2
square
#E240C0 #E2B340 #40E262 #406FE2
split-complementary
#E240C0 #6FE240 #40E2B3
monochromatic
#921678 #C71EA3 #E240C0 #EA75D2 #F2AAE3

Accessibility & contrast

On white

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

On black

5.73
#E240C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E240C0
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E240C0#FFFFFF#000000##000000
##E240C01.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4676C4
Deuteranopia (green-blind)
#7D8EBC
Tritanopia (blue-blind)
#EE497B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #e240c0;
/* rgb */ color: rgb(226, 64, 192);
/* oklch */ color: oklch(65.0% 0.236 337.8);
Tailwind
colors: {
  custom: {
    50: '#ef83d3',
    500: '#e240c0',
    950: '#000000',
  },
}
SCSS
$custom: #e240c0;
$custom-light: #ef83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#e240c0",
  "rgb": {
    "r": 226,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 312.593,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64952,
    "c": 0.23552,
    "h": 337.8
  },
  "luminance": 0.23641
}

Semantic roles & 50–950 ramp

primary
#E240C0
secondary
#9EE0AC
accent
#F05E38
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #E240C0

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

Preview Lab → · Contrast checker → · Palette generator →

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