#EC7FCA#EC7FCA

#EC7FCA is a light, vivid pink. Relative luminance 0.373; OKLCH L 74.0% C 0.160 H 340.2°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#EC7FCA
RGBrgb(236, 127, 202)
HSLhsl(319, 74%, 71%)
HSVhsv(319, 46%, 93%)
CMYKcmyk(0%, 46.2%, 14.4%, 7.5%)
CIE-LABlab(67.49, 51.28, -20.28)
CIE-LCHlch(67.49, 55.15, 338.42°)
OKLaboklab(74.03% 0.1507 -0.0542)
OKLCHoklch(74.03% 0.16 340.2)
XYZxyz(52.8426, 37.2795, 60.2781)
Luminance0.3728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FCA #7FECA1
analogous
#D87FEC #EC7FCA #EC7F93
triadic
#EC7FCA #CAEC7F #7FCAEC
tetradic
#EC7FCA #ECD87F #7FECA1 #7F93EC
square
#EC7FCA #ECD87F #7FECA1 #7F93EC
split-complementary
#EC7FCA #93EC7F #7FECD8
monochromatic
#D21F9A #E44AB4 #EC7FCA #F4B4E0 #FBE4F4

Accessibility & contrast

On white

2.48
#EC7FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#EC7FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FCA
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FCA#FFFFFF#000000##000000
##EC7FCA1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#849ACD
Deuteranopia (green-blind)
#A1ABC7
Tritanopia (blue-blind)
#F7819C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7fca;
/* rgb */ color: rgb(236, 127, 202);
/* oklch */ color: oklch(74.0% 0.160 340.2);
Tailwind
colors: {
  custom: {
    50: '#f4a7da',
    500: '#ec7fca',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fca;
$custom-light: #f4a7da;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fca",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 318.716,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74033,
    "c": 0.16015,
    "h": 340.2
  },
  "luminance": 0.37276
}

Semantic roles & 50–950 ramp

primary
#EC7FCA
secondary
#D5F2DE
accent
#D64D0F
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EC7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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