#EC71D4#EC71D4

#EC71D4 is a light, vivid pink. Relative luminance 0.344; OKLCH L 72.5% C 0.190 H 335.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#EC71D4
RGBrgb(236, 113, 212)
HSLhsl(312, 76%, 68%)
HSVhsv(312, 52%, 93%)
CMYKcmyk(0%, 52.1%, 10.2%, 7.5%)
CIE-LABlab(65.28, 59.59, -29.26)
CIE-LCHlch(65.28, 66.39, 333.85°)
OKLaboklab(72.51% 0.1728 -0.0792)
OKLCHoklch(72.51% 0.19 335.4)
XYZxyz(52.3811, 34.4003, 66.1556)
Luminance0.3440 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71D4 #71EC89
analogous
#C671EC #EC71D4 #EC7196
triadic
#EC71D4 #D4EC71 #71D4EC
tetradic
#EC71D4 #ECC671 #71EC89 #7196EC
square
#EC71D4 #ECC671 #71EC89 #7196EC
split-complementary
#EC71D4 #96EC71 #71ECC6
monochromatic
#C81BA6 #E53BC4 #EC71D4 #F3A7E4 #FADDF5

Accessibility & contrast

On white

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

On black

7.88
#EC71D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71D4
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71D4#FFFFFF#000000##000000
##EC71D41.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7193D7
Deuteranopia (green-blind)
#95A5D1
Tritanopia (blue-blind)
#F67799
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec71d4;
/* rgb */ color: rgb(236, 113, 212);
/* oklch */ color: oklch(72.5% 0.190 335.4);
Tailwind
colors: {
  custom: {
    50: '#f59ee1',
    500: '#ec71d4',
    950: '#000000',
  },
}
SCSS
$custom: #ec71d4;
$custom-light: #f59ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71d4",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 212
  },
  "hsl": {
    "h": 311.707,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72512,
    "c": 0.19009,
    "h": 335.4
  },
  "luminance": 0.34397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC71D4

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

Preview Lab → · Contrast checker → · Palette generator →

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