#EC74AC#EC74AC

#EC74AC is a light, vivid pink. Relative luminance 0.333; OKLCH L 71.4% C 0.160 H 352.6°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#EC74AC
RGBrgb(236, 116, 172)
HSLhsl(332, 76%, 69%)
HSVhsv(332, 51%, 93%)
CMYKcmyk(0%, 50.8%, 27.1%, 7.5%)
CIE-LABlab(64.41, 52.37, -7.99)
CIE-LCHlch(64.41, 52.98, 351.32°)
OKLaboklab(71.4% 0.1583 -0.0205)
OKLCHoklch(71.4% 0.16 352.6)
XYZxyz(48.2856, 33.3065, 42.9075)
Luminance0.3330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74AC #74ECB4
analogous
#EC74E8 #EC74AC #EC7874
triadic
#EC74AC #ACEC74 #74ACEC
tetradic
#EC74AC #E8EC74 #74ECB4 #7874EC
square
#EC74AC #E8EC74 #74ECB4 #7874EC
split-complementary
#EC74AC #74EC78 #74E8EC
monochromatic
#CA1C6D #E53E8C #EC74AC #F3AACC #FBE0EC

Accessibility & contrast

On white

2.74
#EC74AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#EC74AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74AC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74AC#FFFFFF#000000##000000
##EC74AC1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#838FAE
Deuteranopia (green-blind)
#A3A4A9
Tritanopia (blue-blind)
#FB6F89
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec74ac;
/* rgb */ color: rgb(236, 116, 172);
/* oklch */ color: oklch(71.4% 0.160 352.6);
Tailwind
colors: {
  custom: {
    50: '#f5a0c4',
    500: '#ec74ac',
    950: '#000000',
  },
}
SCSS
$custom: #ec74ac;
$custom-light: #f5a0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74ac",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 172
  },
  "hsl": {
    "h": 332,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71399,
    "c": 0.15964,
    "h": 352.6
  },
  "luminance": 0.33302
}

Semantic roles & 50–950 ramp

primary
#EC74AC
secondary
#CCEFDF
accent
#D87A0D
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC74AC

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

Preview Lab → · Contrast checker → · Palette generator →

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