#E742C7#E742C7

#E742C7 is a light, highly saturated pink. Relative luminance 0.250; OKLCH L 66.2% C 0.241 H 336.9°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#E742C7
RGBrgb(231, 66, 199)
HSLhsl(312, 77%, 58%)
HSVhsv(312, 71%, 91%)
CMYKcmyk(0%, 71.4%, 13.9%, 9.4%)
CIE-LABlab(57.09, 75.28, -34.67)
CIE-LCHlch(57.09, 82.88, 335.27°)
OKLaboklab(66.19% 0.2216 -0.0943)
OKLCHoklch(66.19% 0.241 336.9)
XYZxyz(45.2128, 25.0130, 56.4686)
Luminance0.2501 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E742C7 #42E762
analogous
#B442E7 #E742C7 #E74274
triadic
#E742C7 #C7E742 #42C7E7
tetradic
#E742C7 #E7B442 #42E762 #4274E7
square
#E742C7 #E7B442 #42E762 #4274E7
split-complementary
#E742C7 #74E742 #42E7B4
monochromatic
#9B1481 #D11BAE #E742C7 #EE78D7 #F5AFE7

Accessibility & contrast

On white

3.50
#E742C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#E742C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E742C7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E742C7#FFFFFF#000000##000000
##E742C71.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4679CB
Deuteranopia (green-blind)
#7E92C3
Tritanopia (blue-blind)
#F34C80
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e742c7;
/* rgb */ color: rgb(231, 66, 199);
/* oklch */ color: oklch(66.2% 0.241 336.9);
Tailwind
colors: {
  custom: {
    50: '#f385d8',
    500: '#e742c7',
    950: '#000000',
  },
}
SCSS
$custom: #e742c7;
$custom-light: #f385d8;
$custom-dark: #000000;
JSON
{
  "hex": "#e742c7",
  "rgb": {
    "r": 231,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 311.636,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6619,
    "c": 0.2408,
    "h": 336.9
  },
  "luminance": 0.25009
}

Semantic roles & 50–950 ramp

primary
#E742C7
secondary
#A2E3AE
accent
#F45934
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#180C14
muted
#867D83

Preview Lab

Preview with #E742C7

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

Preview Lab → · Contrast checker → · Palette generator →

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