#EC71D3#EC71D3

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

Color values

HEX#EC71D3
RGBrgb(236, 113, 211)
HSLhsl(312, 76%, 68%)
HSVhsv(312, 52%, 93%)
CMYKcmyk(0%, 52.1%, 10.6%, 7.5%)
CIE-LABlab(65.24, 59.44, -28.76)
CIE-LCHlch(65.24, 66.03, 334.18°)
OKLaboklab(72.47% 0.1726 -0.0778)
OKLCHoklch(72.47% 0.189 335.7)
XYZxyz(52.2553, 34.3500, 65.4933)
Luminance0.3435 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71D3 #71EC8A
analogous
#C771EC #EC71D3 #EC7195
triadic
#EC71D3 #D3EC71 #71D3EC
tetradic
#EC71D3 #ECC771 #71EC8A #7195EC
square
#EC71D3 #ECC771 #71EC8A #7195EC
split-complementary
#EC71D3 #95EC71 #71ECC7
monochromatic
#C81BA5 #E53BC2 #EC71D3 #F3A7E4 #FADDF4

Accessibility & contrast

On white

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

On black

7.87
#EC71D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71D3
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71D3#FFFFFF#000000##000000
##EC71D31.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7293D6
Deuteranopia (green-blind)
#95A5D0
Tritanopia (blue-blind)
#F67798
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec71d3;
/* rgb */ color: rgb(236, 113, 211);
/* oklch */ color: oklch(72.5% 0.189 335.7);
Tailwind
colors: {
  custom: {
    50: '#f59ee0',
    500: '#ec71d3',
    950: '#000000',
  },
}
SCSS
$custom: #ec71d3;
$custom-light: #f59ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71d3",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 211
  },
  "hsl": {
    "h": 312.195,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7247,
    "c": 0.18932,
    "h": 335.7
  },
  "luminance": 0.34346
}

Semantic roles & 50–950 ramp

primary
#EC71D3
secondary
#CAEFD1
accent
#D9360D
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC71D3

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

Preview Lab → · Contrast checker → · Palette generator →

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