#EC71A7#EC71A7

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

Color values

HEX#EC71A7
RGBrgb(236, 113, 167)
HSLhsl(334, 76%, 68%)
HSVhsv(334, 52%, 93%)
CMYKcmyk(0%, 52.1%, 29.2%, 7.5%)
CIE-LABlab(63.70, 53.17, -6.19)
CIE-LCHlch(63.70, 53.53, 353.36°)
OKLaboklab(70.82% 0.1612 -0.0157)
OKLCHoklch(70.82% 0.162 354.4)
XYZxyz(47.4742, 32.4375, 40.3125)
Luminance0.3243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71A7 #71ECB6
analogous
#EC71E4 #EC71A7 #EC7871
triadic
#EC71A7 #A7EC71 #71A7EC
tetradic
#EC71A7 #E4EC71 #71ECB6 #7871EC
square
#EC71A7 #E4EC71 #71ECB6 #7871EC
split-complementary
#EC71A7 #71EC78 #71E4EC
monochromatic
#C81B67 #E53B86 #EC71A7 #F3A7C8 #FADDEA

Accessibility & contrast

On white

2.81
#EC71A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC71A7#FFFFFF#000000##000000
##EC71A71.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#828CA9
Deuteranopia (green-blind)
#A2A3A4
Tritanopia (blue-blind)
#FC6A85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec71a7;
/* rgb */ color: rgb(236, 113, 167);
/* oklch */ color: oklch(70.8% 0.162 354.4);
Tailwind
colors: {
  custom: {
    50: '#f59ec1',
    500: '#ec71a7',
    950: '#000000',
  },
}
SCSS
$custom: #ec71a7;
$custom-light: #f59ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71a7",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 167
  },
  "hsl": {
    "h": 333.659,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7082,
    "c": 0.16192,
    "h": 354.4
  },
  "luminance": 0.32433
}

Semantic roles & 50–950 ramp

primary
#EC71A7
secondary
#CAEFDF
accent
#D97F0D
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#170F12
muted
#857E81

Preview Lab

Preview with #EC71A7

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

Preview Lab → · Contrast checker → · Palette generator →

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