#EC71D1#EC71D1

#EC71D1 is a light, vivid pink. Relative luminance 0.342; OKLCH L 72.4% C 0.188 H 336.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#EC71D1
RGBrgb(236, 113, 209)
HSLhsl(313, 76%, 68%)
HSVhsv(313, 52%, 93%)
CMYKcmyk(0%, 52.1%, 11.4%, 7.5%)
CIE-LABlab(65.16, 59.12, -27.76)
CIE-LCHlch(65.16, 65.32, 334.85°)
OKLaboklab(72.39% 0.1722 -0.075)
OKLCHoklch(72.39% 0.188 336.5)
XYZxyz(52.0062, 34.2503, 64.1811)
Luminance0.3425 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71D1 #71EC8C
analogous
#CA71EC #EC71D1 #EC7193
triadic
#EC71D1 #D1EC71 #71D1EC
tetradic
#EC71D1 #ECCA71 #71EC8C #7193EC
square
#EC71D1 #ECCA71 #71EC8C #7193EC
split-complementary
#EC71D1 #93EC71 #71ECCA
monochromatic
#C81BA2 #E53BC0 #EC71D1 #F3A7E2 #FADDF4

Accessibility & contrast

On white

2.68
#EC71D1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#EC71D1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71D1
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71D1#FFFFFF#000000##000000
##EC71D11.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7392D4
Deuteranopia (green-blind)
#96A5CE
Tritanopia (blue-blind)
#F77698
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec71d1;
/* rgb */ color: rgb(236, 113, 209);
/* oklch */ color: oklch(72.4% 0.188 336.5);
Tailwind
colors: {
  custom: {
    50: '#f59edf',
    500: '#ec71d1',
    950: '#000000',
  },
}
SCSS
$custom: #ec71d1;
$custom-light: #f59edf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71d1",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 209
  },
  "hsl": {
    "h": 313.171,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72386,
    "c": 0.18781,
    "h": 336.5
  },
  "luminance": 0.34247
}

Semantic roles & 50–950 ramp

primary
#EC71D1
secondary
#CAEFD2
accent
#D93A0D
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC71D1

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

Preview Lab → · Contrast checker → · Palette generator →

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