#EC74A5#EC74A5

#EC74A5 is a light, vivid pink. Relative luminance 0.330; OKLCH L 71.2% C 0.156 H 356.1°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#EC74A5
RGBrgb(236, 116, 165)
HSLhsl(336, 76%, 69%)
HSVhsv(336, 51%, 93%)
CMYKcmyk(0%, 50.8%, 30.1%, 7.5%)
CIE-LABlab(64.20, 51.47, -4.32)
CIE-LCHlch(64.20, 51.65, 355.20°)
OKLaboklab(71.17% 0.1561 -0.0107)
OKLCHoklch(71.17% 0.156 356.1)
XYZxyz(47.6310, 33.0446, 39.4597)
Luminance0.3304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74A5 #74ECBB
analogous
#EC74E1 #EC74A5 #EC7F74
triadic
#EC74A5 #A5EC74 #74A5EC
tetradic
#EC74A5 #E1EC74 #74ECBB #7F74EC
square
#EC74A5 #E1EC74 #74ECBB #7F74EC
split-complementary
#EC74A5 #74EC7F #74E1EC
monochromatic
#CA1C63 #E53E82 #EC74A5 #F3AAC8 #FBE0EB

Accessibility & contrast

On white

2.76
#EC74A5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#EC74A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74A5
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74A5#FFFFFF#000000##000000
##EC74A51.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#858EA7
Deuteranopia (green-blind)
#A4A4A2
Tritanopia (blue-blind)
#FC6D86
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec74a5;
/* rgb */ color: rgb(236, 116, 165);
/* oklch */ color: oklch(71.2% 0.156 356.1);
Tailwind
colors: {
  custom: {
    50: '#f59fbf',
    500: '#ec74a5',
    950: '#000000',
  },
}
SCSS
$custom: #ec74a5;
$custom-light: #f59fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74a5",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 165
  },
  "hsl": {
    "h": 335.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71171,
    "c": 0.15647,
    "h": 356.1
  },
  "luminance": 0.3304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC74A5

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

Preview Lab → · Contrast checker → · Palette generator →

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