#EC74CA#EC74CA

#EC74CA is a light, vivid pink. Relative luminance 0.346; OKLCH L 72.5% C 0.178 H 339.3°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#EC74CA
RGBrgb(236, 116, 202)
HSLhsl(317, 76%, 69%)
HSVhsv(317, 51%, 93%)
CMYKcmyk(0%, 50.8%, 14.4%, 7.5%)
CIE-LABlab(65.43, 56.63, -23.42)
CIE-LCHlch(65.43, 61.28, 337.53°)
OKLaboklab(72.5% 0.1665 -0.0628)
OKLCHoklch(72.5% 0.178 339.3)
XYZxyz(51.4988, 34.5917, 59.8301)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74CA #74EC96
analogous
#D274EC #EC74CA #EC748E
triadic
#EC74CA #CAEC74 #74CAEC
tetradic
#EC74CA #ECD274 #74EC96 #748EEC
square
#EC74CA #ECD274 #74EC96 #748EEC
split-complementary
#EC74CA #8EEC74 #74ECD2
monochromatic
#CA1C99 #E53EB5 #EC74CA #F3AADF #FBE0F3

Accessibility & contrast

On white

2.65
#EC74CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#EC74CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74CA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74CA#FFFFFF#000000##000000
##EC74CA1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#9AA6C7
Tritanopia (blue-blind)
#F77796
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec74ca;
/* rgb */ color: rgb(236, 116, 202);
/* oklch */ color: oklch(72.5% 0.178 339.3);
Tailwind
colors: {
  custom: {
    50: '#f5a0da',
    500: '#ec74ca',
    950: '#000000',
  },
}
SCSS
$custom: #ec74ca;
$custom-light: #f5a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74ca",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 317,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72498,
    "c": 0.17794,
    "h": 339.3
  },
  "luminance": 0.34588
}

Semantic roles & 50–950 ramp

primary
#EC74CA
secondary
#CCEFD6
accent
#D8470D
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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