#EC71C2#EC71C2

#EC71C2 is a light, vivid pink. Relative luminance 0.335; OKLCH L 71.8% C 0.177 H 342.3°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#EC71C2
RGBrgb(236, 113, 194)
HSLhsl(320, 76%, 68%)
HSVhsv(320, 52%, 93%)
CMYKcmyk(0%, 52.1%, 17.8%, 7.5%)
CIE-LABlab(64.60, 56.86, -20.18)
CIE-LCHlch(64.60, 60.33, 340.46°)
OKLaboklab(71.78% 0.1688 -0.0538)
OKLCHoklch(71.78% 0.177 342.3)
XYZxyz(50.2358, 33.5421, 54.8569)
Luminance0.3354 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71C2 #71EC9B
analogous
#D971EC #EC71C2 #EC7184
triadic
#EC71C2 #C2EC71 #71C2EC
tetradic
#EC71C2 #ECD971 #71EC9B #7184EC
square
#EC71C2 #ECD971 #71EC9B #7184EC
split-complementary
#EC71C2 #84EC71 #71ECD9
monochromatic
#C81B8D #E53BAB #EC71C2 #F3A7D9 #FADDF0

Accessibility & contrast

On white

2.72
#EC71C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#EC71C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71C2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71C2#FFFFFF#000000##000000
##EC71C21.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7990C5
Deuteranopia (green-blind)
#9BA4BF
Tritanopia (blue-blind)
#F97291
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec71c2;
/* rgb */ color: rgb(236, 113, 194);
/* oklch */ color: oklch(71.8% 0.177 342.3);
Tailwind
colors: {
  custom: {
    50: '#f59ed4',
    500: '#ec71c2',
    950: '#000000',
  },
}
SCSS
$custom: #ec71c2;
$custom-light: #f59ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71c2",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 320.488,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71783,
    "c": 0.17714,
    "h": 342.3
  },
  "luminance": 0.33538
}

Semantic roles & 50–950 ramp

primary
#EC71C2
secondary
#CAEFD7
accent
#D9520D
background
#FFFAFD
surface
#FFF3FA
border
#D7CDD3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC71C2

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

Preview Lab → · Contrast checker → · Palette generator →

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