#EC71C8#EC71C8

#EC71C8 is a light, vivid pink. Relative luminance 0.338; OKLCH L 72.0% C 0.181 H 339.9°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#EC71C8
RGBrgb(236, 113, 200)
HSLhsl(318, 76%, 68%)
HSVhsv(318, 52%, 93%)
CMYKcmyk(0%, 52.1%, 15.3%, 7.5%)
CIE-LABlab(64.82, 57.75, -23.23)
CIE-LCHlch(64.82, 62.24, 338.09°)
OKLaboklab(72.02% 0.1702 -0.0623)
OKLCHoklch(72.02% 0.181 339.9)
XYZxyz(50.9233, 33.8171, 58.4777)
Luminance0.3381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71C8 #71EC95
analogous
#D271EC #EC71C8 #EC718A
triadic
#EC71C8 #C8EC71 #71C8EC
tetradic
#EC71C8 #ECD271 #71EC95 #718AEC
square
#EC71C8 #ECD271 #71EC95 #718AEC
split-complementary
#EC71C8 #8AEC71 #71ECD2
monochromatic
#C81B95 #E53BB3 #EC71C8 #F3A7DD #FADDF2

Accessibility & contrast

On white

2.71
#EC71C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#EC71C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71C8
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71C8#FFFFFF#000000##000000
##EC71C81.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7791CB
Deuteranopia (green-blind)
#99A4C5
Tritanopia (blue-blind)
#F87493
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec71c8;
/* rgb */ color: rgb(236, 113, 200);
/* oklch */ color: oklch(72.0% 0.181 339.9);
Tailwind
colors: {
  custom: {
    50: '#f59ed9',
    500: '#ec71c8',
    950: '#000000',
  },
}
SCSS
$custom: #ec71c8;
$custom-light: #f59ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71c8",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 317.561,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72018,
    "c": 0.18126,
    "h": 339.9
  },
  "luminance": 0.33813
}

Semantic roles & 50–950 ramp

primary
#EC71C8
secondary
#CAEFD5
accent
#D9490D
background
#FFFAFD
surface
#FFF3FA
border
#D7CDD3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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