#EC74B6#EC74B6

#EC74B6 is a light, vivid pink. Relative luminance 0.337; OKLCH L 71.7% C 0.165 H 347.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#EC74B6
RGBrgb(236, 116, 182)
HSLhsl(327, 76%, 69%)
HSVhsv(327, 51%, 93%)
CMYKcmyk(0%, 50.8%, 22.9%, 7.5%)
CIE-LABlab(64.73, 53.72, -13.19)
CIE-LCHlch(64.73, 55.32, 346.20°)
OKLaboklab(71.74% 0.1613 -0.0346)
OKLCHoklch(71.74% 0.165 347.9)
XYZxyz(49.2823, 33.7052, 48.1571)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74B6 #74ECAA
analogous
#E674EC #EC74B6 #EC747A
triadic
#EC74B6 #B6EC74 #74B6EC
tetradic
#EC74B6 #ECE674 #74ECAA #747AEC
square
#EC74B6 #ECE674 #74ECAA #747AEC
split-complementary
#EC74B6 #7AEC74 #74ECE6
monochromatic
#CA1C7C #E53E9A #EC74B6 #F3AAD2 #FBE0EF

Accessibility & contrast

On white

2.71
#EC74B6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#EC74B6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74B6
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74B6#FFFFFF#000000##000000
##EC74B61.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8090B8
Deuteranopia (green-blind)
#A0A5B3
Tritanopia (blue-blind)
#FA718D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec74b6;
/* rgb */ color: rgb(236, 116, 182);
/* oklch */ color: oklch(71.7% 0.165 347.9);
Tailwind
colors: {
  custom: {
    50: '#f5a0cc',
    500: '#ec74b6',
    950: '#000000',
  },
}
SCSS
$custom: #ec74b6;
$custom-light: #f5a0cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74b6",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 182
  },
  "hsl": {
    "h": 327,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71744,
    "c": 0.16496,
    "h": 347.9
  },
  "luminance": 0.33701
}

Semantic roles & 50–950 ramp

primary
#EC74B6
secondary
#CCEFDC
accent
#D8690D
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#170F13
muted
#857F82

Preview Lab

Preview with #EC74B6

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

Preview Lab → · Contrast checker → · Palette generator →

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