#EC71A6#EC71A6

#EC71A6 is a light, vivid pink. Relative luminance 0.324; OKLCH L 70.8% C 0.161 H 354.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#EC71A6
RGBrgb(236, 113, 166)
HSLhsl(334, 76%, 68%)
HSVhsv(334, 52%, 93%)
CMYKcmyk(0%, 52.1%, 29.7%, 7.5%)
CIE-LABlab(63.67, 53.04, -5.67)
CIE-LCHlch(63.67, 53.34, 353.90°)
OKLaboklab(70.79% 0.1608 -0.0143)
OKLCHoklch(70.79% 0.161 354.9)
XYZxyz(47.3821, 32.4007, 39.8275)
Luminance0.3240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71A6 #71ECB7
analogous
#EC71E4 #EC71A6 #EC7971
triadic
#EC71A6 #A6EC71 #71A6EC
tetradic
#EC71A6 #E4EC71 #71ECB7 #7971EC
square
#EC71A6 #E4EC71 #71ECB7 #7971EC
split-complementary
#EC71A6 #71EC79 #71E4EC
monochromatic
#C81B65 #E53B84 #EC71A6 #F3A7C8 #FADDEA

Accessibility & contrast

On white

2.81
#EC71A6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#EC71A6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71A6
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71A6#FFFFFF#000000##000000
##EC71A61.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#828CA8
Deuteranopia (green-blind)
#A2A3A3
Tritanopia (blue-blind)
#FC6A85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec71a6;
/* rgb */ color: rgb(236, 113, 166);
/* oklch */ color: oklch(70.8% 0.161 354.9);
Tailwind
colors: {
  custom: {
    50: '#f59ec0',
    500: '#ec71a6',
    950: '#000000',
  },
}
SCSS
$custom: #ec71a6;
$custom-light: #f59ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71a6",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 166
  },
  "hsl": {
    "h": 334.146,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70788,
    "c": 0.16147,
    "h": 354.9
  },
  "luminance": 0.32396
}

Semantic roles & 50–950 ramp

primary
#EC71A6
secondary
#CAEFDF
accent
#D9810D
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#170F12
muted
#857E81

Preview Lab

Preview with #EC71A6

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

Preview Lab → · Contrast checker → · Palette generator →

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