#E740C2#E740C2

#E740C2 is a light, highly saturated pink. Relative luminance 0.246; OKLCH L 65.8% C 0.240 H 338.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#E740C2
RGBrgb(231, 64, 194)
HSLhsl(313, 78%, 58%)
HSVhsv(313, 72%, 91%)
CMYKcmyk(0%, 72.3%, 16%, 9.4%)
CIE-LABlab(56.64, 75.23, -32.50)
CIE-LCHlch(56.64, 81.95, 336.63°)
OKLaboklab(65.79% 0.2229 -0.0881)
OKLCHoklch(65.79% 0.24 338.4)
XYZxyz(44.5270, 24.5550, 53.4230)
Luminance0.2455 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E740C2 #40E765
analogous
#B840E7 #E740C2 #E7406F
triadic
#E740C2 #C2E740 #40C2E7
tetradic
#E740C2 #E7B840 #40E765 #406FE7
square
#E740C2 #E7B840 #40E765 #406FE7
split-complementary
#E740C2 #6FE740 #40E7B8
monochromatic
#99137C #D01AA7 #E740C2 #EE76D3 #F5ADE5

Accessibility & contrast

On white

3.55
#E740C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#E740C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E740C2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E740C2#FFFFFF#000000##000000
##E740C21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C6
Deuteranopia (green-blind)
#8091BE
Tritanopia (blue-blind)
#F4487C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #e740c2;
/* rgb */ color: rgb(231, 64, 194);
/* oklch */ color: oklch(65.8% 0.240 338.4);
Tailwind
colors: {
  custom: {
    50: '#f384d4',
    500: '#e740c2',
    950: '#000000',
  },
}
SCSS
$custom: #e740c2;
$custom-light: #f384d4;
$custom-dark: #000000;
JSON
{
  "hex": "#e740c2",
  "rgb": {
    "r": 231,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 313.293,
    "s": 77.674,
    "l": 57.843
  },
  "oklch": {
    "l": 0.65793,
    "c": 0.2397,
    "h": 338.4
  },
  "luminance": 0.24551
}

Semantic roles & 50–950 ramp

primary
#E740C2
secondary
#A0E3AF
accent
#F45E34
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#180C14
muted
#867D83

Preview Lab

Preview with #E740C2

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

Preview Lab → · Contrast checker → · Palette generator →

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