#EC74C7#EC74C7

#EC74C7 is a light, vivid pink. Relative luminance 0.344; OKLCH L 72.4% C 0.176 H 340.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#EC74C7
RGBrgb(236, 116, 199)
HSLhsl(319, 76%, 69%)
HSVhsv(319, 51%, 93%)
CMYKcmyk(0%, 50.8%, 15.7%, 7.5%)
CIE-LABlab(65.32, 56.18, -21.90)
CIE-LCHlch(65.32, 60.30, 338.70°)
OKLaboklab(72.38% 0.1658 -0.0586)
OKLCHoklch(72.38% 0.176 340.5)
XYZxyz(51.1470, 34.4510, 57.9776)
Luminance0.3445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74C7 #74EC99
analogous
#D574EC #EC74C7 #EC748B
triadic
#EC74C7 #C7EC74 #74C7EC
tetradic
#EC74C7 #ECD574 #74EC99 #748BEC
square
#EC74C7 #ECD574 #74EC99 #748BEC
split-complementary
#EC74C7 #8BEC74 #74ECD5
monochromatic
#CA1C94 #E53EB1 #EC74C7 #F3AADD #FBE0F2

Accessibility & contrast

On white

2.66
#EC74C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#EC74C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74C7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74C7#FFFFFF#000000##000000
##EC74C71.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93CA
Deuteranopia (green-blind)
#9BA6C4
Tritanopia (blue-blind)
#F87694
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec74c7;
/* rgb */ color: rgb(236, 116, 199);
/* oklch */ color: oklch(72.4% 0.176 340.5);
Tailwind
colors: {
  custom: {
    50: '#f5a0d8',
    500: '#ec74c7',
    950: '#000000',
  },
}
SCSS
$custom: #ec74c7;
$custom-light: #f5a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74c7",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 199
  },
  "hsl": {
    "h": 318.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72379,
    "c": 0.17582,
    "h": 340.5
  },
  "luminance": 0.34447
}

Semantic roles & 50–950 ramp

primary
#EC74C7
secondary
#CCEFD7
accent
#D84C0D
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC74C7

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

Preview Lab → · Contrast checker → · Palette generator →

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