#EC74C2#EC74C2

#EC74C2 is a light, vivid pink. Relative luminance 0.342; OKLCH L 72.2% C 0.172 H 342.6°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#EC74C2
RGBrgb(236, 116, 194)
HSLhsl(321, 76%, 69%)
HSVhsv(321, 51%, 93%)
CMYKcmyk(0%, 50.8%, 17.8%, 7.5%)
CIE-LABlab(65.14, 55.43, -19.36)
CIE-LCHlch(65.14, 58.72, 340.75°)
OKLaboklab(72.19% 0.1645 -0.0515)
OKLCHoklch(72.19% 0.172 342.6)
XYZxyz(50.5760, 34.2226, 54.9703)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74C2 #74EC9E
analogous
#DA74EC #EC74C2 #EC7486
triadic
#EC74C2 #C2EC74 #74C2EC
tetradic
#EC74C2 #ECDA74 #74EC9E #7486EC
square
#EC74C2 #ECDA74 #74EC9E #7486EC
split-complementary
#EC74C2 #86EC74 #74ECDA
monochromatic
#CA1C8D #E53EAA #EC74C2 #F3AADA #FBE0F1

Accessibility & contrast

On white

2.68
#EC74C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#EC74C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74C2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74C2#FFFFFF#000000##000000
##EC74C21.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C92C5
Deuteranopia (green-blind)
#9DA5BF
Tritanopia (blue-blind)
#F97592
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec74c2;
/* rgb */ color: rgb(236, 116, 194);
/* oklch */ color: oklch(72.2% 0.172 342.6);
Tailwind
colors: {
  custom: {
    50: '#f5a0d4',
    500: '#ec74c2',
    950: '#000000',
  },
}
SCSS
$custom: #ec74c2;
$custom-light: #f5a0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74c2",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 194
  },
  "hsl": {
    "h": 321,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72186,
    "c": 0.17241,
    "h": 342.6
  },
  "luminance": 0.34219
}

Semantic roles & 50–950 ramp

primary
#EC74C2
secondary
#CCEFD9
accent
#D8540D
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC74C2

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

Preview Lab → · Contrast checker → · Palette generator →

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