#EC71D2#EC71D2

#EC71D2 is a light, vivid pink. Relative luminance 0.343; OKLCH L 72.4% C 0.189 H 336.1°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#EC71D2
RGBrgb(236, 113, 210)
HSLhsl(313, 76%, 68%)
HSVhsv(313, 52%, 93%)
CMYKcmyk(0%, 52.1%, 11%, 7.5%)
CIE-LABlab(65.20, 59.28, -28.26)
CIE-LCHlch(65.20, 65.67, 334.51°)
OKLaboklab(72.43% 0.1724 -0.0764)
OKLCHoklch(72.43% 0.189 336.1)
XYZxyz(52.1304, 34.3000, 64.8351)
Luminance0.3430 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71D2 #71EC8B
analogous
#C871EC #EC71D2 #EC7194
triadic
#EC71D2 #D2EC71 #71D2EC
tetradic
#EC71D2 #ECC871 #71EC8B #7194EC
square
#EC71D2 #ECC871 #71EC8B #7194EC
split-complementary
#EC71D2 #94EC71 #71ECC8
monochromatic
#C81BA3 #E53BC1 #EC71D2 #F3A7E3 #FADDF4

Accessibility & contrast

On white

2.67
#EC71D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#EC71D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71D2
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71D2#FFFFFF#000000##000000
##EC71D21.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7293D5
Deuteranopia (green-blind)
#96A5CF
Tritanopia (blue-blind)
#F67798
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec71d2;
/* rgb */ color: rgb(236, 113, 210);
/* oklch */ color: oklch(72.4% 0.189 336.1);
Tailwind
colors: {
  custom: {
    50: '#f59ee0',
    500: '#ec71d2',
    950: '#000000',
  },
}
SCSS
$custom: #ec71d2;
$custom-light: #f59ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71d2",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 312.683,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72428,
    "c": 0.18857,
    "h": 336.1
  },
  "luminance": 0.34296
}

Semantic roles & 50–950 ramp

primary
#EC71D2
secondary
#CAEFD2
accent
#D9380D
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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