#EC7FC2#EC7FC2

#EC7FC2 is a light, vivid pink. Relative luminance 0.369; OKLCH L 73.7% C 0.155 H 343.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#EC7FC2
RGBrgb(236, 127, 194)
HSLhsl(323, 74%, 71%)
HSVhsv(323, 46%, 93%)
CMYKcmyk(0%, 46.2%, 17.8%, 7.5%)
CIE-LABlab(67.21, 50.07, -16.22)
CIE-LCHlch(67.21, 52.63, 342.05°)
OKLaboklab(73.74% 0.1485 -0.043)
OKLCHoklch(73.74% 0.155 343.9)
XYZxyz(51.9199, 36.9104, 55.4183)
Luminance0.3691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FC2 #7FECA9
analogous
#DF7FEC #EC7FC2 #EC7F8B
triadic
#EC7FC2 #C2EC7F #7FC2EC
tetradic
#EC7FC2 #ECDF7F #7FECA9 #7F8BEC
square
#EC7FC2 #ECDF7F #7FECA9 #7F8BEC
split-complementary
#EC7FC2 #8BEC7F #7FECDF
monochromatic
#D21F8D #E44AA9 #EC7FC2 #F4B4DB #FBE4F2

Accessibility & contrast

On white

2.51
#EC7FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#EC7FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FC2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FC2#FFFFFF#000000##000000
##EC7FC21.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8799C4
Deuteranopia (green-blind)
#A3AABF
Tritanopia (blue-blind)
#F87F98
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7fc2;
/* rgb */ color: rgb(236, 127, 194);
/* oklch */ color: oklch(73.7% 0.155 343.9);
Tailwind
colors: {
  custom: {
    50: '#f4a7d4',
    500: '#ec7fc2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fc2;
$custom-light: #f4a7d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fc2",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 323.119,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73735,
    "c": 0.15464,
    "h": 343.9
  },
  "luminance": 0.36907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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