#EC71A4#EC71A4

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

Color values

HEX#EC71A4
RGBrgb(236, 113, 164)
HSLhsl(335, 76%, 68%)
HSVhsv(335, 52%, 93%)
CMYKcmyk(0%, 52.1%, 30.5%, 7.5%)
CIE-LABlab(63.61, 52.79, -4.61)
CIE-LCHlch(63.61, 52.99, 355.01°)
OKLaboklab(70.72% 0.1602 -0.0115)
OKLCHoklch(70.72% 0.161 355.9)
XYZxyz(47.2001, 32.3279, 38.8688)
Luminance0.3232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71A4 #71ECB9
analogous
#EC71E1 #EC71A4 #EC7B71
triadic
#EC71A4 #A4EC71 #71A4EC
tetradic
#EC71A4 #E1EC71 #71ECB9 #7B71EC
square
#EC71A4 #E1EC71 #71ECB9 #7B71EC
split-complementary
#EC71A4 #71EC7B #71E1EC
monochromatic
#C81B63 #E53B81 #EC71A4 #F3A7C7 #FADDE9

Accessibility & contrast

On white

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

On black

7.46
#EC71A4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71A4
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71A4#FFFFFF#000000##000000
##EC71A41.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#838CA6
Deuteranopia (green-blind)
#A3A2A1
Tritanopia (blue-blind)
#FC6A84
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec71a4;
/* rgb */ color: rgb(236, 113, 164);
/* oklch */ color: oklch(70.7% 0.161 355.9);
Tailwind
colors: {
  custom: {
    50: '#f59ebe',
    500: '#ec71a4',
    950: '#000000',
  },
}
SCSS
$custom: #ec71a4;
$custom-light: #f59ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71a4",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 164
  },
  "hsl": {
    "h": 335.122,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70723,
    "c": 0.16061,
    "h": 355.9
  },
  "luminance": 0.32323
}

Semantic roles & 50–950 ramp

primary
#EC71A4
secondary
#CAEFE0
accent
#D9840D
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#170F12
muted
#857E81

Preview Lab

Preview with #EC71A4

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

Preview Lab → · Contrast checker → · Palette generator →

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