#EC71A2#EC71A2

#EC71A2 is a light, vivid pink. Relative luminance 0.323; OKLCH L 70.7% C 0.160 H 356.9°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#EC71A2
RGBrgb(236, 113, 162)
HSLhsl(336, 76%, 68%)
HSVhsv(336, 52%, 93%)
CMYKcmyk(0%, 52.1%, 31.4%, 7.5%)
CIE-LABlab(63.55, 52.54, -3.56)
CIE-LCHlch(63.55, 52.66, 356.13°)
OKLaboklab(70.66% 0.1596 -0.0087)
OKLCHoklch(70.66% 0.16 356.9)
XYZxyz(47.0209, 32.2562, 37.9251)
Luminance0.3225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71A2 #71ECBB
analogous
#EC71DF #EC71A2 #EC7D71
triadic
#EC71A2 #A2EC71 #71A2EC
tetradic
#EC71A2 #DFEC71 #71ECBB #7D71EC
square
#EC71A2 #DFEC71 #71ECBB #7D71EC
split-complementary
#EC71A2 #71EC7D #71DFEC
monochromatic
#C81B60 #E53B7F #EC71A2 #F3A7C5 #FADDE9

Accessibility & contrast

On white

2.82
#EC71A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#EC71A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71A2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71A2#FFFFFF#000000##000000
##EC71A21.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#838CA4
Deuteranopia (green-blind)
#A3A29F
Tritanopia (blue-blind)
#FC6983
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec71a2;
/* rgb */ color: rgb(236, 113, 162);
/* oklch */ color: oklch(70.7% 0.160 356.9);
Tailwind
colors: {
  custom: {
    50: '#f59ebd',
    500: '#ec71a2',
    950: '#000000',
  },
}
SCSS
$custom: #ec71a2;
$custom-light: #f59ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71a2",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 336.098,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7066,
    "c": 0.15979,
    "h": 356.9
  },
  "luminance": 0.32252
}

Semantic roles & 50–950 ramp

primary
#EC71A2
secondary
#CAEFE0
accent
#D9870D
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180F12
muted
#867E81

Preview Lab

Preview with #EC71A2

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

Preview Lab → · Contrast checker → · Palette generator →

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