#E242D2#E242D2

#E242D2 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 66.0% C 0.246 H 332.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#E242D2
RGBrgb(226, 66, 210)
HSLhsl(306, 73%, 57%)
HSVhsv(306, 71%, 89%)
CMYKcmyk(0%, 70.8%, 7.1%, 11.4%)
CIE-LABlab(56.80, 75.73, -41.45)
CIE-LCHlch(56.80, 86.33, 331.30°)
OKLaboklab(66% 0.2176 -0.1139)
OKLCHoklch(66% 0.246 332.4)
XYZxyz(44.9452, 24.7220, 63.3649)
Luminance0.2472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E242D2 #42E252
analogous
#A242E2 #E242D2 #E24282
triadic
#E242D2 #D2E242 #42D2E2
tetradic
#E242D2 #E2A242 #42E252 #4282E2
square
#E242D2 #E2A242 #42E252 #4282E2
split-complementary
#E242D2 #82E242 #42E2A2
monochromatic
#931787 #C81FB7 #E242D2 #EA77DF #F2ACEB

Accessibility & contrast

On white

3.53
#E242D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#E242D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E242D2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E242D2#FFFFFF#000000##000000
##E242D21.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#397AD6
Deuteranopia (green-blind)
#7590CE
Tritanopia (blue-blind)
#EC5386
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #e242d2;
/* rgb */ color: rgb(226, 66, 210);
/* oklch */ color: oklch(66.0% 0.246 332.4);
Tailwind
colors: {
  custom: {
    50: '#ef85e0',
    500: '#e242d2',
    950: '#000000',
  },
}
SCSS
$custom: #e242d2;
$custom-light: #ef85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#e242d2",
  "rgb": {
    "r": 226,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 306,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.66,
    "c": 0.24562,
    "h": 332.4
  },
  "luminance": 0.24718
}

Semantic roles & 50–950 ramp

primary
#E242D2
secondary
#9FE0A6
accent
#F04A38
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #E242D2

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

Preview Lab → · Contrast checker → · Palette generator →

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