#E242BC#E242BC

#E242BC is a light, highly saturated pink. Relative luminance 0.237; OKLCH L 64.9% C 0.231 H 339.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#E242BC
RGBrgb(226, 66, 188)
HSLhsl(314, 73%, 57%)
HSVhsv(314, 71%, 89%)
CMYKcmyk(0%, 70.8%, 16.8%, 11.4%)
CIE-LABlab(55.79, 72.59, -30.44)
CIE-LCHlch(55.79, 78.71, 337.25°)
OKLaboklab(64.93% 0.2155 -0.0823)
OKLCHoklch(64.93% 0.231 339.1)
XYZxyz(42.3904, 23.7000, 49.9093)
Luminance0.2370 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E242BC #42E268
analogous
#B842E2 #E242BC #E2426C
triadic
#E242BC #BCE242 #42BCE2
tetradic
#E242BC #E2B842 #42E268 #426CE2
square
#E242BC #E2B842 #42E268 #426CE2
split-complementary
#E242BC #6CE242 #42E2B8
monochromatic
#931775 #C81FA0 #E242BC #EA77CF #F2ACE2

Accessibility & contrast

On white

3.66
#E242BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#E242BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E242BC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E242BC#FFFFFF#000000##000000
##E242BC1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B76BF
Deuteranopia (green-blind)
#7F8FB8
Tritanopia (blue-blind)
#EF487A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #e242bc;
/* rgb */ color: rgb(226, 66, 188);
/* oklch */ color: oklch(64.9% 0.231 339.1);
Tailwind
colors: {
  custom: {
    50: '#ef84d0',
    500: '#e242bc',
    950: '#000000',
  },
}
SCSS
$custom: #e242bc;
$custom-light: #ef84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#e242bc",
  "rgb": {
    "r": 226,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 314.25,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64934,
    "c": 0.23072,
    "h": 339.1
  },
  "luminance": 0.23696
}

Semantic roles & 50–950 ramp

primary
#E242BC
secondary
#9FE0AF
accent
#F06438
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #E242BC

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

Preview Lab → · Contrast checker → · Palette generator →

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