#E842C6#E842C6

#E842C6 is a light, highly saturated pink. Relative luminance 0.251; OKLCH L 66.3% C 0.241 H 337.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#E842C6
RGBrgb(232, 66, 198)
HSLhsl(312, 78%, 58%)
HSVhsv(312, 72%, 91%)
CMYKcmyk(0%, 71.6%, 14.7%, 9%)
CIE-LABlab(57.21, 75.37, -33.90)
CIE-LCHlch(57.21, 82.64, 335.78°)
OKLaboklab(66.29% 0.2224 -0.0921)
OKLCHoklch(66.29% 0.241 337.5)
XYZxyz(45.4209, 25.1337, 55.8743)
Luminance0.2513 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E842C6 #42E864
analogous
#B742E8 #E842C6 #E84273
triadic
#E842C6 #C6E842 #42C6E8
tetradic
#E842C6 #E8B742 #42E864 #4273E8
square
#E842C6 #E8B742 #42E864 #4273E8
split-complementary
#E842C6 #73E842 #42E8B7
monochromatic
#9D1380 #D31AAD #E842C6 #EF79D6 #F5AFE7

Accessibility & contrast

On white

3.49
#E842C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#E842C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E842C6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E842C6#FFFFFF#000000##000000
##E842C61.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4879CA
Deuteranopia (green-blind)
#8092C2
Tritanopia (blue-blind)
#F44B7F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e842c6;
/* rgb */ color: rgb(232, 66, 198);
/* oklch */ color: oklch(66.3% 0.241 337.5);
Tailwind
colors: {
  custom: {
    50: '#f385d7',
    500: '#e842c6',
    950: '#000000',
  },
}
SCSS
$custom: #e842c6;
$custom-light: #f385d7;
$custom-dark: #000000;
JSON
{
  "hex": "#e842c6",
  "rgb": {
    "r": 232,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 312.289,
    "s": 78.302,
    "l": 58.431
  },
  "oklch": {
    "l": 0.66291,
    "c": 0.24072,
    "h": 337.5
  },
  "luminance": 0.25129
}

Semantic roles & 50–950 ramp

primary
#E842C6
secondary
#A2E4AF
accent
#F55B33
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#180C14
muted
#867D83

Preview Lab

Preview with #E842C6

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

Preview Lab → · Contrast checker → · Palette generator →

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