#EC71A8#EC71A8

#EC71A8 is a light, vivid pink. Relative luminance 0.325; OKLCH L 70.9% C 0.162 H 354.0°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#EC71A8
RGBrgb(236, 113, 168)
HSLhsl(333, 76%, 68%)
HSVhsv(333, 52%, 93%)
CMYKcmyk(0%, 52.1%, 28.8%, 7.5%)
CIE-LABlab(63.73, 53.29, -6.72)
CIE-LCHlch(63.73, 53.72, 352.81°)
OKLaboklab(70.85% 0.1615 -0.0171)
OKLCHoklch(70.85% 0.162 354)
XYZxyz(47.5670, 32.4746, 40.8013)
Luminance0.3247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71A8 #71ECB5
analogous
#EC71E5 #EC71A8 #EC7771
triadic
#EC71A8 #A8EC71 #71A8EC
tetradic
#EC71A8 #E5EC71 #71ECB5 #7771EC
square
#EC71A8 #E5EC71 #71ECB5 #7771EC
split-complementary
#EC71A8 #71EC77 #71E5EC
monochromatic
#C81B68 #E53B87 #EC71A8 #F3A7C9 #FADDEA

Accessibility & contrast

On white

2.80
#EC71A8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#EC71A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71A8
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71A8#FFFFFF#000000##000000
##EC71A81.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#818DAA
Deuteranopia (green-blind)
#A2A3A5
Tritanopia (blue-blind)
#FC6B86
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec71a8;
/* rgb */ color: rgb(236, 113, 168);
/* oklch */ color: oklch(70.9% 0.162 354.0);
Tailwind
colors: {
  custom: {
    50: '#f59ec1',
    500: '#ec71a8',
    950: '#000000',
  },
}
SCSS
$custom: #ec71a8;
$custom-light: #f59ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71a8",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 168
  },
  "hsl": {
    "h": 333.171,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70853,
    "c": 0.16237,
    "h": 354
  },
  "luminance": 0.3247
}

Semantic roles & 50–950 ramp

primary
#EC71A8
secondary
#CAEFDE
accent
#D97E0D
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#170F12
muted
#857E81

Preview Lab

Preview with #EC71A8

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

Preview Lab → · Contrast checker → · Palette generator →

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