#EC71CD#EC71CD

#EC71CD is a light, vivid pink. Relative luminance 0.341; OKLCH L 72.2% C 0.185 H 338.0°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#EC71CD
RGBrgb(236, 113, 205)
HSLhsl(315, 76%, 68%)
HSVhsv(315, 52%, 93%)
CMYKcmyk(0%, 52.1%, 13.1%, 7.5%)
CIE-LABlab(65.01, 58.51, -25.75)
CIE-LCHlch(65.01, 63.92, 336.24°)
OKLaboklab(72.22% 0.1713 -0.0693)
OKLCHoklch(72.22% 0.185 338)
XYZxyz(51.5172, 34.0547, 61.6056)
Luminance0.3405 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71CD #71EC90
analogous
#CD71EC #EC71CD #EC718F
triadic
#EC71CD #CDEC71 #71CDEC
tetradic
#EC71CD #ECCD71 #71EC90 #718FEC
square
#EC71CD #ECCD71 #71EC90 #718FEC
split-complementary
#EC71CD #8FEC71 #71ECCD
monochromatic
#C81B9C #E53BBA #EC71CD #F3A7E0 #FADDF3

Accessibility & contrast

On white

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

On black

7.81
#EC71CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71CD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71CD#FFFFFF#000000##000000
##EC71CD1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7592D0
Deuteranopia (green-blind)
#97A5CA
Tritanopia (blue-blind)
#F77596
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec71cd;
/* rgb */ color: rgb(236, 113, 205);
/* oklch */ color: oklch(72.2% 0.185 338.0);
Tailwind
colors: {
  custom: {
    50: '#f59edc',
    500: '#ec71cd',
    950: '#000000',
  },
}
SCSS
$custom: #ec71cd;
$custom-light: #f59edc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71cd",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 315.122,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7222,
    "c": 0.18484,
    "h": 338
  },
  "luminance": 0.34051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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