#EC7FC4#EC7FC4

#EC7FC4 is a light, vivid pink. Relative luminance 0.370; OKLCH L 73.8% C 0.156 H 342.9°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#EC7FC4
RGBrgb(236, 127, 196)
HSLhsl(322, 74%, 71%)
HSVhsv(322, 46%, 93%)
CMYKcmyk(0%, 46.2%, 16.9%, 7.5%)
CIE-LABlab(67.28, 50.37, -17.24)
CIE-LCHlch(67.28, 53.23, 341.11°)
OKLaboklab(73.81% 0.1491 -0.0458)
OKLCHoklch(73.81% 0.156 342.9)
XYZxyz(52.1460, 37.0009, 56.6092)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FC4 #7FECA7
analogous
#DD7FEC #EC7FC4 #EC7F8D
triadic
#EC7FC4 #C4EC7F #7FC4EC
tetradic
#EC7FC4 #ECDD7F #7FECA7 #7F8DEC
square
#EC7FC4 #ECDD7F #7FECA7 #7F8DEC
split-complementary
#EC7FC4 #8DEC7F #7FECDD
monochromatic
#D21F90 #E44AAB #EC7FC4 #F4B4DD #FBE4F3

Accessibility & contrast

On white

2.50
#EC7FC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#EC7FC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FC4
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FC4#FFFFFF#000000##000000
##EC7FC41.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8699C6
Deuteranopia (green-blind)
#A3AAC1
Tritanopia (blue-blind)
#F87F99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7fc4;
/* rgb */ color: rgb(236, 127, 196);
/* oklch */ color: oklch(73.8% 0.156 342.9);
Tailwind
colors: {
  custom: {
    50: '#f4a7d6',
    500: '#ec7fc4',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fc4;
$custom-light: #f4a7d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fc4",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 322.018,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73808,
    "c": 0.15597,
    "h": 342.9
  },
  "luminance": 0.36997
}

Semantic roles & 50–950 ramp

primary
#EC7FC4
secondary
#D5F2E0
accent
#D6580F
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EC7FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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