#EC71CE#EC71CE

#EC71CE is a light, vivid pink. Relative luminance 0.341; OKLCH L 72.3% C 0.186 H 337.6°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#EC71CE
RGBrgb(236, 113, 206)
HSLhsl(315, 76%, 68%)
HSVhsv(315, 52%, 93%)
CMYKcmyk(0%, 52.1%, 12.7%, 7.5%)
CIE-LABlab(65.04, 58.66, -26.26)
CIE-LCHlch(65.04, 64.27, 335.89°)
OKLaboklab(72.26% 0.1716 -0.0708)
OKLCHoklch(72.26% 0.186 337.6)
XYZxyz(51.6383, 34.1031, 62.2434)
Luminance0.3410 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71CE #71EC8F
analogous
#CC71EC #EC71CE #EC7190
triadic
#EC71CE #CEEC71 #71CEEC
tetradic
#EC71CE #ECCC71 #71EC8F #7190EC
square
#EC71CE #ECCC71 #71EC8F #7190EC
split-complementary
#EC71CE #90EC71 #71ECCC
monochromatic
#C81B9E #E53BBB #EC71CE #F3A7E1 #FADDF3

Accessibility & contrast

On white

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

On black

7.82
#EC71CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71CE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71CE#FFFFFF#000000##000000
##EC71CE1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D1
Deuteranopia (green-blind)
#97A5CB
Tritanopia (blue-blind)
#F77596
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec71ce;
/* rgb */ color: rgb(236, 113, 206);
/* oklch */ color: oklch(72.3% 0.186 337.6);
Tailwind
colors: {
  custom: {
    50: '#f59edd',
    500: '#ec71ce',
    950: '#000000',
  },
}
SCSS
$custom: #ec71ce;
$custom-light: #f59edd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71ce",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 314.634,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72261,
    "c": 0.18557,
    "h": 337.6
  },
  "luminance": 0.34099
}

Semantic roles & 50–950 ramp

primary
#EC71CE
secondary
#CAEFD3
accent
#D93F0D
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC71CE

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

Preview Lab → · Contrast checker → · Palette generator →

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