#EC74A8#EC74A8

#EC74A8 is a light, vivid pink. Relative luminance 0.332; OKLCH L 71.3% C 0.158 H 354.6°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#EC74A8
RGBrgb(236, 116, 168)
HSLhsl(334, 76%, 69%)
HSVhsv(334, 51%, 93%)
CMYKcmyk(0%, 50.8%, 28.8%, 7.5%)
CIE-LABlab(64.29, 51.85, -5.90)
CIE-LCHlch(64.29, 52.19, 353.51°)
OKLaboklab(71.27% 0.1571 -0.0149)
OKLCHoklch(71.27% 0.158 354.6)
XYZxyz(47.9072, 33.1551, 40.9147)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74A8 #74ECB8
analogous
#EC74E4 #EC74A8 #EC7C74
triadic
#EC74A8 #A8EC74 #74A8EC
tetradic
#EC74A8 #E4EC74 #74ECB8 #7C74EC
square
#EC74A8 #E4EC74 #74ECB8 #7C74EC
split-complementary
#EC74A8 #74EC7C #74E4EC
monochromatic
#CA1C67 #E53E86 #EC74A8 #F3AACA #FBE0EB

Accessibility & contrast

On white

2.75
#EC74A8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#EC74A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74A8
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74A8#FFFFFF#000000##000000
##EC74A81.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#848EAA
Deuteranopia (green-blind)
#A4A4A5
Tritanopia (blue-blind)
#FC6E87
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec74a8;
/* rgb */ color: rgb(236, 116, 168);
/* oklch */ color: oklch(71.3% 0.158 354.6);
Tailwind
colors: {
  custom: {
    50: '#f5a0c1',
    500: '#ec74a8',
    950: '#000000',
  },
}
SCSS
$custom: #ec74a8;
$custom-light: #f5a0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74a8",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 168
  },
  "hsl": {
    "h": 334,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71268,
    "c": 0.15778,
    "h": 354.6
  },
  "luminance": 0.33151
}

Semantic roles & 50–950 ramp

primary
#EC74A8
secondary
#CCEFE0
accent
#D8800D
background
#FFFAFB
surface
#FFF3F7
border
#D7CDD0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC74A8

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

Preview Lab → · Contrast checker → · Palette generator →

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