#EC71A5#EC71A5

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

Color values

HEX#EC71A5
RGBrgb(236, 113, 165)
HSLhsl(335, 76%, 68%)
HSVhsv(335, 52%, 93%)
CMYKcmyk(0%, 52.1%, 30.1%, 7.5%)
CIE-LABlab(63.64, 52.91, -5.14)
CIE-LCHlch(63.64, 53.16, 354.45°)
OKLaboklab(70.76% 0.1605 -0.0129)
OKLCHoklch(70.76% 0.161 355.4)
XYZxyz(47.2907, 32.3641, 39.3463)
Luminance0.3236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71A5 #71ECB8
analogous
#EC71E3 #EC71A5 #EC7A71
triadic
#EC71A5 #A5EC71 #71A5EC
tetradic
#EC71A5 #E3EC71 #71ECB8 #7A71EC
square
#EC71A5 #E3EC71 #71ECB8 #7A71EC
split-complementary
#EC71A5 #71EC7A #71E3EC
monochromatic
#C81B64 #E53B83 #EC71A5 #F3A7C7 #FADDE9

Accessibility & contrast

On white

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

On black

7.47
#EC71A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71A5
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71A5#FFFFFF#000000##000000
##EC71A51.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#828CA7
Deuteranopia (green-blind)
#A3A3A2
Tritanopia (blue-blind)
#FC6A84
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec71a5;
/* rgb */ color: rgb(236, 113, 165);
/* oklch */ color: oklch(70.8% 0.161 355.4);
Tailwind
colors: {
  custom: {
    50: '#f59ebf',
    500: '#ec71a5',
    950: '#000000',
  },
}
SCSS
$custom: #ec71a5;
$custom-light: #f59ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71a5",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 165
  },
  "hsl": {
    "h": 334.634,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70756,
    "c": 0.16104,
    "h": 355.4
  },
  "luminance": 0.3236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC71A5

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

Preview Lab → · Contrast checker → · Palette generator →

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