#EC71E3#EC71E3

#EC71E3 is a light, highly saturated purple. Relative luminance 0.352; OKLCH L 73.2% C 0.202 H 330.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#EC71E3
RGBrgb(236, 113, 227)
HSLhsl(304, 76%, 68%)
HSVhsv(304, 52%, 93%)
CMYKcmyk(0%, 52.1%, 3.8%, 7.5%)
CIE-LABlab(65.90, 62.03, -36.66)
CIE-LCHlch(65.90, 72.05, 329.41°)
OKLaboklab(73.17% 0.1754 -0.1003)
OKLCHoklch(73.17% 0.202 330.2)
XYZxyz(54.3619, 35.1926, 76.5877)
Luminance0.3519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71E3 #71EC7A
analogous
#B771EC #EC71E3 #EC71A5
triadic
#EC71E3 #E3EC71 #71E3EC
tetradic
#EC71E3 #ECB771 #71EC7A #71A5EC
square
#EC71E3 #ECB771 #71EC7A #71A5EC
split-complementary
#EC71E3 #A5EC71 #71ECB7
monochromatic
#C81BBB #E53BD8 #EC71E3 #F3A7EE #FADDF8

Accessibility & contrast

On white

2.61
#EC71E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#EC71E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71E3
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71E3#FFFFFF#000000##000000
##EC71E31.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E7
Deuteranopia (green-blind)
#8FA6DF
Tritanopia (blue-blind)
#F47CA0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec71e3;
/* rgb */ color: rgb(236, 113, 227);
/* oklch */ color: oklch(73.2% 0.202 330.2);
Tailwind
colors: {
  custom: {
    50: '#f59fec',
    500: '#ec71e3',
    950: '#000000',
  },
}
SCSS
$custom: #ec71e3;
$custom-light: #f59fec;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71e3",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 227
  },
  "hsl": {
    "h": 304.39,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73173,
    "c": 0.20207,
    "h": 330.2
  },
  "luminance": 0.35189
}

Semantic roles & 50–950 ramp

primary
#EC71E3
secondary
#CAEFCD
accent
#D91C0D
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC71E3

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

Preview Lab → · Contrast checker → · Palette generator →

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