#EC71AB#EC71AB

#EC71AB is a light, vivid pink. Relative luminance 0.326; OKLCH L 71.0% C 0.164 H 352.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#EC71AB
RGBrgb(236, 113, 171)
HSLhsl(332, 76%, 68%)
HSVhsv(332, 52%, 93%)
CMYKcmyk(0%, 52.1%, 27.5%, 7.5%)
CIE-LABlab(63.83, 53.68, -8.29)
CIE-LCHlch(63.83, 54.32, 351.22°)
OKLaboklab(70.95% 0.1624 -0.0213)
OKLCHoklch(70.95% 0.164 352.5)
XYZxyz(47.8497, 32.5877, 42.2902)
Luminance0.3258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71AB #71ECB2
analogous
#EC71E9 #EC71AB #EC7471
triadic
#EC71AB #ABEC71 #71ABEC
tetradic
#EC71AB #E9EC71 #71ECB2 #7471EC
square
#EC71AB #E9EC71 #71ECB2 #7471EC
split-complementary
#EC71AB #71EC74 #71E9EC
monochromatic
#C81B6C #E53B8B #EC71AB #F3A7CB #FADDEB

Accessibility & contrast

On white

2.79
#EC71AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#EC71AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71AB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71AB#FFFFFF#000000##000000
##EC71AB1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#818DAD
Deuteranopia (green-blind)
#A1A3A8
Tritanopia (blue-blind)
#FB6B87
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec71ab;
/* rgb */ color: rgb(236, 113, 171);
/* oklch */ color: oklch(71.0% 0.164 352.5);
Tailwind
colors: {
  custom: {
    50: '#f59ec4',
    500: '#ec71ab',
    950: '#000000',
  },
}
SCSS
$custom: #ec71ab;
$custom-light: #f59ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71ab",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 331.707,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70953,
    "c": 0.16379,
    "h": 352.5
  },
  "luminance": 0.32583
}

Semantic roles & 50–950 ramp

primary
#EC71AB
secondary
#CAEFDD
accent
#D9790D
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC71AB

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

Preview Lab → · Contrast checker → · Palette generator →

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