#EC74CC#EC74CC

#EC74CC is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.6% C 0.179 H 338.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#EC74CC
RGBrgb(236, 116, 204)
HSLhsl(316, 76%, 69%)
HSVhsv(316, 51%, 93%)
CMYKcmyk(0%, 50.8%, 13.6%, 7.5%)
CIE-LABlab(65.50, 56.94, -24.43)
CIE-LCHlch(65.50, 61.96, 336.78°)
OKLaboklab(72.58% 0.1669 -0.0657)
OKLCHoklch(72.58% 0.179 338.5)
XYZxyz(51.7371, 34.6871, 61.0853)
Luminance0.3468 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74CC #74EC94
analogous
#D074EC #EC74CC #EC7490
triadic
#EC74CC #CCEC74 #74CCEC
tetradic
#EC74CC #ECD074 #74EC94 #7490EC
square
#EC74CC #ECD074 #74EC94 #7490EC
split-complementary
#EC74CC #90EC74 #74ECD0
monochromatic
#CA1C9B #E53EB8 #EC74CC #F3AAE0 #FBE0F4

Accessibility & contrast

On white

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

On black

7.94
#EC74CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74CC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74CC#FFFFFF#000000##000000
##EC74CC1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CF
Deuteranopia (green-blind)
#99A6C9
Tritanopia (blue-blind)
#F77797
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec74cc;
/* rgb */ color: rgb(236, 116, 204);
/* oklch */ color: oklch(72.6% 0.179 338.5);
Tailwind
colors: {
  custom: {
    50: '#f5a0db',
    500: '#ec74cc',
    950: '#000000',
  },
}
SCSS
$custom: #ec74cc;
$custom-light: #f5a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74cc",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 316,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72578,
    "c": 0.17939,
    "h": 338.5
  },
  "luminance": 0.34683
}

Semantic roles & 50–950 ramp

primary
#EC74CC
secondary
#CCEFD6
accent
#D8430D
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC74CC

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

Preview Lab → · Contrast checker → · Palette generator →

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