#EC71CC#EC71CC

#EC71CC is a light, vivid pink. Relative luminance 0.340; OKLCH L 72.2% C 0.184 H 338.3°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#EC71CC
RGBrgb(236, 113, 204)
HSLhsl(316, 76%, 68%)
HSVhsv(316, 52%, 93%)
CMYKcmyk(0%, 52.1%, 13.6%, 7.5%)
CIE-LABlab(64.97, 58.35, -25.25)
CIE-LCHlch(64.97, 63.58, 336.60°)
OKLaboklab(72.18% 0.1711 -0.0679)
OKLCHoklch(72.18% 0.184 338.3)
XYZxyz(51.3968, 34.0066, 60.9719)
Luminance0.3400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71CC #71EC91
analogous
#CF71EC #EC71CC #EC718E
triadic
#EC71CC #CCEC71 #71CCEC
tetradic
#EC71CC #ECCF71 #71EC91 #718EEC
square
#EC71CC #ECCF71 #71EC91 #718EEC
split-complementary
#EC71CC #8EEC71 #71ECCF
monochromatic
#C81B9B #E53BB9 #EC71CC #F3A7DF #FADDF3

Accessibility & contrast

On white

2.69
#EC71CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#EC71CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71CC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71CC#FFFFFF#000000##000000
##EC71CC1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7592CF
Deuteranopia (green-blind)
#98A5C9
Tritanopia (blue-blind)
#F77595
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec71cc;
/* rgb */ color: rgb(236, 113, 204);
/* oklch */ color: oklch(72.2% 0.184 338.3);
Tailwind
colors: {
  custom: {
    50: '#f59edb',
    500: '#ec71cc',
    950: '#000000',
  },
}
SCSS
$custom: #ec71cc;
$custom-light: #f59edb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71cc",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 315.61,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72179,
    "c": 0.18411,
    "h": 338.3
  },
  "luminance": 0.34003
}

Semantic roles & 50–950 ramp

primary
#EC71CC
secondary
#CAEFD4
accent
#D9420D
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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