#EC74A7#EC74A7

#EC74A7 is a light, vivid pink. Relative luminance 0.331; OKLCH L 71.2% C 0.157 H 355.1°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#EC74A7
RGBrgb(236, 116, 167)
HSLhsl(335, 76%, 69%)
HSVhsv(335, 51%, 93%)
CMYKcmyk(0%, 50.8%, 29.2%, 7.5%)
CIE-LABlab(64.26, 51.73, -5.37)
CIE-LCHlch(64.26, 52.00, 354.07°)
OKLaboklab(71.24% 0.1568 -0.0135)
OKLCHoklch(71.24% 0.157 355.1)
XYZxyz(47.8144, 33.1180, 40.4259)
Luminance0.3311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74A7 #74ECB9
analogous
#EC74E3 #EC74A7 #EC7D74
triadic
#EC74A7 #A7EC74 #74A7EC
tetradic
#EC74A7 #E3EC74 #74ECB9 #7D74EC
square
#EC74A7 #E3EC74 #74ECB9 #7D74EC
split-complementary
#EC74A7 #74EC7D #74E3EC
monochromatic
#CA1C66 #E53E85 #EC74A7 #F3AAC9 #FBE0EB

Accessibility & contrast

On white

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

On black

7.62
#EC74A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74A7
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74A7#FFFFFF#000000##000000
##EC74A71.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#848EA9
Deuteranopia (green-blind)
#A4A4A4
Tritanopia (blue-blind)
#FC6D87
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec74a7;
/* rgb */ color: rgb(236, 116, 167);
/* oklch */ color: oklch(71.2% 0.157 355.1);
Tailwind
colors: {
  custom: {
    50: '#f5a0c1',
    500: '#ec74a7',
    950: '#000000',
  },
}
SCSS
$custom: #ec74a7;
$custom-light: #f5a0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74a7",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 167
  },
  "hsl": {
    "h": 334.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71235,
    "c": 0.15733,
    "h": 355.1
  },
  "luminance": 0.33114
}

Semantic roles & 50–950 ramp

primary
#EC74A7
secondary
#CCEFE1
accent
#D8820D
background
#FFFAFB
surface
#FFF3F7
border
#D7CDD0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC74A7

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

Preview Lab → · Contrast checker → · Palette generator →

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