#EC7FD4#EC7FD4

#EC7FD4 is a light, vivid pink. Relative luminance 0.378; OKLCH L 74.4% C 0.168 H 336.0°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#EC7FD4
RGBrgb(236, 127, 212)
HSLhsl(313, 74%, 71%)
HSVhsv(313, 46%, 93%)
CMYKcmyk(0%, 46.2%, 10.2%, 7.5%)
CIE-LABlab(67.85, 52.86, -25.30)
CIE-LCHlch(67.85, 58.61, 334.42°)
OKLaboklab(74.42% 0.1532 -0.0682)
OKLCHoklch(74.42% 0.168 336)
XYZxyz(54.0652, 37.7685, 66.7170)
Luminance0.3776 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FD4 #7FEC97
analogous
#CD7FEC #EC7FD4 #EC7F9D
triadic
#EC7FD4 #D4EC7F #7FD4EC
tetradic
#EC7FD4 #ECCD7F #7FEC97 #7F9DEC
square
#EC7FD4 #ECCD7F #7FEC97 #7F9DEC
split-complementary
#EC7FD4 #9DEC7F #7FECCD
monochromatic
#D21FAA #E44AC2 #EC7FD4 #F4B4E6 #FBE4F6

Accessibility & contrast

On white

2.46
#EC7FD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#EC7FD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FD4
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FD4#FFFFFF#000000##000000
##EC7FD41.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#809BD7
Deuteranopia (green-blind)
#9EABD1
Tritanopia (blue-blind)
#F684A0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec7fd4;
/* rgb */ color: rgb(236, 127, 212);
/* oklch */ color: oklch(74.4% 0.168 336.0);
Tailwind
colors: {
  custom: {
    50: '#f4a7e1',
    500: '#ec7fd4',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fd4;
$custom-light: #f4a7e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fd4",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 313.211,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74424,
    "c": 0.16767,
    "h": 336
  },
  "luminance": 0.37765
}

Semantic roles & 50–950 ramp

primary
#EC7FD4
secondary
#D5F2DB
accent
#D63B0F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EC7FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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